.02/06 06:06:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:06:41 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:06:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:06:51 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:07:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:07:02 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:07:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:07:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:07:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:07:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:07:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:07:32 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:07:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:07:42 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:07:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:07:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:08:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:08:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:08:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:08:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:08:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:08:22 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:08:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:08:32 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:08:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:08:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:08:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:08:53 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:09:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:09:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:09:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:09:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:09:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:09:23 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:09:23 Don't have work. 02/06 06:09:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:09:33 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:09:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:09:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:09:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:09:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:10:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:10:03 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:10:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:10:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:10:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:10:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:10:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:10:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:10:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:10:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:10:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:10:54 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:11:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:11:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:11:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:11:14 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:11:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:11:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:11:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:11:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:11:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:11:44 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:11:44 Alarms with pending videos found! 02/06 06:11:44 Next idalarmcra = 383425 02/06 06:11:44 DownloadVideos::DownloadVideoOfAlarm 02/06 06:11:44 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 24 02/06 06:11:44 SAM|20770 02/06 06:11:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_B_Cam2_Event2_20190602_061138_40.mp4|90734| 02/06 06:11:45 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_B_Cam2_Event2_20190602_061138_40.mp4 02/06 06:11:45 Date = 20190602 02/06 06:11:45 Construct from filename date 02/06 06:11:45 Destination: c:\Davantis\CRAServer\\SITE_24\\20190602\\SiteDGS_VA_BERGAMA_B_Cam2_Event2_20190602_061138_40.mp4 02/06 06:11:45 Destination file not found 02/06 06:11:45 http://192.168.23.101:21001/20190602\\SiteDGS_VA_BERGAMA_B_Cam2_Event2_20190602_061138_40.mp4 02/06 06:11:45 c:\Davantis\CRAServer\\SITE_24\\20190602\\SiteDGS_VA_BERGAMA_B_Cam2_Event2_20190602_061138_40.mp4 02/06 06:11:46 DownloadFile ok... checking file destination 02/06 06:11:46 URLDownloadToFile ok 02/06 06:11:46 Video .sig downloaded ok! 02/06 06:11:46 Snapshot .sig downloaded ok! 02/06 06:11:46 Elapsed download time: 00:00:02 02/06 06:11:46 UpdateVideoname 02/06 06:11:46 Updating: idalarmcra = 383425 02/06 06:11:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383425 ORDER BY IDALARMCRA DESC 02/06 06:11:46 Just before Update() 02/06 06:11:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:11:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:11:57 Don't have work. 02/06 06:12:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:12:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:12:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:12:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:12:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:12:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:12:37 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:12:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:12:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:12:47 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:12:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:12:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:13:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:13:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:13:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:13:17 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:13:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:13:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:13:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:13:38 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:13:38 Alarms with pending videos found! 02/06 06:13:38 Next idalarmcra = 383426 02/06 06:13:38 DownloadVideos::DownloadVideoOfAlarm 02/06 06:13:38 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 06:13:38 SAM|1141 02/06 06:13:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_061321_133.mp4|86540| 02/06 06:13:38 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_061321_133.mp4 02/06 06:13:38 Date = 20190602 02/06 06:13:38 Construct from filename date 02/06 06:13:38 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_061321_133.mp4 02/06 06:13:38 Destination file not found 02/06 06:13:38 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_061321_133.mp4 02/06 06:13:38 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_061321_133.mp4 02/06 06:13:38 DownloadFile ok... checking file destination 02/06 06:13:38 URLDownloadToFile ok 02/06 06:13:39 Video .sig downloaded ok! 02/06 06:13:39 Snapshot .sig downloaded ok! 02/06 06:13:39 Elapsed download time: 00:00:01 02/06 06:13:39 UpdateVideoname 02/06 06:13:39 Updating: idalarmcra = 383426 02/06 06:13:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383426 ORDER BY IDALARMCRA DESC 02/06 06:13:39 Just before Update() 02/06 06:13:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:13:49 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:13:49 Don't have work. 02/06 06:13:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:13:59 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:14:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:14:09 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:14:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:14:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:14:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:14:30 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:14:40 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:14:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:14:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:14:50 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:14:50 Alarms with pending videos found! 02/06 06:14:50 Next idalarmcra = 383427 02/06 06:14:50 DownloadVideos::DownloadVideoOfAlarm 02/06 06:14:50 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 24 02/06 06:14:50 SAM|20771 02/06 06:14:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_B_Cam1_Event2_20190602_061438_121.mp4|68446| 02/06 06:14:50 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_B_Cam1_Event2_20190602_061438_121.mp4 02/06 06:14:50 Date = 20190602 02/06 06:14:50 Construct from filename date 02/06 06:14:50 Destination: c:\Davantis\CRAServer\\SITE_24\\20190602\\SiteDGS_VA_BERGAMA_B_Cam1_Event2_20190602_061438_121.mp4 02/06 06:14:50 Destination file not found 02/06 06:14:50 http://192.168.23.101:21001/20190602\\SiteDGS_VA_BERGAMA_B_Cam1_Event2_20190602_061438_121.mp4 02/06 06:14:50 c:\Davantis\CRAServer\\SITE_24\\20190602\\SiteDGS_VA_BERGAMA_B_Cam1_Event2_20190602_061438_121.mp4 02/06 06:14:54 DownloadFile ok... checking file destination 02/06 06:14:54 URLDownloadToFile ok 02/06 06:14:55 Video .sig downloaded ok! 02/06 06:14:55 Snapshot .sig downloaded ok! 02/06 06:14:55 Elapsed download time: 00:00:05 02/06 06:14:55 UpdateVideoname 02/06 06:14:55 Updating: idalarmcra = 383427 02/06 06:14:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383427 ORDER BY IDALARMCRA DESC 02/06 06:14:55 Just before Update() 02/06 06:15:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:15:05 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:15:05 Don't have work. 02/06 06:15:15 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:15:15 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:15:25 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:15:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:15:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:15:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:15:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:15:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:15:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:15:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:16:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:16:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:16:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:16:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:16:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:16:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:16:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:16:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:16:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:16:46 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:16:46 Alarms with pending videos found! 02/06 06:16:46 Next idalarmcra = 383428 02/06 06:16:46 DownloadVideos::DownloadVideoOfAlarm 02/06 06:16:46 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 06:16:46 SAM|10891 02/06 06:16:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_051634_121.mp4|78356| 02/06 06:16:46 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_051634_121.mp4 02/06 06:16:46 Date = 20190602 02/06 06:16:46 Construct from filename date 02/06 06:16:46 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_051634_121.mp4 02/06 06:16:46 Destination file not found 02/06 06:16:46 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_051634_121.mp4 02/06 06:16:46 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_051634_121.mp4 02/06 06:16:48 DownloadFile ok... checking file destination 02/06 06:16:48 URLDownloadToFile ok 02/06 06:16:48 Video .sig downloaded ok! 02/06 06:16:48 Snapshot .sig downloaded ok! 02/06 06:16:48 Elapsed download time: 00:00:02 02/06 06:16:48 UpdateVideoname 02/06 06:16:48 Updating: idalarmcra = 383428 02/06 06:16:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383428 ORDER BY IDALARMCRA DESC 02/06 06:16:48 Just before Update() 02/06 06:16:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:16:58 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:16:58 Don't have work. 02/06 06:17:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:17:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:17:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:17:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:17:29 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:17:29 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:17:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:17:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:17:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:17:49 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:17:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:17:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:18:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:18:09 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:18:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:18:19 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:18:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:18:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:18:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:18:39 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:18:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:18:49 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:18:49 Alarms with pending videos found! 02/06 06:18:49 Next idalarmcra = 383429 02/06 06:18:49 DownloadVideos::DownloadVideoOfAlarm 02/06 06:18:49 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 06:18:49 SAM|1054 02/06 06:18:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_061755_403.mp4|84976| 02/06 06:18:50 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_061755_403.mp4 02/06 06:18:50 Date = 20190602 02/06 06:18:50 Construct from filename date 02/06 06:18:50 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_061755_403.mp4 02/06 06:18:50 Destination file not found 02/06 06:18:50 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_061755_403.mp4 02/06 06:18:50 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_061755_403.mp4 02/06 06:18:50 DownloadFile ok... checking file destination 02/06 06:18:50 URLDownloadToFile ok 02/06 06:18:50 Video .sig downloaded ok! 02/06 06:18:50 Snapshot .sig downloaded ok! 02/06 06:18:50 Elapsed download time: 00:00:01 02/06 06:18:50 UpdateVideoname 02/06 06:18:50 Updating: idalarmcra = 383429 02/06 06:18:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383429 ORDER BY IDALARMCRA DESC 02/06 06:18:50 Just before Update() 02/06 06:19:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:19:01 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:19:01 Alarms with pending videos found! 02/06 06:19:01 Next idalarmcra = 383430 02/06 06:19:01 DownloadVideos::DownloadVideoOfAlarm 02/06 06:19:01 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 06:19:01 SAM|10892 02/06 06:19:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_051847_122.mp4|87436| 02/06 06:19:01 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_051847_122.mp4 02/06 06:19:01 Date = 20190602 02/06 06:19:01 Construct from filename date 02/06 06:19:01 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_051847_122.mp4 02/06 06:19:01 Destination file not found 02/06 06:19:01 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_051847_122.mp4 02/06 06:19:01 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_051847_122.mp4 02/06 06:19:01 DownloadFile ok... checking file destination 02/06 06:19:01 URLDownloadToFile ok 02/06 06:19:02 Video .sig downloaded ok! 02/06 06:19:02 Snapshot .sig downloaded ok! 02/06 06:19:02 Elapsed download time: 00:00:01 02/06 06:19:02 UpdateVideoname 02/06 06:19:02 Updating: idalarmcra = 383430 02/06 06:19:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383430 ORDER BY IDALARMCRA DESC 02/06 06:19:02 Just before Update() 02/06 06:19:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:19:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:19:12 Don't have work. 02/06 06:19:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:19:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:19:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:19:32 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:19:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:19:43 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:19:43 Alarms with pending videos found! 02/06 06:19:43 Next idalarmcra = 383431 02/06 06:19:43 DownloadVideos::DownloadVideoOfAlarm 02/06 06:19:43 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 16 02/06 06:19:43 SAM|4653 02/06 06:19:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_B_Cam2_Event2_20190602_061932_7.mp4|79835| 02/06 06:19:43 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_B_Cam2_Event2_20190602_061932_7.mp4 02/06 06:19:43 Date = 20190602 02/06 06:19:43 Construct from filename date 02/06 06:19:43 Destination: c:\Davantis\CRAServer\\SITE_16\\20190602\\SiteDGS_VA_ACIPAYAM_B_Cam2_Event2_20190602_061932_7.mp4 02/06 06:19:43 Destination file not found 02/06 06:19:43 http://192.168.19.101:21001/20190602\\SiteDGS_VA_ACIPAYAM_B_Cam2_Event2_20190602_061932_7.mp4 02/06 06:19:43 c:\Davantis\CRAServer\\SITE_16\\20190602\\SiteDGS_VA_ACIPAYAM_B_Cam2_Event2_20190602_061932_7.mp4 02/06 06:19:44 DownloadFile ok... checking file destination 02/06 06:19:44 URLDownloadToFile ok 02/06 06:19:44 Video .sig downloaded ok! 02/06 06:19:45 Snapshot .sig downloaded ok! 02/06 06:19:45 Elapsed download time: 00:00:02 02/06 06:19:45 UpdateVideoname 02/06 06:19:45 Updating: idalarmcra = 383431 02/06 06:19:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383431 ORDER BY IDALARMCRA DESC 02/06 06:19:45 Just before Update() 02/06 06:19:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:19:55 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:19:55 Don't have work. 02/06 06:20:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:20:05 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:20:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:20:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:20:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:20:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:20:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:20:35 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:20:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:20:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:20:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:20:55 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:21:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:21:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:21:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:21:16 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:21:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:21:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:21:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:21:36 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:21:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:21:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:21:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:21:56 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:22:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:22:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:22:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:22:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:22:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:22:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:22:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:22:37 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:22:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:22:47 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:22:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:22:57 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:23:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:23:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:23:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:23:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:23:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:23:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:23:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:23:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:23:47 [D] Query(2ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:23:47 [D] Query(7ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:23:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:23:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:24:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:24:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:24:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:24:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:24:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:24:28 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:24:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:24:38 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:24:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:24:48 [D] Query(21ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:24:58 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:24:58 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:24:58 Alarms with pending videos found! 02/06 06:24:58 Next idalarmcra = 383432 02/06 06:24:58 DownloadVideos::DownloadVideoOfAlarm 02/06 06:24:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 06:24:58 SAM|10021 02/06 06:24:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_062454_240.mp4|63951| 02/06 06:24:58 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_062454_240.mp4 02/06 06:24:58 Date = 20190602 02/06 06:24:58 Construct from filename date 02/06 06:24:58 Destination: c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_062454_240.mp4 02/06 06:24:58 Destination file not found 02/06 06:24:58 http://192.168.23.100:21000/20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_062454_240.mp4 02/06 06:24:58 c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_062454_240.mp4 02/06 06:24:59 DownloadFile ok... checking file destination 02/06 06:24:59 URLDownloadToFile ok 02/06 06:25:00 Video .sig downloaded ok! 02/06 06:25:00 Snapshot .sig downloaded ok! 02/06 06:25:00 Elapsed download time: 00:00:02 02/06 06:25:00 UpdateVideoname 02/06 06:25:00 Updating: idalarmcra = 383432 02/06 06:25:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383432 ORDER BY IDALARMCRA DESC 02/06 06:25:00 Just before Update() 02/06 06:25:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:25:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:25:10 Don't have work. 02/06 06:25:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:25:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:25:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:25:30 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:25:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:25:40 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:25:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:25:51 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:26:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:26:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:26:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:26:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:26:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:26:21 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:26:21 Alarms with pending videos found! 02/06 06:26:21 Next idalarmcra = 383433 02/06 06:26:21 DownloadVideos::DownloadVideoOfAlarm 02/06 06:26:21 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 06:26:21 SAM|10022 02/06 06:26:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_062615_241.mp4|79253| 02/06 06:26:21 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_062615_241.mp4 02/06 06:26:21 Date = 20190602 02/06 06:26:21 Construct from filename date 02/06 06:26:21 Destination: c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_062615_241.mp4 02/06 06:26:21 Destination file not found 02/06 06:26:21 http://192.168.23.100:21000/20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_062615_241.mp4 02/06 06:26:21 c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_062615_241.mp4 02/06 06:26:22 DownloadFile ok... checking file destination 02/06 06:26:22 URLDownloadToFile ok 02/06 06:26:23 Video .sig downloaded ok! 02/06 06:26:23 Snapshot .sig downloaded ok! 02/06 06:26:23 Elapsed download time: 00:00:02 02/06 06:26:23 UpdateVideoname 02/06 06:26:23 Updating: idalarmcra = 383433 02/06 06:26:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383433 ORDER BY IDALARMCRA DESC 02/06 06:26:23 Just before Update() 02/06 06:26:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:26:33 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:26:33 Don't have work. 02/06 06:26:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:26:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:26:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:26:53 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:27:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:27:03 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:27:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:27:13 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:27:13 Alarms with pending videos found! 02/06 06:27:13 Next idalarmcra = 383434 02/06 06:27:13 DownloadVideos::DownloadVideoOfAlarm 02/06 06:27:13 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 3 02/06 06:27:13 SAM|174299 02/06 06:27:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SARNIC_Cam33_Event2_20190602_062705_2.mp4|126857| 02/06 06:27:14 FilenameSrc = 20190602\\SiteDGS_VA_SARNIC_Cam33_Event2_20190602_062705_2.mp4 02/06 06:27:14 Date = 20190602 02/06 06:27:14 Construct from filename date 02/06 06:27:14 Destination: c:\Davantis\CRAServer\\SITE_3\\20190602\\SiteDGS_VA_SARNIC_Cam33_Event2_20190602_062705_2.mp4 02/06 06:27:14 Destination file not found 02/06 06:27:14 http://192.168.27.100:21000/20190602\\SiteDGS_VA_SARNIC_Cam33_Event2_20190602_062705_2.mp4 02/06 06:27:14 c:\Davantis\CRAServer\\SITE_3\\20190602\\SiteDGS_VA_SARNIC_Cam33_Event2_20190602_062705_2.mp4 02/06 06:27:15 DownloadFile ok... checking file destination 02/06 06:27:15 URLDownloadToFile ok 02/06 06:27:16 Video .sig downloaded ok! 02/06 06:27:16 Snapshot .sig downloaded ok! 02/06 06:27:16 Elapsed download time: 00:00:03 02/06 06:27:16 UpdateVideoname 02/06 06:27:16 Updating: idalarmcra = 383434 02/06 06:27:16 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383434 ORDER BY IDALARMCRA DESC 02/06 06:27:16 Just before Update() 02/06 06:27:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:27:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:27:26 Don't have work. 02/06 06:27:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:27:36 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:27:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:27:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:27:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:27:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:28:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:28:06 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:28:06 Alarms with pending videos found! 02/06 06:28:06 Next idalarmcra = 383435 02/06 06:28:06 DownloadVideos::DownloadVideoOfAlarm 02/06 06:28:06 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 3 02/06 06:28:06 SAM|174300 02/06 06:28:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SARNIC_Cam33_Event2_20190602_062756_3.mp4|133065| 02/06 06:28:07 FilenameSrc = 20190602\\SiteDGS_VA_SARNIC_Cam33_Event2_20190602_062756_3.mp4 02/06 06:28:07 Date = 20190602 02/06 06:28:07 Construct from filename date 02/06 06:28:07 Destination: c:\Davantis\CRAServer\\SITE_3\\20190602\\SiteDGS_VA_SARNIC_Cam33_Event2_20190602_062756_3.mp4 02/06 06:28:07 Destination file not found 02/06 06:28:07 http://192.168.27.100:21000/20190602\\SiteDGS_VA_SARNIC_Cam33_Event2_20190602_062756_3.mp4 02/06 06:28:07 c:\Davantis\CRAServer\\SITE_3\\20190602\\SiteDGS_VA_SARNIC_Cam33_Event2_20190602_062756_3.mp4 02/06 06:28:09 DownloadFile ok... checking file destination 02/06 06:28:09 URLDownloadToFile ok 02/06 06:28:09 Video .sig downloaded ok! 02/06 06:28:09 Snapshot .sig downloaded ok! 02/06 06:28:09 Elapsed download time: 00:00:03 02/06 06:28:09 UpdateVideoname 02/06 06:28:09 Updating: idalarmcra = 383435 02/06 06:28:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383435 ORDER BY IDALARMCRA DESC 02/06 06:28:09 Just before Update() 02/06 06:28:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:28:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:28:19 Don't have work. 02/06 06:28:29 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:28:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:28:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:28:40 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:28:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:28:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:29:00 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:29:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:29:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:29:10 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:29:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:29:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:29:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:29:30 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:29:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:29:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:29:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:29:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:30:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:30:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:30:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:30:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:30:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:30:21 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:30:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:30:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:30:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:30:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:30:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:30:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:31:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:31:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:31:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:31:11 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:31:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:31:21 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:31:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:31:31 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:31:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:31:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:31:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:31:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:32:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:32:02 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:32:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:32:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:32:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:32:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:32:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:32:32 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:32:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:32:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:32:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:32:52 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:33:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:33:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:33:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:33:12 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:33:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:33:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:33:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:33:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:33:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:33:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:33:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:33:53 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:34:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:34:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:34:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:34:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:34:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:34:23 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:34:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:34:33 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:34:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:34:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:34:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:34:53 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:35:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:35:04 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:35:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:35:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:35:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:35:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:35:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:35:34 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:35:44 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:35:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:35:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:35:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:36:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:36:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:36:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:36:14 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:36:14 Alarms with pending videos found! 02/06 06:36:14 Next idalarmcra = 383436 02/06 06:36:14 DownloadVideos::DownloadVideoOfAlarm 02/06 06:36:14 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 06:36:14 SAM|718 02/06 06:36:15 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_063600_98.mp4|90460| 02/06 06:36:15 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_063600_98.mp4 02/06 06:36:15 Date = 20190602 02/06 06:36:15 Construct from filename date 02/06 06:36:15 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_063600_98.mp4 02/06 06:36:15 Destination file not found 02/06 06:36:15 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_063600_98.mp4 02/06 06:36:15 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_063600_98.mp4 02/06 06:36:15 DownloadFile ok... checking file destination 02/06 06:36:15 URLDownloadToFile ok 02/06 06:36:15 Video .sig downloaded ok! 02/06 06:36:16 Snapshot .sig downloaded ok! 02/06 06:36:16 Elapsed download time: 00:00:02 02/06 06:36:16 UpdateVideoname 02/06 06:36:16 Updating: idalarmcra = 383436 02/06 06:36:16 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383436 ORDER BY IDALARMCRA DESC 02/06 06:36:16 Just before Update() 02/06 06:36:26 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:36:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:36:26 Don't have work. 02/06 06:36:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:36:36 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:36:46 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:36:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:36:56 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:36:56 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:37:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:37:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:37:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:37:16 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:37:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:37:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:37:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:37:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:37:47 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:37:47 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:37:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:37:57 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:37:57 Alarms with pending videos found! 02/06 06:37:57 Next idalarmcra = 383437 02/06 06:37:57 DownloadVideos::DownloadVideoOfAlarm 02/06 06:37:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 06:37:57 SAM|719 02/06 06:37:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_063745_99.mp4|87927| 02/06 06:37:57 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_063745_99.mp4 02/06 06:37:57 Date = 20190602 02/06 06:37:57 Construct from filename date 02/06 06:37:57 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_063745_99.mp4 02/06 06:37:57 Destination file not found 02/06 06:37:57 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_063745_99.mp4 02/06 06:37:57 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_063745_99.mp4 02/06 06:37:57 DownloadFile ok... checking file destination 02/06 06:37:57 URLDownloadToFile ok 02/06 06:37:58 Video .sig downloaded ok! 02/06 06:37:58 Snapshot .sig downloaded ok! 02/06 06:37:58 Elapsed download time: 00:00:01 02/06 06:37:58 UpdateVideoname 02/06 06:37:58 Updating: idalarmcra = 383437 02/06 06:37:58 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383437 ORDER BY IDALARMCRA DESC 02/06 06:37:58 Just before Update() 02/06 06:38:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:38:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:38:08 Don't have work. 02/06 06:38:18 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:38:18 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:38:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:38:28 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:38:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:38:38 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:38:48 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:38:48 [D] Query(20ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:38:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:38:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:39:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:39:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:39:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:39:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:39:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:39:29 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:39:39 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:39:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:39:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:39:49 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:39:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:39:59 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:40:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:40:09 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:40:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:40:19 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:40:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:40:29 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:40:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:40:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:40:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:40:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:41:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:41:00 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:41:00 Alarms with pending videos found! 02/06 06:41:00 Next idalarmcra = 383438 02/06 06:41:00 DownloadVideos::DownloadVideoOfAlarm 02/06 06:41:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 06:41:00 SAM|15962 02/06 06:41:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_064055_4.mp4|36669| 02/06 06:41:00 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_064055_4.mp4 02/06 06:41:00 Date = 20190602 02/06 06:41:00 Construct from filename date 02/06 06:41:00 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_064055_4.mp4 02/06 06:41:00 Destination file not found 02/06 06:41:00 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_064055_4.mp4 02/06 06:41:00 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_064055_4.mp4 02/06 06:41:01 DownloadFile ok... checking file destination 02/06 06:41:01 URLDownloadToFile ok 02/06 06:41:01 Video .sig downloaded ok! 02/06 06:41:01 Snapshot .sig downloaded ok! 02/06 06:41:01 Elapsed download time: 00:00:01 02/06 06:41:01 UpdateVideoname 02/06 06:41:01 Updating: idalarmcra = 383438 02/06 06:41:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383438 ORDER BY IDALARMCRA DESC 02/06 06:41:01 Just before Update() 02/06 06:41:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:41:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:41:11 Don't have work. 02/06 06:41:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:41:21 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:41:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:41:32 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:41:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:41:42 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:41:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:41:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:42:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:42:02 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:42:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:42:12 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:42:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:42:22 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:42:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:42:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:42:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:42:42 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:42:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:42:52 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:43:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:43:02 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:43:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:43:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:43:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:43:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:43:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:43:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:43:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:43:43 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:43:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:43:53 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:44:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:44:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:44:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:44:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:44:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:44:23 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:44:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:44:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:44:43 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:44:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:44:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:44:54 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:45:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:45:04 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:45:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:45:14 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:45:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:45:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:45:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:45:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:45:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:45:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:45:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:45:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:46:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:46:04 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:46:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:46:14 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:46:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:46:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:46:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:46:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:46:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:46:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:46:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:46:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:47:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:47:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:47:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:47:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:47:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:47:25 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:47:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:47:35 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:47:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:47:45 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:47:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:47:55 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:48:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:48:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:48:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:48:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:48:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:48:26 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:48:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:48:36 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:48:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:48:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:48:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:48:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:49:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:49:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:49:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:49:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:49:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:49:26 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:49:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:49:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:49:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:49:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:49:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:49:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:50:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:50:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:50:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:50:17 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:50:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:50:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:50:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:50:37 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:50:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:50:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:50:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:50:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:51:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:51:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:51:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:51:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:51:18 Don't have work. 02/06 06:51:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:51:28 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:51:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:51:38 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:51:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:51:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:51:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:51:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:52:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:52:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:52:18 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:52:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:52:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:52:28 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:52:28 Alarms with pending videos found! 02/06 06:52:28 Next idalarmcra = 383439 02/06 06:52:28 DownloadVideos::DownloadVideoOfAlarm 02/06 06:52:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 06:52:28 SAM|1055 02/06 06:52:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_065127_404.mp4|85560| 02/06 06:52:29 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_065127_404.mp4 02/06 06:52:29 Date = 20190602 02/06 06:52:29 Construct from filename date 02/06 06:52:29 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_065127_404.mp4 02/06 06:52:29 Destination file not found 02/06 06:52:29 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_065127_404.mp4 02/06 06:52:29 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_065127_404.mp4 02/06 06:52:29 DownloadFile ok... checking file destination 02/06 06:52:29 URLDownloadToFile ok 02/06 06:52:29 Video .sig downloaded ok! 02/06 06:52:30 Snapshot .sig downloaded ok! 02/06 06:52:30 Elapsed download time: 00:00:02 02/06 06:52:30 UpdateVideoname 02/06 06:52:30 Updating: idalarmcra = 383439 02/06 06:52:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383439 ORDER BY IDALARMCRA DESC 02/06 06:52:30 Just before Update() 02/06 06:52:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:52:40 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 06:52:40 Don't have work. 02/06 06:52:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:52:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:53:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:53:00 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:53:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:53:10 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:53:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:53:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:53:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:53:30 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:53:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:53:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:53:50 [D] Query(2ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:53:50 [D] Query(10ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:54:00 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:54:01 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:54:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:54:11 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:54:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:54:21 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:54:31 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:54:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:54:41 [D] Query(18ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:54:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:54:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:54:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:55:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:55:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:55:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:55:11 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:55:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:55:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:55:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:55:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:55:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:55:42 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:55:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:55:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:56:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:56:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:56:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:56:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:56:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:56:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:56:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:56:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:56:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:56:42 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:56:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:56:52 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:57:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:57:02 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:57:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:57:13 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:57:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:57:23 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:57:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:57:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:57:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:57:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:57:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:57:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:58:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:58:03 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:58:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:58:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:58:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:58:23 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:58:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:58:33 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:58:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:58:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:58:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:58:54 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:59:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:59:04 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:59:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:59:14 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 06:59:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:59:24 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:59:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:59:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:59:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:59:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 06:59:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 06:59:54 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 5 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:00:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:00:04 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:00:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:00:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:00:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:00:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:00:35 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:00:35 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:00:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:00:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:00:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:00:55 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:01:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:01:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:01:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:01:15 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:01:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:01:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:01:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:01:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:01:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:01:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:01:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:01:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:02:05 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:02:06 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:02:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:02:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:02:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:02:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:02:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:02:36 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:02:36 Alarms with pending videos found! 02/06 07:02:36 Next idalarmcra = 383440 02/06 07:02:36 DownloadVideos::DownloadVideoOfAlarm 02/06 07:02:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 17 02/06 07:02:36 SAM|24364 02/06 07:02:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DENIZLI_A_Cam3_Event2_20190602_070225_36.mp4|105190| 02/06 07:02:36 FilenameSrc = 20190602\\SiteDGS_VA_DENIZLI_A_Cam3_Event2_20190602_070225_36.mp4 02/06 07:02:36 Date = 20190602 02/06 07:02:36 Construct from filename date 02/06 07:02:36 Destination: c:\Davantis\CRAServer\\SITE_17\\20190602\\SiteDGS_VA_DENIZLI_A_Cam3_Event2_20190602_070225_36.mp4 02/06 07:02:36 Destination file not found 02/06 07:02:36 http://192.168.21.100:21000/20190602\\SiteDGS_VA_DENIZLI_A_Cam3_Event2_20190602_070225_36.mp4 02/06 07:02:36 c:\Davantis\CRAServer\\SITE_17\\20190602\\SiteDGS_VA_DENIZLI_A_Cam3_Event2_20190602_070225_36.mp4 02/06 07:02:38 DownloadFile ok... checking file destination 02/06 07:02:38 URLDownloadToFile ok 02/06 07:02:38 Video .sig downloaded ok! 02/06 07:02:38 Snapshot .sig downloaded ok! 02/06 07:02:38 Elapsed download time: 00:00:02 02/06 07:02:38 UpdateVideoname 02/06 07:02:38 Updating: idalarmcra = 383440 02/06 07:02:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383440 ORDER BY IDALARMCRA DESC 02/06 07:02:38 Just before Update() 02/06 07:02:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:02:48 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:02:48 Don't have work. 02/06 07:02:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:02:59 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:03:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:03:09 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:03:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:03:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:03:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:03:29 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:03:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:03:39 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:03:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:03:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:03:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:03:59 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:04:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:04:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:04:19 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:04:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:04:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:04:29 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:04:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:04:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:04:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:04:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:05:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:05:00 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:05:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:05:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:05:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:05:20 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:05:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:05:30 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:05:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:05:40 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:05:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:05:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:06:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:06:00 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:06:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:06:10 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:06:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:06:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:06:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:06:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:06:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:06:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:06:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:06:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:07:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:07:01 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:07:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:07:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:07:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:07:21 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:07:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:07:31 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:07:41 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:07:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:07:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:07:52 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:08:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:08:02 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:08:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:08:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:08:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:08:22 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:08:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:08:32 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:08:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:08:42 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:08:52 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:08:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:09:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:09:02 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:09:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:09:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:09:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:09:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:09:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:09:33 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:09:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:09:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:09:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:09:53 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:10:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:10:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:10:13 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:10:13 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:10:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:10:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:10:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:10:33 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:10:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:10:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:10:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:10:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:11:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:11:04 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:11:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:11:14 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:11:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:11:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:11:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:11:34 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:11:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:11:44 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:11:44 Alarms with pending videos found! 02/06 07:11:44 Next idalarmcra = 383441 02/06 07:11:44 DownloadVideos::DownloadVideoOfAlarm 02/06 07:11:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 07:11:44 SAM|10023 02/06 07:11:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_071137_242.mp4|73940| 02/06 07:11:44 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_071137_242.mp4 02/06 07:11:44 Date = 20190602 02/06 07:11:44 Construct from filename date 02/06 07:11:44 Destination: c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_071137_242.mp4 02/06 07:11:44 Destination file not found 02/06 07:11:44 http://192.168.23.100:21000/20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_071137_242.mp4 02/06 07:11:44 c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_071137_242.mp4 02/06 07:11:45 DownloadFile ok... checking file destination 02/06 07:11:45 URLDownloadToFile ok 02/06 07:11:46 Video .sig downloaded ok! 02/06 07:11:46 Snapshot .sig downloaded ok! 02/06 07:11:46 Elapsed download time: 00:00:02 02/06 07:11:46 UpdateVideoname 02/06 07:11:46 Updating: idalarmcra = 383441 02/06 07:11:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383441 ORDER BY IDALARMCRA DESC 02/06 07:11:46 Just before Update() 02/06 07:11:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:11:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:11:56 Don't have work. 02/06 07:12:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:12:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:12:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:12:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:12:26 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:12:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:12:36 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:12:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:12:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:12:47 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:12:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:12:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:13:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:13:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:13:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:13:17 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:13:27 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:13:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:13:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:13:37 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:13:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:13:47 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:13:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:13:57 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:14:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:14:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:14:17 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:14:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:14:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:14:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:14:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:14:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:14:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:14:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:14:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:14:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:15:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:15:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:15:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:15:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:15:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:15:28 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:15:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:15:38 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:15:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:15:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:15:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:15:59 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:16:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:16:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:16:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:16:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:16:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:16:29 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:16:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:16:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:16:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:16:49 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:16:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:16:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:17:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:17:09 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:17:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:17:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:17:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:17:30 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:17:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:17:40 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:17:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:17:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:18:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:18:00 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:18:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:18:10 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:18:20 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:18:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:18:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:18:30 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:18:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:18:40 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:18:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:18:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:19:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:19:00 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:19:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:19:11 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:19:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:19:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:19:31 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:19:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:19:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:19:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:19:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:19:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:20:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:20:01 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:20:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:20:11 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:20:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:20:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:20:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:20:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:20:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:20:41 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:20:51 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:20:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:21:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:21:02 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:21:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:21:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:21:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:21:22 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:21:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:21:32 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:21:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:21:42 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:21:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:21:52 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:22:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:22:02 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:22:02 Don't have work. 02/06 07:22:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:22:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:22:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:22:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:22:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:22:33 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:22:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:22:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:22:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:22:53 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:23:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:23:03 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:23:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:23:13 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:23:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:23:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:23:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:23:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:23:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:23:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:23:53 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:23:53 [D] Query(20ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:24:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:24:04 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:24:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:24:14 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:24:14 Alarms with pending videos found! 02/06 07:24:14 Next idalarmcra = 383442 02/06 07:24:14 DownloadVideos::DownloadVideoOfAlarm 02/06 07:24:14 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 07:24:14 SAM|15963 02/06 07:24:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 07:24:14 NOK answer received 02/06 07:24:14 UpdateVideoname 02/06 07:24:14 Updating: idalarmcra = 383442 02/06 07:24:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383442 ORDER BY IDALARMCRA DESC 02/06 07:24:14 Just before Update() 02/06 07:24:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:24:24 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:24:24 Alarms with pending videos found! 02/06 07:24:24 Next idalarmcra = 383442 02/06 07:24:24 DownloadVideos::DownloadVideoOfAlarm 02/06 07:24:24 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 07:24:24 SAM|15963 02/06 07:24:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_072419_5.mp4|40838| 02/06 07:24:25 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_072419_5.mp4 02/06 07:24:25 Date = 20190602 02/06 07:24:25 Construct from filename date 02/06 07:24:25 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_072419_5.mp4 02/06 07:24:25 Destination file not found 02/06 07:24:25 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_072419_5.mp4 02/06 07:24:25 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_072419_5.mp4 02/06 07:24:25 DownloadFile ok... checking file destination 02/06 07:24:25 URLDownloadToFile ok 02/06 07:24:29 Video .sig downloaded ok! 02/06 07:24:29 Snapshot .sig downloaded ok! 02/06 07:24:29 Elapsed download time: 00:00:05 02/06 07:24:29 UpdateVideoname 02/06 07:24:29 Updating: idalarmcra = 383442 02/06 07:24:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383442 ORDER BY IDALARMCRA DESC 02/06 07:24:29 Just before Update() 02/06 07:24:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:24:39 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:24:39 Don't have work. 02/06 07:24:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:24:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:24:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:24:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:25:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:25:09 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:25:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:25:19 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:25:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:25:29 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:25:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:25:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:25:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:25:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:26:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:26:00 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:26:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:26:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:26:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:26:20 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:26:30 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:26:30 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:26:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:26:40 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:26:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:26:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:27:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:27:00 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:27:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:27:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:27:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:27:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:27:31 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:27:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:27:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:27:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:27:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:27:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:28:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:28:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:28:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:28:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:28:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:28:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:28:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:28:31 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:28:31 Alarms with pending videos found! 02/06 07:28:31 Next idalarmcra = 383443 02/06 07:28:31 DownloadVideos::DownloadVideoOfAlarm 02/06 07:28:31 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 07:28:31 SAM|22275 02/06 07:28:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_073258_0.mp4|90089| 02/06 07:28:32 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_073258_0.mp4 02/06 07:28:32 Date = 20190602 02/06 07:28:32 Construct from filename date 02/06 07:28:32 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_073258_0.mp4 02/06 07:28:32 Destination file not found 02/06 07:28:32 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_073258_0.mp4 02/06 07:28:32 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_073258_0.mp4 02/06 07:28:33 DownloadFile ok... checking file destination 02/06 07:28:33 URLDownloadToFile ok 02/06 07:28:34 Video .sig downloaded ok! 02/06 07:28:34 Snapshot .sig downloaded ok! 02/06 07:28:34 Elapsed download time: 00:00:03 02/06 07:28:34 UpdateVideoname 02/06 07:28:34 Updating: idalarmcra = 383443 02/06 07:28:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383443 ORDER BY IDALARMCRA DESC 02/06 07:28:34 Just before Update() 02/06 07:28:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:28:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:28:44 Don't have work. 02/06 07:28:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:28:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:29:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:29:04 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:29:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:29:14 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:29:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:29:24 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:29:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:29:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:29:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:29:45 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:29:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:29:55 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:30:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:30:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:30:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:30:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:30:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:30:25 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:30:25 Alarms with pending videos found! 02/06 07:30:25 Next idalarmcra = 383444 02/06 07:30:25 DownloadVideos::DownloadVideoOfAlarm 02/06 07:30:25 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 3 02/06 07:30:25 SAM|174301 02/06 07:30:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SARNIC_Cam31_Event2_20190602_073015_0.mp4|171635| 02/06 07:30:25 FilenameSrc = 20190602\\SiteDGS_VA_SARNIC_Cam31_Event2_20190602_073015_0.mp4 02/06 07:30:25 Date = 20190602 02/06 07:30:25 Construct from filename date 02/06 07:30:25 Destination: c:\Davantis\CRAServer\\SITE_3\\20190602\\SiteDGS_VA_SARNIC_Cam31_Event2_20190602_073015_0.mp4 02/06 07:30:25 Destination file not found 02/06 07:30:25 http://192.168.27.100:21000/20190602\\SiteDGS_VA_SARNIC_Cam31_Event2_20190602_073015_0.mp4 02/06 07:30:25 c:\Davantis\CRAServer\\SITE_3\\20190602\\SiteDGS_VA_SARNIC_Cam31_Event2_20190602_073015_0.mp4 02/06 07:30:29 DownloadFile ok... checking file destination 02/06 07:30:29 URLDownloadToFile ok 02/06 07:30:29 Video .sig downloaded ok! 02/06 07:30:29 Snapshot .sig downloaded ok! 02/06 07:30:29 Elapsed download time: 00:00:04 02/06 07:30:29 UpdateVideoname 02/06 07:30:29 Updating: idalarmcra = 383444 02/06 07:30:29 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383444 ORDER BY IDALARMCRA DESC 02/06 07:30:29 Just before Update() 02/06 07:30:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:30:39 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:30:39 Don't have work. 02/06 07:30:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:30:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:30:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:30:59 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:31:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:31:10 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:31:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:31:20 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:31:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:31:30 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:31:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:31:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:31:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:31:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:32:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:32:00 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:32:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:32:10 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:32:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:32:20 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:32:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:32:30 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:32:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:32:40 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:32:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:32:51 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:33:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:33:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:33:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:33:11 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:33:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:33:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:33:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:33:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:33:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:33:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:33:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:33:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:34:01 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:34:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:34:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:34:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:34:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:34:21 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:34:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:34:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:34:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:34:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:34:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:34:52 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:35:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:35:02 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:35:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:35:12 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:35:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:35:22 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:35:22 Alarms with pending videos found! 02/06 07:35:22 Next idalarmcra = 383445 02/06 07:35:22 DownloadVideos::DownloadVideoOfAlarm 02/06 07:35:22 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 07:35:22 SAM|22276 02/06 07:35:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_073952_2.mp4|92312| 02/06 07:35:22 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_073952_2.mp4 02/06 07:35:22 Date = 20190602 02/06 07:35:22 Construct from filename date 02/06 07:35:22 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_073952_2.mp4 02/06 07:35:22 Destination file not found 02/06 07:35:22 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_073952_2.mp4 02/06 07:35:22 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_073952_2.mp4 02/06 07:35:23 DownloadFile ok... checking file destination 02/06 07:35:23 URLDownloadToFile ok 02/06 07:35:24 Video .sig downloaded ok! 02/06 07:35:24 Snapshot .sig downloaded ok! 02/06 07:35:24 Elapsed download time: 00:00:02 02/06 07:35:24 UpdateVideoname 02/06 07:35:24 Updating: idalarmcra = 383445 02/06 07:35:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383445 ORDER BY IDALARMCRA DESC 02/06 07:35:24 Just before Update() 02/06 07:35:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:35:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:35:34 Don't have work. 02/06 07:35:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:35:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:35:54 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:35:54 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:36:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:36:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:36:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:36:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:36:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:36:25 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:36:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:36:35 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:36:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:36:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:36:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:36:55 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:37:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:37:05 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:37:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:37:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:37:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:37:25 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:37:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:37:35 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:37:45 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:37:46 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:37:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:37:56 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:38:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:38:06 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:38:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:38:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:38:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:38:26 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:38:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:38:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:38:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:38:46 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:38:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:38:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:39:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:39:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:39:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:39:17 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:39:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:39:27 [D] Query(30ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:39:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:39:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:39:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:39:47 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:39:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:39:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:40:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:40:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:40:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:40:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:40:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:40:27 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:40:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:40:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:40:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:40:48 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:40:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:40:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:41:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:41:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:41:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:41:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:41:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:41:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:41:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:41:38 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:41:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:41:48 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:41:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:41:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:42:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:42:08 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:42:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:42:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:42:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:42:29 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:42:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:42:39 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:42:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:42:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:42:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:42:59 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:43:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:43:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:43:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:43:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:43:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:43:29 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:43:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:43:39 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:43:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:43:49 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:43:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:44:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:44:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:44:10 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:44:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:44:20 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:44:30 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:44:30 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:44:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:44:40 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:44:50 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:44:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:45:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:45:00 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:45:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:45:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:45:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:45:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:45:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:45:30 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:45:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:45:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:45:41 Don't have work. 02/06 07:45:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:45:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:46:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:46:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:46:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:46:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:46:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:46:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:46:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:46:31 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:46:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:46:41 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:46:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:46:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:47:01 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:47:01 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:47:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:47:11 [D] Query(20ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:47:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:47:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:47:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:47:32 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:47:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:47:42 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:47:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:47:52 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:48:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:48:02 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:48:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:48:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:48:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:48:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:48:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:48:32 [D] Query(30ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:48:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:48:42 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:48:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:48:53 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:49:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:49:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:49:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:49:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:49:23 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:49:23 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:49:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:49:33 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:49:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:49:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:49:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:49:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:50:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:50:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:50:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:50:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:50:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:50:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:50:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:50:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:50:44 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:50:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:50:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:50:54 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:51:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:51:04 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:51:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:51:14 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:51:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:51:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:51:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:51:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:51:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:51:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:51:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:51:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:52:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:52:04 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:52:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:52:15 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:52:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:52:25 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:52:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:52:35 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:52:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:52:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:52:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:52:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:53:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:53:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:53:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:53:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:53:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:53:25 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:53:35 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:53:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:53:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:53:46 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:53:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:53:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:54:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:54:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:54:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:54:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:54:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:54:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:54:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:54:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:54:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:54:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:54:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:54:56 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:55:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:55:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:55:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:55:17 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:55:17 Alarms with pending videos found! 02/06 07:55:17 Next idalarmcra = 383446 02/06 07:55:17 DownloadVideos::DownloadVideoOfAlarm 02/06 07:55:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 07:55:17 SAM|4676 02/06 07:55:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_075632_118.mp4|109159| 02/06 07:55:17 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_075632_118.mp4 02/06 07:55:17 Date = 20190602 02/06 07:55:17 Construct from filename date 02/06 07:55:17 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_075632_118.mp4 02/06 07:55:17 Destination file not found 02/06 07:55:17 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_075632_118.mp4 02/06 07:55:17 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_075632_118.mp4 02/06 07:55:19 DownloadFile ok... checking file destination 02/06 07:55:19 URLDownloadToFile ok 02/06 07:55:19 Video .sig downloaded ok! 02/06 07:55:20 Snapshot .sig downloaded ok! 02/06 07:55:20 Elapsed download time: 00:00:03 02/06 07:55:20 UpdateVideoname 02/06 07:55:20 Updating: idalarmcra = 383446 02/06 07:55:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383446 ORDER BY IDALARMCRA DESC 02/06 07:55:20 Just before Update() 02/06 07:55:30 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:55:30 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 07:55:30 Don't have work. 02/06 07:55:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:55:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:55:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:55:50 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:56:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:56:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:56:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:56:10 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:56:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:56:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:56:30 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:56:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:56:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:56:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:56:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:56:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:57:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:57:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:57:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:57:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:57:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:57:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:57:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:57:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:57:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:57:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:57:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:57:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:58:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:58:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:58:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:58:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:58:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:58:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:58:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:58:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:58:42 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:58:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 07:58:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:58:52 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:59:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:59:02 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:59:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:59:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:59:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:59:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:59:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:59:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:59:42 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:59:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 07:59:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 07:59:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 6 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:00:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:00:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:00:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:00:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:00:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:00:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:00:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:00:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:00:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:00:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:00:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:00:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:01:03 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:01:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:01:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:01:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:01:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:01:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:01:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:01:34 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:01:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:01:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:01:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:01:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:02:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:02:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:02:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:02:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:02:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:02:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:02:34 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:02:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:02:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:02:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:02:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:02:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:03:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:03:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:03:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:03:15 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:03:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:03:25 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:03:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:03:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:03:45 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:03:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:03:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:03:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:04:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:04:05 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:04:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:04:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:04:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:04:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:04:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:04:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:04:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:04:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:04:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:04:56 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:05:06 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:05:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:05:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:05:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:05:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:05:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:05:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:05:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:05:36 Don't have work. 02/06 08:05:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:05:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:05:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:05:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:06:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:06:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:06:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:06:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:06:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:06:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:06:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:06:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:06:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:06:47 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:06:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:06:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:07:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:07:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:07:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:07:17 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:07:17 Alarms with pending videos found! 02/06 08:07:17 Next idalarmcra = 383447 02/06 08:07:17 DownloadVideos::DownloadVideoOfAlarm 02/06 08:07:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 08:07:17 SAM|1142 02/06 08:07:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_080708_52.mp4|90614| 02/06 08:07:18 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_080708_52.mp4 02/06 08:07:18 Date = 20190602 02/06 08:07:18 Construct from filename date 02/06 08:07:18 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_080708_52.mp4 02/06 08:07:18 Destination file not found 02/06 08:07:18 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_080708_52.mp4 02/06 08:07:18 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_080708_52.mp4 02/06 08:07:18 DownloadFile ok... checking file destination 02/06 08:07:18 URLDownloadToFile ok 02/06 08:07:19 Video .sig downloaded ok! 02/06 08:07:19 Snapshot .sig downloaded ok! 02/06 08:07:19 Elapsed download time: 00:00:02 02/06 08:07:19 UpdateVideoname 02/06 08:07:19 Updating: idalarmcra = 383447 02/06 08:07:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383447 ORDER BY IDALARMCRA DESC 02/06 08:07:19 Just before Update() 02/06 08:07:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:07:29 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:07:29 Don't have work. 02/06 08:07:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:07:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:07:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:07:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:07:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:07:59 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:08:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:08:09 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:08:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:08:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:08:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:08:30 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:08:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:08:40 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:08:50 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:08:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:09:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:09:00 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:09:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:09:10 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:09:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:09:20 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:09:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:09:30 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:09:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:09:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:09:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:09:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:10:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:10:00 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:10:10 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:10:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:10:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:10:21 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:10:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:10:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:10:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:10:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:10:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:10:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:11:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:11:01 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:11:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:11:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:11:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:11:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:11:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:11:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:11:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:11:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:11:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:11:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:12:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:12:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:12:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:12:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:12:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:12:22 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:12:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:12:32 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:12:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:12:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:12:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:12:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:13:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:13:02 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:13:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:13:12 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:13:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:13:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:13:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:13:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:13:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:13:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:13:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:13:53 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:14:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:14:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:14:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:14:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:14:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:14:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:14:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:14:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:14:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:14:43 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:14:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:14:54 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:15:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:15:04 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:15:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:15:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:15:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:15:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:15:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:15:34 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:15:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:15:44 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:15:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:15:54 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:16:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:16:04 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:16:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:16:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:16:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:16:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:16:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:16:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:16:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:16:45 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:16:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:16:55 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:17:05 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:17:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:17:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:17:15 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:17:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:17:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:17:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:17:35 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:17:35 Don't have work. 02/06 08:17:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:17:45 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:17:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:17:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:18:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:18:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:18:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:18:16 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:18:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:18:26 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:18:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:18:36 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:18:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:18:46 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:18:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:18:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:19:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:19:06 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:19:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:19:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:19:26 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:19:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:19:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:19:36 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:19:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:19:46 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:19:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:19:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:20:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:20:07 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:20:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:20:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:20:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:20:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:20:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:20:37 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:20:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:20:47 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:20:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:20:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:21:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:21:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:21:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:21:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:21:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:21:27 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:21:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:21:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:21:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:21:48 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:21:58 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:21:58 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:22:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:22:08 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:22:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:22:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:22:28 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:22:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:22:28 Alarms with pending videos found! 02/06 08:22:28 Next idalarmcra = 383450 02/06 08:22:28 DownloadVideos::DownloadVideoOfAlarm 02/06 08:22:28 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 14 02/06 08:22:28 SAM|18038 02/06 08:22:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_082224_5.mp4|84352| 02/06 08:22:28 FilenameSrc = 20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_082224_5.mp4 02/06 08:22:28 Date = 20190602 02/06 08:22:28 Construct from filename date 02/06 08:22:28 Destination: c:\Davantis\CRAServer\\SITE_14\\20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_082224_5.mp4 02/06 08:22:28 Destination file not found 02/06 08:22:28 http://192.168.33.101:21001/20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_082224_5.mp4 02/06 08:22:28 c:\Davantis\CRAServer\\SITE_14\\20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_082224_5.mp4 02/06 08:22:29 DownloadFile ok... checking file destination 02/06 08:22:29 URLDownloadToFile ok 02/06 08:22:30 Video .sig downloaded ok! 02/06 08:22:30 Snapshot .sig downloaded ok! 02/06 08:22:30 Elapsed download time: 00:00:02 02/06 08:22:30 UpdateVideoname 02/06 08:22:30 Updating: idalarmcra = 383450 02/06 08:22:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383450 ORDER BY IDALARMCRA DESC 02/06 08:22:30 Just before Update() 02/06 08:22:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:22:40 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:22:40 Don't have work. 02/06 08:22:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:22:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:23:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:23:00 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:23:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:23:10 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:23:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:23:20 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:23:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:23:31 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:23:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:23:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:23:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:23:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:24:01 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:24:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:24:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:24:11 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:24:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:24:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:24:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:24:31 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:24:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:24:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:24:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:24:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:25:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:25:02 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:25:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:25:12 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:25:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:25:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:25:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:25:32 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:25:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:25:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:25:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:25:52 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:25:52 Alarms with pending videos found! 02/06 08:25:52 Next idalarmcra = 383451 02/06 08:25:52 DownloadVideos::DownloadVideoOfAlarm 02/06 08:25:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 08:25:52 SAM|1056 02/06 08:25:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_082456_158.mp4|94195| 02/06 08:25:52 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_082456_158.mp4 02/06 08:25:52 Date = 20190602 02/06 08:25:52 Construct from filename date 02/06 08:25:52 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_082456_158.mp4 02/06 08:25:52 Destination file not found 02/06 08:25:52 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_082456_158.mp4 02/06 08:25:52 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_082456_158.mp4 02/06 08:25:53 DownloadFile ok... checking file destination 02/06 08:25:53 URLDownloadToFile ok 02/06 08:25:53 Video .sig downloaded ok! 02/06 08:25:53 Snapshot .sig downloaded ok! 02/06 08:25:53 Elapsed download time: 00:00:01 02/06 08:25:53 UpdateVideoname 02/06 08:25:53 Updating: idalarmcra = 383451 02/06 08:25:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383451 ORDER BY IDALARMCRA DESC 02/06 08:25:53 Just before Update() 02/06 08:26:03 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:26:03 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:26:03 Don't have work. 02/06 08:26:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:26:13 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:26:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:26:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:26:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:26:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:26:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:26:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:26:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:26:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:27:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:27:04 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:27:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:27:14 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:27:24 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:27:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:27:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:27:34 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:27:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:27:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:27:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:27:54 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:28:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:28:04 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:28:15 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:28:15 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:28:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:28:25 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:28:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:28:35 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:28:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:28:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:28:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:28:55 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:29:05 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:29:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:29:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:29:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:29:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:29:25 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:29:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:29:35 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:29:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:29:46 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:29:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:29:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:30:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:30:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:30:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:30:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:30:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:30:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:30:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:30:36 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:30:36 Alarms with pending videos found! 02/06 08:30:36 Next idalarmcra = 383455 02/06 08:30:36 DownloadVideos::DownloadVideoOfAlarm 02/06 08:30:36 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 08:30:36 SAM|22277 02/06 08:30:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_083457_3.mp4|95762| 02/06 08:30:37 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_083457_3.mp4 02/06 08:30:37 Date = 20190602 02/06 08:30:37 Construct from filename date 02/06 08:30:37 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_083457_3.mp4 02/06 08:30:37 Destination file not found 02/06 08:30:37 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_083457_3.mp4 02/06 08:30:37 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_083457_3.mp4 02/06 08:30:38 DownloadFile ok... checking file destination 02/06 08:30:38 URLDownloadToFile ok 02/06 08:30:38 Video .sig downloaded ok! 02/06 08:30:38 Snapshot .sig downloaded ok! 02/06 08:30:38 Elapsed download time: 00:00:02 02/06 08:30:38 UpdateVideoname 02/06 08:30:38 Updating: idalarmcra = 383455 02/06 08:30:38 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383455 ORDER BY IDALARMCRA DESC 02/06 08:30:38 Just before Update() 02/06 08:30:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:30:49 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:30:49 Don't have work. 02/06 08:30:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:30:59 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:31:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:31:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:31:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:31:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:31:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:31:29 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:31:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:31:39 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:31:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:31:49 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:31:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:31:59 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:32:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:32:09 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:32:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:32:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:32:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:32:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:32:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:32:40 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:32:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:32:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:33:00 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:33:00 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:33:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:33:10 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:33:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:33:20 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:33:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:33:30 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:33:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:33:40 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:33:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:33:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:34:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:34:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:34:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:34:10 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:34:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:34:21 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:34:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:34:31 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:34:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:34:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:34:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:34:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:35:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:35:01 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:35:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:35:11 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:35:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:35:21 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:35:31 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:35:31 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:35:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:35:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:35:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:35:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:36:01 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:36:01 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:36:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:36:12 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:36:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:36:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:36:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:36:32 [D] Query(28ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:36:32 Alarms with pending videos found! 02/06 08:36:32 Next idalarmcra = 383458 02/06 08:36:32 DownloadVideos::DownloadVideoOfAlarm 02/06 08:36:32 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 7 02/06 08:36:32 SAM|54462 02/06 08:36:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BORNOVA__A_Cam1_Event2_20190602_083623_21.mp4|77584| 02/06 08:36:32 FilenameSrc = 20190602\\SiteDGS_VA_BORNOVA__A_Cam1_Event2_20190602_083623_21.mp4 02/06 08:36:32 Date = 20190602 02/06 08:36:32 Construct from filename date 02/06 08:36:32 Destination: c:\Davantis\CRAServer\\SITE_7\\20190602\\SiteDGS_VA_BORNOVA__A_Cam1_Event2_20190602_083623_21.mp4 02/06 08:36:32 Destination file not found 02/06 08:36:32 http://192.168.24.100:21000/20190602\\SiteDGS_VA_BORNOVA__A_Cam1_Event2_20190602_083623_21.mp4 02/06 08:36:32 c:\Davantis\CRAServer\\SITE_7\\20190602\\SiteDGS_VA_BORNOVA__A_Cam1_Event2_20190602_083623_21.mp4 02/06 08:36:33 DownloadFile ok... checking file destination 02/06 08:36:33 URLDownloadToFile ok 02/06 08:36:33 Video .sig downloaded ok! 02/06 08:36:34 Snapshot .sig downloaded ok! 02/06 08:36:34 Elapsed download time: 00:00:02 02/06 08:36:34 UpdateVideoname 02/06 08:36:34 Updating: idalarmcra = 383458 02/06 08:36:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383458 ORDER BY IDALARMCRA DESC 02/06 08:36:34 Just before Update() 02/06 08:36:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:36:44 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:36:44 Don't have work. 02/06 08:36:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:36:54 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:37:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:37:04 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:37:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:37:14 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:37:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:37:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:37:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:37:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:37:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:37:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:37:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:37:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:38:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:38:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:38:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:38:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:38:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:38:25 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:38:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:38:35 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:38:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:38:45 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:38:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:38:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:39:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:39:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:39:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:39:15 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:39:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:39:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:39:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:39:36 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:39:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:39:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:39:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:39:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:40:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:40:06 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:40:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:40:16 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:40:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:40:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:40:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:40:36 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:40:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:40:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:40:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:40:56 [D] Query(33ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:41:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:41:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:41:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:41:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:41:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:41:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:41:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:41:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:41:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:41:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:41:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:41:57 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:42:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:42:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:42:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:42:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:42:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:42:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:42:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:42:38 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:42:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:42:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:42:58 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:42:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:43:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:43:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:43:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:43:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:43:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:43:28 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:43:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:43:38 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:43:38 Alarms with pending videos found! 02/06 08:43:38 Next idalarmcra = 383460 02/06 08:43:38 DownloadVideos::DownloadVideoOfAlarm 02/06 08:43:38 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 08:43:38 SAM|4677 02/06 08:43:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_084447_119.mp4|109865| 02/06 08:43:39 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_084447_119.mp4 02/06 08:43:39 Date = 20190602 02/06 08:43:39 Construct from filename date 02/06 08:43:39 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_084447_119.mp4 02/06 08:43:39 Destination file not found 02/06 08:43:39 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_084447_119.mp4 02/06 08:43:39 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_084447_119.mp4 02/06 08:43:41 DownloadFile ok... checking file destination 02/06 08:43:41 URLDownloadToFile ok 02/06 08:43:41 Video .sig downloaded ok! 02/06 08:43:42 Snapshot .sig downloaded ok! 02/06 08:43:42 Elapsed download time: 00:00:04 02/06 08:43:42 UpdateVideoname 02/06 08:43:42 Updating: idalarmcra = 383460 02/06 08:43:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383460 ORDER BY IDALARMCRA DESC 02/06 08:43:42 Just before Update() 02/06 08:43:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:43:52 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:43:52 Alarms with pending videos found! 02/06 08:43:52 Next idalarmcra = 383462 02/06 08:43:52 DownloadVideos::DownloadVideoOfAlarm 02/06 08:43:52 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 14 02/06 08:43:52 SAM|18039 02/06 08:43:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 08:43:52 NOK answer received 02/06 08:43:52 UpdateVideoname 02/06 08:43:52 Updating: idalarmcra = 383462 02/06 08:43:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383462 ORDER BY IDALARMCRA DESC 02/06 08:43:52 Just before Update() 02/06 08:43:52 Next idalarmcra = 383461 02/06 08:43:52 DownloadVideos::DownloadVideoOfAlarm 02/06 08:43:52 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 08:43:52 SAM|1143 02/06 08:43:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_084340_53.mp4|107030| 02/06 08:43:52 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_084340_53.mp4 02/06 08:43:52 Date = 20190602 02/06 08:43:52 Construct from filename date 02/06 08:43:52 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_084340_53.mp4 02/06 08:43:52 Destination file not found 02/06 08:43:52 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_084340_53.mp4 02/06 08:43:52 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_084340_53.mp4 02/06 08:43:53 DownloadFile ok... checking file destination 02/06 08:43:53 URLDownloadToFile ok 02/06 08:43:53 Video .sig downloaded ok! 02/06 08:43:53 Snapshot .sig downloaded ok! 02/06 08:43:53 Elapsed download time: 00:00:01 02/06 08:43:53 UpdateVideoname 02/06 08:43:53 Updating: idalarmcra = 383461 02/06 08:43:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383461 ORDER BY IDALARMCRA DESC 02/06 08:43:53 Just before Update() 02/06 08:44:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:44:03 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:44:03 Alarms with pending videos found! 02/06 08:44:03 Next idalarmcra = 383462 02/06 08:44:03 DownloadVideos::DownloadVideoOfAlarm 02/06 08:44:03 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 14 02/06 08:44:03 SAM|18039 02/06 08:44:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_084350_6.mp4|90959| 02/06 08:44:04 FilenameSrc = 20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_084350_6.mp4 02/06 08:44:04 Date = 20190602 02/06 08:44:04 Construct from filename date 02/06 08:44:04 Destination: c:\Davantis\CRAServer\\SITE_14\\20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_084350_6.mp4 02/06 08:44:04 Destination file not found 02/06 08:44:04 http://192.168.33.101:21001/20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_084350_6.mp4 02/06 08:44:04 c:\Davantis\CRAServer\\SITE_14\\20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_084350_6.mp4 02/06 08:44:05 DownloadFile ok... checking file destination 02/06 08:44:05 URLDownloadToFile ok 02/06 08:44:05 Video .sig downloaded ok! 02/06 08:44:05 Snapshot .sig downloaded ok! 02/06 08:44:05 Elapsed download time: 00:00:02 02/06 08:44:05 UpdateVideoname 02/06 08:44:05 Updating: idalarmcra = 383462 02/06 08:44:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383462 ORDER BY IDALARMCRA DESC 02/06 08:44:05 Just before Update() 02/06 08:44:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:44:15 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:44:15 Don't have work. 02/06 08:44:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:44:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:44:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:44:36 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:44:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:44:46 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:44:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:44:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:45:06 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:45:06 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:45:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:45:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:45:26 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:45:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:45:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:45:36 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:45:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:45:46 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:45:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:45:56 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:46:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:46:07 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:46:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:46:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:46:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:46:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:46:37 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:46:37 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:46:37 Alarms with pending videos found! 02/06 08:46:37 Next idalarmcra = 383463 02/06 08:46:37 DownloadVideos::DownloadVideoOfAlarm 02/06 08:46:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 08:46:37 SAM|6091 02/06 08:46:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_084631_17.mp4|106040| 02/06 08:46:37 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_084631_17.mp4 02/06 08:46:37 Date = 20190602 02/06 08:46:37 Construct from filename date 02/06 08:46:37 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_084631_17.mp4 02/06 08:46:37 Destination file not found 02/06 08:46:37 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_084631_17.mp4 02/06 08:46:37 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_084631_17.mp4 02/06 08:46:40 DownloadFile ok... checking file destination 02/06 08:46:40 URLDownloadToFile ok 02/06 08:46:41 Video .sig downloaded ok! 02/06 08:46:41 Snapshot .sig downloaded ok! 02/06 08:46:41 Elapsed download time: 00:00:04 02/06 08:46:41 UpdateVideoname 02/06 08:46:41 Updating: idalarmcra = 383463 02/06 08:46:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383463 ORDER BY IDALARMCRA DESC 02/06 08:46:41 Just before Update() 02/06 08:46:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:46:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:46:51 Don't have work. 02/06 08:47:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:47:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:47:11 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:47:12 [D] Query(20ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:47:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:47:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:47:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:47:32 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:47:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:47:42 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:47:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:47:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:48:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:48:02 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:48:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:48:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:48:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:48:22 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:48:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:48:32 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:48:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:48:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:48:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:48:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:49:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:49:03 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:49:13 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:49:13 [D] Query(30ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:49:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:49:23 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:49:23 Alarms with pending videos found! 02/06 08:49:23 Next idalarmcra = 383464 02/06 08:49:23 DownloadVideos::DownloadVideoOfAlarm 02/06 08:49:23 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 08:49:23 SAM|6092 02/06 08:49:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_084918_18.mp4|102257| 02/06 08:49:23 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_084918_18.mp4 02/06 08:49:23 Date = 20190602 02/06 08:49:23 Construct from filename date 02/06 08:49:23 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_084918_18.mp4 02/06 08:49:23 Destination file not found 02/06 08:49:23 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_084918_18.mp4 02/06 08:49:23 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_084918_18.mp4 02/06 08:49:25 DownloadFile ok... checking file destination 02/06 08:49:25 URLDownloadToFile ok 02/06 08:49:26 Video .sig downloaded ok! 02/06 08:49:26 Snapshot .sig downloaded ok! 02/06 08:49:26 Elapsed download time: 00:00:03 02/06 08:49:26 UpdateVideoname 02/06 08:49:26 Updating: idalarmcra = 383464 02/06 08:49:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383464 ORDER BY IDALARMCRA DESC 02/06 08:49:26 Just before Update() 02/06 08:49:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:49:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:49:36 Don't have work. 02/06 08:49:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:49:46 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:49:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:49:56 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:50:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:50:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:50:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:50:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:50:26 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:50:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:50:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:50:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:50:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:50:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:50:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:50:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:51:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:51:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:51:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:51:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:51:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:51:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:51:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:51:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:51:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:51:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:51:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:51:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:52:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:52:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:52:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:52:18 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:52:28 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:52:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:52:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:52:38 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:52:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:52:48 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:52:58 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:52:58 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:52:58 Alarms with pending videos found! 02/06 08:52:58 Next idalarmcra = 383465 02/06 08:52:58 DownloadVideos::DownloadVideoOfAlarm 02/06 08:52:58 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 08:52:58 SAM|6093 02/06 08:52:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 08:52:58 NOK answer received 02/06 08:52:59 UpdateVideoname 02/06 08:52:59 Updating: idalarmcra = 383465 02/06 08:52:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383465 ORDER BY IDALARMCRA DESC 02/06 08:52:59 Just before Update() 02/06 08:53:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:53:09 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:53:09 Alarms with pending videos found! 02/06 08:53:09 Next idalarmcra = 383465 02/06 08:53:09 DownloadVideos::DownloadVideoOfAlarm 02/06 08:53:09 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 08:53:09 SAM|6093 02/06 08:53:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085254_19.mp4|105980| 02/06 08:53:09 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085254_19.mp4 02/06 08:53:09 Date = 20190602 02/06 08:53:09 Construct from filename date 02/06 08:53:09 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085254_19.mp4 02/06 08:53:09 Destination file not found 02/06 08:53:09 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085254_19.mp4 02/06 08:53:09 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085254_19.mp4 02/06 08:53:12 DownloadFile ok... checking file destination 02/06 08:53:12 URLDownloadToFile ok 02/06 08:53:12 Video .sig downloaded ok! 02/06 08:53:12 Snapshot .sig downloaded ok! 02/06 08:53:12 Elapsed download time: 00:00:03 02/06 08:53:12 UpdateVideoname 02/06 08:53:12 Updating: idalarmcra = 383465 02/06 08:53:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383465 ORDER BY IDALARMCRA DESC 02/06 08:53:12 Just before Update() 02/06 08:53:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:53:22 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:53:22 Alarms with pending videos found! 02/06 08:53:22 Next idalarmcra = 383466 02/06 08:53:22 DownloadVideos::DownloadVideoOfAlarm 02/06 08:53:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 08:53:22 SAM|4678 02/06 08:53:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 08:53:22 NOK answer received 02/06 08:53:23 UpdateVideoname 02/06 08:53:23 Updating: idalarmcra = 383466 02/06 08:53:23 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383466 ORDER BY IDALARMCRA DESC 02/06 08:53:23 Just before Update() 02/06 08:53:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:53:33 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:53:33 Alarms with pending videos found! 02/06 08:53:33 Next idalarmcra = 383466 02/06 08:53:33 DownloadVideos::DownloadVideoOfAlarm 02/06 08:53:33 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 08:53:33 SAM|4678 02/06 08:53:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_085444_120.mp4|112744| 02/06 08:53:33 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_085444_120.mp4 02/06 08:53:33 Date = 20190602 02/06 08:53:33 Construct from filename date 02/06 08:53:33 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_085444_120.mp4 02/06 08:53:33 Destination file not found 02/06 08:53:33 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_085444_120.mp4 02/06 08:53:33 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_085444_120.mp4 02/06 08:53:35 DownloadFile ok... checking file destination 02/06 08:53:35 URLDownloadToFile ok 02/06 08:53:35 Video .sig downloaded ok! 02/06 08:53:35 Snapshot .sig downloaded ok! 02/06 08:53:35 Elapsed download time: 00:00:02 02/06 08:53:36 UpdateVideoname 02/06 08:53:36 Updating: idalarmcra = 383466 02/06 08:53:36 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383466 ORDER BY IDALARMCRA DESC 02/06 08:53:36 Rollback executed. 02/06 08:53:36 RecordSet closed. 02/06 08:53:36 CheckDDBB 02/06 08:53:36 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 08:53:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:53:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:53:46 Don't have work. 02/06 08:53:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:53:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:54:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:54:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:54:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:54:16 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:54:16 Alarms with pending videos found! 02/06 08:54:16 Next idalarmcra = 383467 02/06 08:54:16 DownloadVideos::DownloadVideoOfAlarm 02/06 08:54:16 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 08:54:16 SAM|6094 02/06 08:54:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085405_20.mp4|100050| 02/06 08:54:17 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085405_20.mp4 02/06 08:54:17 Date = 20190602 02/06 08:54:17 Construct from filename date 02/06 08:54:17 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085405_20.mp4 02/06 08:54:17 Destination file not found 02/06 08:54:17 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085405_20.mp4 02/06 08:54:17 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085405_20.mp4 02/06 08:54:18 DownloadFile ok... checking file destination 02/06 08:54:18 URLDownloadToFile ok 02/06 08:54:19 Video .sig downloaded ok! 02/06 08:54:19 Snapshot .sig downloaded ok! 02/06 08:54:19 Elapsed download time: 00:00:03 02/06 08:54:19 UpdateVideoname 02/06 08:54:19 Updating: idalarmcra = 383467 02/06 08:54:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383467 ORDER BY IDALARMCRA DESC 02/06 08:54:19 Just before Update() 02/06 08:54:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:54:29 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:54:29 Don't have work. 02/06 08:54:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:54:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:54:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:54:50 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:54:50 Alarms with pending videos found! 02/06 08:54:50 Next idalarmcra = 383469 02/06 08:54:50 DownloadVideos::DownloadVideoOfAlarm 02/06 08:54:50 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 08:54:50 SAM|16945 02/06 08:54:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 08:54:50 NOK answer received 02/06 08:54:50 UpdateVideoname 02/06 08:54:50 Updating: idalarmcra = 383469 02/06 08:54:50 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383469 ORDER BY IDALARMCRA DESC 02/06 08:54:50 Just before Update() 02/06 08:54:50 Next idalarmcra = 383468 02/06 08:54:50 DownloadVideos::DownloadVideoOfAlarm 02/06 08:54:50 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 08:54:50 SAM|22278 02/06 08:54:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_085921_4.mp4|95643| 02/06 08:54:50 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_085921_4.mp4 02/06 08:54:50 Date = 20190602 02/06 08:54:50 Construct from filename date 02/06 08:54:50 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_085921_4.mp4 02/06 08:54:50 Destination file not found 02/06 08:54:50 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_085921_4.mp4 02/06 08:54:50 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_085921_4.mp4 02/06 08:54:52 DownloadFile ok... checking file destination 02/06 08:54:52 URLDownloadToFile ok 02/06 08:54:52 Video .sig downloaded ok! 02/06 08:54:52 Snapshot .sig downloaded ok! 02/06 08:54:52 Elapsed download time: 00:00:02 02/06 08:54:52 UpdateVideoname 02/06 08:54:52 Updating: idalarmcra = 383468 02/06 08:54:52 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383468 ORDER BY IDALARMCRA DESC 02/06 08:54:52 Just before Update() 02/06 08:55:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:55:02 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:55:02 Alarms with pending videos found! 02/06 08:55:02 Next idalarmcra = 383469 02/06 08:55:02 DownloadVideos::DownloadVideoOfAlarm 02/06 08:55:02 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 08:55:02 SAM|16945 02/06 08:55:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_085450_101.mp4|88028| 02/06 08:55:02 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_085450_101.mp4 02/06 08:55:02 Date = 20190602 02/06 08:55:02 Construct from filename date 02/06 08:55:02 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_085450_101.mp4 02/06 08:55:02 Destination file not found 02/06 08:55:02 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_085450_101.mp4 02/06 08:55:02 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_085450_101.mp4 02/06 08:55:04 DownloadFile ok... checking file destination 02/06 08:55:04 URLDownloadToFile ok 02/06 08:55:04 Video .sig downloaded ok! 02/06 08:55:04 Snapshot .sig downloaded ok! 02/06 08:55:04 Elapsed download time: 00:00:02 02/06 08:55:05 UpdateVideoname 02/06 08:55:05 Updating: idalarmcra = 383469 02/06 08:55:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383469 ORDER BY IDALARMCRA DESC 02/06 08:55:05 Just before Update() 02/06 08:55:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:55:15 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:55:15 Don't have work. 02/06 08:55:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:55:25 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:55:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:55:35 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:55:35 Alarms with pending videos found! 02/06 08:55:35 Next idalarmcra = 383470 02/06 08:55:35 DownloadVideos::DownloadVideoOfAlarm 02/06 08:55:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 08:55:35 SAM|6095 02/06 08:55:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085521_21.mp4|106348| 02/06 08:55:36 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085521_21.mp4 02/06 08:55:36 Date = 20190602 02/06 08:55:36 Construct from filename date 02/06 08:55:36 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085521_21.mp4 02/06 08:55:36 Destination file not found 02/06 08:55:36 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085521_21.mp4 02/06 08:55:36 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_085521_21.mp4 02/06 08:55:38 DownloadFile ok... checking file destination 02/06 08:55:38 URLDownloadToFile ok 02/06 08:55:38 Video .sig downloaded ok! 02/06 08:55:39 Snapshot .sig downloaded ok! 02/06 08:55:39 Elapsed download time: 00:00:04 02/06 08:55:39 UpdateVideoname 02/06 08:55:39 Updating: idalarmcra = 383470 02/06 08:55:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383470 ORDER BY IDALARMCRA DESC 02/06 08:55:39 Just before Update() 02/06 08:55:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:55:49 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:55:49 Don't have work. 02/06 08:55:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:55:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:56:09 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:56:09 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:56:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:56:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:56:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:56:29 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:56:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:56:39 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:56:39 Alarms with pending videos found! 02/06 08:56:39 Next idalarmcra = 383471 02/06 08:56:39 DownloadVideos::DownloadVideoOfAlarm 02/06 08:56:40 [D] Query(14ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 08:56:40 SAM|163119 02/06 08:56:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_090918_33.mp4|112666| 02/06 08:56:40 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_090918_33.mp4 02/06 08:56:40 Date = 20190602 02/06 08:56:40 Construct from filename date 02/06 08:56:40 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_090918_33.mp4 02/06 08:56:40 Destination file not found 02/06 08:56:40 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_090918_33.mp4 02/06 08:56:40 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_090918_33.mp4 02/06 08:56:41 DownloadFile ok... checking file destination 02/06 08:56:41 URLDownloadToFile ok 02/06 08:56:41 Video .sig downloaded ok! 02/06 08:56:41 Snapshot .sig downloaded ok! 02/06 08:56:41 Elapsed download time: 00:00:01 02/06 08:56:41 UpdateVideoname 02/06 08:56:41 Updating: idalarmcra = 383471 02/06 08:56:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383471 ORDER BY IDALARMCRA DESC 02/06 08:56:41 Just before Update() 02/06 08:56:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:56:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:56:52 Don't have work. 02/06 08:57:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:57:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:57:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:57:12 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:57:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:57:22 [D] Query(20ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:57:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:57:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:57:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:57:42 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:57:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:57:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:58:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:58:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:58:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:58:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:58:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:58:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 08:58:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:58:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:58:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:58:43 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:58:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:58:53 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:59:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:59:03 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:59:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:59:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:59:23 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:59:23 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:59:23 Alarms with pending videos found! 02/06 08:59:23 Next idalarmcra = 383473 02/06 08:59:23 DownloadVideos::DownloadVideoOfAlarm 02/06 08:59:23 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 08:59:23 SAM|163120 02/06 08:59:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_091205_16.mp4|101570| 02/06 08:59:23 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_091205_16.mp4 02/06 08:59:23 Date = 20190602 02/06 08:59:23 Construct from filename date 02/06 08:59:23 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_091205_16.mp4 02/06 08:59:23 Destination file not found 02/06 08:59:23 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_091205_16.mp4 02/06 08:59:23 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_091205_16.mp4 02/06 08:59:25 DownloadFile ok... checking file destination 02/06 08:59:25 URLDownloadToFile ok 02/06 08:59:25 Video .sig downloaded ok! 02/06 08:59:25 Snapshot .sig downloaded ok! 02/06 08:59:25 Elapsed download time: 00:00:02 02/06 08:59:25 UpdateVideoname 02/06 08:59:25 Updating: idalarmcra = 383473 02/06 08:59:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383473 ORDER BY IDALARMCRA DESC 02/06 08:59:25 Just before Update() 02/06 08:59:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:59:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 08:59:36 Don't have work. 02/06 08:59:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:59:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 08:59:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 08:59:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 7 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:00:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:00:06 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:00:16 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:00:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:00:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:00:26 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:00:26 Alarms with pending videos found! 02/06 09:00:26 Next idalarmcra = 383474 02/06 09:00:26 DownloadVideos::DownloadVideoOfAlarm 02/06 09:00:26 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 09:00:26 SAM|4679 02/06 09:00:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_090144_121.mp4|111574| 02/06 09:00:26 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_090144_121.mp4 02/06 09:00:26 Date = 20190602 02/06 09:00:26 Construct from filename date 02/06 09:00:26 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_090144_121.mp4 02/06 09:00:26 Destination file not found 02/06 09:00:26 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_090144_121.mp4 02/06 09:00:26 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_090144_121.mp4 02/06 09:00:28 DownloadFile ok... checking file destination 02/06 09:00:28 URLDownloadToFile ok 02/06 09:00:28 Video .sig downloaded ok! 02/06 09:00:29 Snapshot .sig downloaded ok! 02/06 09:00:29 Elapsed download time: 00:00:03 02/06 09:00:29 UpdateVideoname 02/06 09:00:29 Updating: idalarmcra = 383474 02/06 09:00:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383474 ORDER BY IDALARMCRA DESC 02/06 09:00:29 Just before Update() 02/06 09:00:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:00:39 [D] Query(34ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:00:39 Don't have work. 02/06 09:00:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:00:49 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:00:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:00:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:01:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:01:09 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:01:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:01:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:01:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:01:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:01:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:01:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:01:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:01:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:02:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:02:00 [D] Query(31ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:02:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:02:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:02:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:02:20 [D] Query(19ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:02:20 Alarms with pending videos found! 02/06 09:02:20 Next idalarmcra = 383475 02/06 09:02:20 DownloadVideos::DownloadVideoOfAlarm 02/06 09:02:20 [D] Query(9ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 09:02:20 SAM|6096 02/06 09:02:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_090213_3.mp4|103333| 02/06 09:02:20 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_090213_3.mp4 02/06 09:02:20 Date = 20190602 02/06 09:02:20 Construct from filename date 02/06 09:02:20 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_090213_3.mp4 02/06 09:02:20 Destination file not found 02/06 09:02:20 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_090213_3.mp4 02/06 09:02:20 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_090213_3.mp4 02/06 09:02:23 DownloadFile ok... checking file destination 02/06 09:02:23 URLDownloadToFile ok 02/06 09:02:24 Video .sig downloaded ok! 02/06 09:02:24 Snapshot .sig downloaded ok! 02/06 09:02:24 Elapsed download time: 00:00:04 02/06 09:02:24 UpdateVideoname 02/06 09:02:24 Updating: idalarmcra = 383475 02/06 09:02:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383475 ORDER BY IDALARMCRA DESC 02/06 09:02:24 Just before Update() 02/06 09:02:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:02:34 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:02:34 Alarms with pending videos found! 02/06 09:02:34 Next idalarmcra = 383476 02/06 09:02:34 DownloadVideos::DownloadVideoOfAlarm 02/06 09:02:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 09:02:34 SAM|6097 02/06 09:02:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_090226_22.mp4|109398| 02/06 09:02:35 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_090226_22.mp4 02/06 09:02:35 Date = 20190602 02/06 09:02:35 Construct from filename date 02/06 09:02:35 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_090226_22.mp4 02/06 09:02:35 Destination file not found 02/06 09:02:35 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_090226_22.mp4 02/06 09:02:35 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_090226_22.mp4 02/06 09:02:37 DownloadFile ok... checking file destination 02/06 09:02:37 URLDownloadToFile ok 02/06 09:02:37 Video .sig downloaded ok! 02/06 09:02:37 Snapshot .sig downloaded ok! 02/06 09:02:37 Elapsed download time: 00:00:03 02/06 09:02:37 UpdateVideoname 02/06 09:02:37 Updating: idalarmcra = 383476 02/06 09:02:37 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383476 ORDER BY IDALARMCRA DESC 02/06 09:02:37 Just before Update() 02/06 09:02:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:02:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:02:47 Don't have work. 02/06 09:02:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:02:58 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:03:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:03:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:03:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:03:18 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:03:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:03:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:03:38 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:03:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:03:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:03:48 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:03:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:03:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:04:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:04:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:04:18 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:04:18 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:04:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:04:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:04:39 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:04:39 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:04:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:04:49 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:04:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:04:59 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:04:59 Alarms with pending videos found! 02/06 09:04:59 Next idalarmcra = 383477 02/06 09:04:59 DownloadVideos::DownloadVideoOfAlarm 02/06 09:04:59 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 09:04:59 SAM|10024 02/06 09:04:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_090453_243.mp4|69160| 02/06 09:04:59 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_090453_243.mp4 02/06 09:04:59 Date = 20190602 02/06 09:04:59 Construct from filename date 02/06 09:04:59 Destination: c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_090453_243.mp4 02/06 09:04:59 Destination file not found 02/06 09:04:59 http://192.168.23.100:21000/20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_090453_243.mp4 02/06 09:04:59 c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_090453_243.mp4 02/06 09:05:00 DownloadFile ok... checking file destination 02/06 09:05:00 URLDownloadToFile ok 02/06 09:05:00 Video .sig downloaded ok! 02/06 09:05:00 Snapshot .sig downloaded ok! 02/06 09:05:00 Elapsed download time: 00:00:01 02/06 09:05:01 UpdateVideoname 02/06 09:05:01 Updating: idalarmcra = 383477 02/06 09:05:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383477 ORDER BY IDALARMCRA DESC 02/06 09:05:01 Just before Update() 02/06 09:05:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:05:11 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:05:11 Don't have work. 02/06 09:05:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:05:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:05:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:05:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:05:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:05:41 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:05:41 Alarms with pending videos found! 02/06 09:05:41 Next idalarmcra = 383478 02/06 09:05:41 DownloadVideos::DownloadVideoOfAlarm 02/06 09:05:41 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 09:05:41 SAM|6098 02/06 09:05:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 09:05:41 NOK answer received 02/06 09:05:42 UpdateVideoname 02/06 09:05:42 Updating: idalarmcra = 383478 02/06 09:05:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383478 ORDER BY IDALARMCRA DESC 02/06 09:05:42 Just before Update() 02/06 09:05:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:05:52 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:05:52 Alarms with pending videos found! 02/06 09:05:52 Next idalarmcra = 383478 02/06 09:05:52 DownloadVideos::DownloadVideoOfAlarm 02/06 09:05:52 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 09:05:52 SAM|6098 02/06 09:05:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_090540_23.mp4|101472| 02/06 09:05:52 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_090540_23.mp4 02/06 09:05:52 Date = 20190602 02/06 09:05:52 Construct from filename date 02/06 09:05:52 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_090540_23.mp4 02/06 09:05:52 Destination file not found 02/06 09:05:52 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_090540_23.mp4 02/06 09:05:52 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_090540_23.mp4 02/06 09:05:55 DownloadFile ok... checking file destination 02/06 09:05:55 URLDownloadToFile ok 02/06 09:05:55 Video .sig downloaded ok! 02/06 09:05:55 Snapshot .sig downloaded ok! 02/06 09:05:55 Elapsed download time: 00:00:03 02/06 09:05:55 UpdateVideoname 02/06 09:05:55 Updating: idalarmcra = 383478 02/06 09:05:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383478 ORDER BY IDALARMCRA DESC 02/06 09:05:55 Just before Update() 02/06 09:06:06 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:06:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:06:06 Don't have work. 02/06 09:06:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:06:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:06:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:06:26 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:06:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:06:36 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:06:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:06:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:06:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:06:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:07:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:07:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:07:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:07:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:07:26 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:07:26 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:07:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:07:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:07:47 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:07:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:07:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:07:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:08:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:08:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:08:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:08:17 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:08:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:08:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:08:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:08:37 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:08:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:08:47 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:08:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:08:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:09:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:09:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:09:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:09:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:09:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:09:28 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:09:38 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:09:38 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:09:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:09:48 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:09:58 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:09:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:10:08 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:10:08 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:10:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:10:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:10:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:10:28 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:10:28 Alarms with pending videos found! 02/06 09:10:28 Next idalarmcra = 383479 02/06 09:10:28 DownloadVideos::DownloadVideoOfAlarm 02/06 09:10:28 [D] Query(14ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 09:10:28 SAM|4680 02/06 09:10:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_091144_122.mp4|108021| 02/06 09:10:29 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_091144_122.mp4 02/06 09:10:29 Date = 20190602 02/06 09:10:29 Construct from filename date 02/06 09:10:29 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_091144_122.mp4 02/06 09:10:29 Destination file not found 02/06 09:10:29 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_091144_122.mp4 02/06 09:10:29 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_091144_122.mp4 02/06 09:10:31 DownloadFile ok... checking file destination 02/06 09:10:31 URLDownloadToFile ok 02/06 09:10:31 Video .sig downloaded ok! 02/06 09:10:31 Snapshot .sig downloaded ok! 02/06 09:10:31 Elapsed download time: 00:00:03 02/06 09:10:32 UpdateVideoname 02/06 09:10:32 Updating: idalarmcra = 383479 02/06 09:10:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383479 ORDER BY IDALARMCRA DESC 02/06 09:10:32 Just before Update() 02/06 09:10:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:10:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:10:42 Don't have work. 02/06 09:10:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:10:52 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:11:02 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:11:02 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:11:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:11:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:11:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:11:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:11:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:11:32 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:11:42 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:11:42 [D] Query(35ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:11:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:11:52 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:12:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:12:03 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:12:13 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:12:13 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:12:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:12:23 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:12:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:12:33 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:12:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:12:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:12:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:12:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:13:03 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:13:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:13:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:13:13 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:13:23 [D] Query(2ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:13:23 [D] Query(10ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:13:33 [D] Query(3ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:13:33 [D] Query(12ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:13:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:13:43 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:13:43 Alarms with pending videos found! 02/06 09:13:43 Next idalarmcra = 383480 02/06 09:13:43 DownloadVideos::DownloadVideoOfAlarm 02/06 09:13:43 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 09:13:43 SAM|6099 02/06 09:13:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_091332_24.mp4|98185| 02/06 09:13:44 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_091332_24.mp4 02/06 09:13:44 Date = 20190602 02/06 09:13:44 Construct from filename date 02/06 09:13:44 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_091332_24.mp4 02/06 09:13:44 Destination file not found 02/06 09:13:44 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_091332_24.mp4 02/06 09:13:44 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_091332_24.mp4 02/06 09:13:46 DownloadFile ok... checking file destination 02/06 09:13:46 URLDownloadToFile ok 02/06 09:13:46 Video .sig downloaded ok! 02/06 09:13:46 Snapshot .sig downloaded ok! 02/06 09:13:46 Elapsed download time: 00:00:03 02/06 09:13:47 UpdateVideoname 02/06 09:13:47 Updating: idalarmcra = 383480 02/06 09:13:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383480 ORDER BY IDALARMCRA DESC 02/06 09:13:47 Just before Update() 02/06 09:13:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:13:57 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:13:57 Don't have work. 02/06 09:14:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:14:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:14:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:14:17 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:14:17 Alarms with pending videos found! 02/06 09:14:17 Next idalarmcra = 383481 02/06 09:14:17 DownloadVideos::DownloadVideoOfAlarm 02/06 09:14:17 [D] Query(15ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 09:14:17 SAM|6100 02/06 09:14:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_091405_25.mp4|109673| 02/06 09:14:17 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_091405_25.mp4 02/06 09:14:17 Date = 20190602 02/06 09:14:17 Construct from filename date 02/06 09:14:17 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_091405_25.mp4 02/06 09:14:17 Destination file not found 02/06 09:14:17 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_091405_25.mp4 02/06 09:14:17 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_091405_25.mp4 02/06 09:14:19 DownloadFile ok... checking file destination 02/06 09:14:19 URLDownloadToFile ok 02/06 09:14:20 Video .sig downloaded ok! 02/06 09:14:20 Snapshot .sig downloaded ok! 02/06 09:14:20 Elapsed download time: 00:00:03 02/06 09:14:20 UpdateVideoname 02/06 09:14:20 Updating: idalarmcra = 383481 02/06 09:14:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383481 ORDER BY IDALARMCRA DESC 02/06 09:14:20 Just before Update() 02/06 09:14:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:14:30 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:14:30 Don't have work. 02/06 09:14:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:14:40 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:14:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:14:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:15:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:15:00 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:15:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:15:11 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:15:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:15:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:15:31 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:15:31 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:15:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:15:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:15:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:15:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:16:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:16:01 [D] Query(21ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:16:11 [D] Query(2ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:16:11 [D] Query(8ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:16:21 [D] Query(3ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:16:21 [D] Query(15ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:16:31 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:16:31 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:16:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:16:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:16:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:16:51 [D] Query(34ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:17:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:17:02 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:17:12 [D] Query(3ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:17:12 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:17:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:17:22 [D] Query(30ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:17:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:17:32 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:17:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:17:42 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:17:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:17:52 [D] Query(21ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:17:52 Alarms with pending videos found! 02/06 09:17:52 Next idalarmcra = 383483 02/06 09:17:52 DownloadVideos::DownloadVideoOfAlarm 02/06 09:17:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 09:17:52 SAM|16946 02/06 09:17:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_091748_102.mp4|101697| 02/06 09:17:52 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_091748_102.mp4 02/06 09:17:52 Date = 20190602 02/06 09:17:52 Construct from filename date 02/06 09:17:52 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_091748_102.mp4 02/06 09:17:52 Destination file not found 02/06 09:17:52 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_091748_102.mp4 02/06 09:17:52 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_091748_102.mp4 02/06 09:17:54 DownloadFile ok... checking file destination 02/06 09:17:54 URLDownloadToFile ok 02/06 09:17:54 Video .sig downloaded ok! 02/06 09:17:54 Snapshot .sig downloaded ok! 02/06 09:17:54 Elapsed download time: 00:00:02 02/06 09:17:54 UpdateVideoname 02/06 09:17:54 Updating: idalarmcra = 383483 02/06 09:17:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383483 ORDER BY IDALARMCRA DESC 02/06 09:17:54 Just before Update() 02/06 09:18:04 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:18:04 [D] Query(40ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:18:04 Don't have work. 02/06 09:18:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:18:15 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:18:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:18:25 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:18:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:18:35 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:18:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:18:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:18:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:18:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:19:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:19:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:19:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:19:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:19:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:19:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:19:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:19:35 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:19:45 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:19:45 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:19:46 Alarms with pending videos found! 02/06 09:19:46 Next idalarmcra = 383484 02/06 09:19:46 DownloadVideos::DownloadVideoOfAlarm 02/06 09:19:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:19:46 SAM|1144 02/06 09:19:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_091937_61.mp4|105214| 02/06 09:19:47 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_091937_61.mp4 02/06 09:19:47 Date = 20190602 02/06 09:19:47 Construct from filename date 02/06 09:19:47 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_091937_61.mp4 02/06 09:19:47 Destination file not found 02/06 09:19:47 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_091937_61.mp4 02/06 09:19:47 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_091937_61.mp4 02/06 09:19:47 DownloadFile ok... checking file destination 02/06 09:19:47 URLDownloadToFile ok 02/06 09:19:47 Video .sig downloaded ok! 02/06 09:19:47 Snapshot .sig downloaded ok! 02/06 09:19:47 Elapsed download time: 00:00:01 02/06 09:19:48 UpdateVideoname 02/06 09:19:48 Updating: idalarmcra = 383484 02/06 09:19:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383484 ORDER BY IDALARMCRA DESC 02/06 09:19:48 Just before Update() 02/06 09:19:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:19:58 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:19:58 Don't have work. 02/06 09:20:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:20:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:20:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:20:18 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:20:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:20:28 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:20:28 Alarms with pending videos found! 02/06 09:20:28 Next idalarmcra = 383487 02/06 09:20:28 DownloadVideos::DownloadVideoOfAlarm 02/06 09:20:28 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:20:28 SAM|1146 02/06 09:20:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_092018_54.mp4|95666| 02/06 09:20:29 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_092018_54.mp4 02/06 09:20:29 Date = 20190602 02/06 09:20:29 Construct from filename date 02/06 09:20:29 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_092018_54.mp4 02/06 09:20:29 Destination file not found 02/06 09:20:29 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_092018_54.mp4 02/06 09:20:29 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_092018_54.mp4 02/06 09:20:29 DownloadFile ok... checking file destination 02/06 09:20:29 URLDownloadToFile ok 02/06 09:20:29 Video .sig downloaded ok! 02/06 09:20:29 Snapshot .sig downloaded ok! 02/06 09:20:29 Elapsed download time: 00:00:01 02/06 09:20:29 UpdateVideoname 02/06 09:20:29 Updating: idalarmcra = 383487 02/06 09:20:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383487 ORDER BY IDALARMCRA DESC 02/06 09:20:29 Just before Update() 02/06 09:20:29 Next idalarmcra = 383486 02/06 09:20:29 DownloadVideos::DownloadVideoOfAlarm 02/06 09:20:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:20:29 SAM|1145 02/06 09:20:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_092016_134.mp4|94546| 02/06 09:20:29 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_092016_134.mp4 02/06 09:20:29 Date = 20190602 02/06 09:20:29 Construct from filename date 02/06 09:20:29 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_092016_134.mp4 02/06 09:20:29 Destination file not found 02/06 09:20:29 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_092016_134.mp4 02/06 09:20:29 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_092016_134.mp4 02/06 09:20:30 DownloadFile ok... checking file destination 02/06 09:20:30 URLDownloadToFile ok 02/06 09:20:30 Video .sig downloaded ok! 02/06 09:20:30 Snapshot .sig downloaded ok! 02/06 09:20:30 Elapsed download time: 00:00:01 02/06 09:20:30 UpdateVideoname 02/06 09:20:30 Updating: idalarmcra = 383486 02/06 09:20:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383486 ORDER BY IDALARMCRA DESC 02/06 09:20:30 Just before Update() 02/06 09:20:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:20:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:20:40 Don't have work. 02/06 09:20:50 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:20:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:21:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:21:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:21:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:21:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:21:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:21:20 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:21:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:21:30 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:21:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:21:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:21:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:21:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:22:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:22:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:22:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:22:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:22:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:22:21 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:22:31 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:22:31 [D] Query(20ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:22:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:22:41 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:22:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:22:51 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:23:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:23:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:23:11 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:23:11 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:23:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:23:22 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:23:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:23:32 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:23:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:23:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:23:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:23:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:24:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:24:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:24:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:24:12 [D] Query(33ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:24:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:24:22 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:24:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:24:32 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:24:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:24:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:24:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:24:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:25:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:25:03 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:25:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:25:13 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:25:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:25:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:25:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:25:33 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:25:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:25:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:25:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:25:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:26:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:26:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:26:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:26:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:26:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:26:24 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:26:34 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:26:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:26:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:26:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:26:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:26:54 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:26:54 Alarms with pending videos found! 02/06 09:26:54 Next idalarmcra = 383492 02/06 09:26:54 DownloadVideos::DownloadVideoOfAlarm 02/06 09:26:54 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 09:26:54 SAM|10025 02/06 09:26:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 09:26:54 NOK answer received 02/06 09:26:54 UpdateVideoname 02/06 09:26:54 Updating: idalarmcra = 383492 02/06 09:26:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383492 ORDER BY IDALARMCRA DESC 02/06 09:26:54 Just before Update() 02/06 09:27:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:27:04 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:27:04 Alarms with pending videos found! 02/06 09:27:04 Next idalarmcra = 383492 02/06 09:27:04 DownloadVideos::DownloadVideoOfAlarm 02/06 09:27:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 09:27:05 SAM|10025 02/06 09:27:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_092652_244.mp4|81536| 02/06 09:27:05 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_092652_244.mp4 02/06 09:27:05 Date = 20190602 02/06 09:27:05 Construct from filename date 02/06 09:27:05 Destination: c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_092652_244.mp4 02/06 09:27:05 Destination file not found 02/06 09:27:05 http://192.168.23.100:21000/20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_092652_244.mp4 02/06 09:27:05 c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_092652_244.mp4 02/06 09:27:06 DownloadFile ok... checking file destination 02/06 09:27:06 URLDownloadToFile ok 02/06 09:27:07 Video .sig downloaded ok! 02/06 09:27:07 Snapshot .sig downloaded ok! 02/06 09:27:07 Elapsed download time: 00:00:02 02/06 09:27:07 UpdateVideoname 02/06 09:27:07 Updating: idalarmcra = 383492 02/06 09:27:07 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383492 ORDER BY IDALARMCRA DESC 02/06 09:27:07 Rollback executed. 02/06 09:27:07 RecordSet closed. 02/06 09:27:07 CheckDDBB 02/06 09:27:07 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 09:27:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:27:17 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:27:17 Don't have work. 02/06 09:27:27 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:27:27 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:27:27 Alarms with pending videos found! 02/06 09:27:27 Next idalarmcra = 383493 02/06 09:27:27 DownloadVideos::DownloadVideoOfAlarm 02/06 09:27:27 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 09:27:27 SAM|10026 02/06 09:27:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_A_Cam3_Event2_20190602_092720_48.mp4|93981| 02/06 09:27:28 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_A_Cam3_Event2_20190602_092720_48.mp4 02/06 09:27:28 Date = 20190602 02/06 09:27:28 Construct from filename date 02/06 09:27:28 Destination: c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam3_Event2_20190602_092720_48.mp4 02/06 09:27:28 Destination file not found 02/06 09:27:28 http://192.168.23.100:21000/20190602\\SiteDGS_VA_BERGAMA_A_Cam3_Event2_20190602_092720_48.mp4 02/06 09:27:28 c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam3_Event2_20190602_092720_48.mp4 02/06 09:27:30 DownloadFile ok... checking file destination 02/06 09:27:30 URLDownloadToFile ok 02/06 09:27:30 Video .sig downloaded ok! 02/06 09:27:30 Snapshot .sig downloaded ok! 02/06 09:27:30 Elapsed download time: 00:00:03 02/06 09:27:30 UpdateVideoname 02/06 09:27:30 Updating: idalarmcra = 383493 02/06 09:27:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383493 ORDER BY IDALARMCRA DESC 02/06 09:27:30 Just before Update() 02/06 09:27:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:27:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:27:40 Don't have work. 02/06 09:27:50 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:27:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:28:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:28:01 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:28:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:28:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:28:21 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:28:21 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:28:31 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:28:31 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:28:41 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:28:41 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:28:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:28:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:29:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:29:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:29:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:29:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:29:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:29:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:29:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:29:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:29:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:29:42 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:29:52 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:29:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:30:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:30:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:30:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:30:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:30:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:30:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:30:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:30:32 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:30:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:30:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:30:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:30:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:31:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:31:02 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:31:02 Alarms with pending videos found! 02/06 09:31:02 Next idalarmcra = 383496 02/06 09:31:02 DownloadVideos::DownloadVideoOfAlarm 02/06 09:31:02 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 14 02/06 09:31:02 SAM|18040 02/06 09:31:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_093057_7.mp4|85929| 02/06 09:31:03 FilenameSrc = 20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_093057_7.mp4 02/06 09:31:03 Date = 20190602 02/06 09:31:03 Construct from filename date 02/06 09:31:03 Destination: c:\Davantis\CRAServer\\SITE_14\\20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_093057_7.mp4 02/06 09:31:03 Destination file not found 02/06 09:31:03 http://192.168.33.101:21001/20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_093057_7.mp4 02/06 09:31:03 c:\Davantis\CRAServer\\SITE_14\\20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_093057_7.mp4 02/06 09:31:04 DownloadFile ok... checking file destination 02/06 09:31:04 URLDownloadToFile ok 02/06 09:31:04 Video .sig downloaded ok! 02/06 09:31:05 Snapshot .sig downloaded ok! 02/06 09:31:05 Elapsed download time: 00:00:03 02/06 09:31:05 UpdateVideoname 02/06 09:31:05 Updating: idalarmcra = 383496 02/06 09:31:05 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383496 ORDER BY IDALARMCRA DESC 02/06 09:31:05 Just before Update() 02/06 09:31:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:31:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:31:15 Don't have work. 02/06 09:31:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:31:25 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:31:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:31:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:31:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:31:45 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:31:55 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:31:55 [D] Query(28ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:31:55 Alarms with pending videos found! 02/06 09:31:55 Next idalarmcra = 383497 02/06 09:31:55 DownloadVideos::DownloadVideoOfAlarm 02/06 09:31:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:31:55 SAM|1147 02/06 09:31:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093147_135.mp4|97525| 02/06 09:31:56 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093147_135.mp4 02/06 09:31:56 Date = 20190602 02/06 09:31:56 Construct from filename date 02/06 09:31:56 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093147_135.mp4 02/06 09:31:56 Destination file not found 02/06 09:31:56 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093147_135.mp4 02/06 09:31:56 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093147_135.mp4 02/06 09:31:59 DownloadFile ok... checking file destination 02/06 09:31:59 URLDownloadToFile ok 02/06 09:31:59 Video .sig downloaded ok! 02/06 09:31:59 Snapshot .sig downloaded ok! 02/06 09:31:59 Elapsed download time: 00:00:04 02/06 09:31:59 UpdateVideoname 02/06 09:31:59 Updating: idalarmcra = 383497 02/06 09:31:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383497 ORDER BY IDALARMCRA DESC 02/06 09:31:59 Just before Update() 02/06 09:32:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:32:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:32:10 Don't have work. 02/06 09:32:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:32:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:32:30 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:32:30 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:32:30 Alarms with pending videos found! 02/06 09:32:30 Next idalarmcra = 383498 02/06 09:32:30 DownloadVideos::DownloadVideoOfAlarm 02/06 09:32:30 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:32:30 SAM|1148 02/06 09:32:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093220_136.mp4|96420| 02/06 09:32:30 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093220_136.mp4 02/06 09:32:30 Date = 20190602 02/06 09:32:30 Construct from filename date 02/06 09:32:30 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093220_136.mp4 02/06 09:32:30 Destination file not found 02/06 09:32:30 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093220_136.mp4 02/06 09:32:30 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093220_136.mp4 02/06 09:32:34 DownloadFile ok... checking file destination 02/06 09:32:34 URLDownloadToFile ok 02/06 09:32:34 Video .sig downloaded ok! 02/06 09:32:34 Snapshot .sig downloaded ok! 02/06 09:32:34 Elapsed download time: 00:00:04 02/06 09:32:34 UpdateVideoname 02/06 09:32:34 Updating: idalarmcra = 383498 02/06 09:32:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383498 ORDER BY IDALARMCRA DESC 02/06 09:32:34 Just before Update() 02/06 09:32:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:32:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:32:44 Don't have work. 02/06 09:32:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:32:54 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:33:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:33:04 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:33:04 Alarms with pending videos found! 02/06 09:33:04 Next idalarmcra = 383499 02/06 09:33:04 DownloadVideos::DownloadVideoOfAlarm 02/06 09:33:04 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:33:04 SAM|1149 02/06 09:33:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093255_137.mp4|97094| 02/06 09:33:05 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093255_137.mp4 02/06 09:33:05 Date = 20190602 02/06 09:33:05 Construct from filename date 02/06 09:33:05 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093255_137.mp4 02/06 09:33:05 Destination file not found 02/06 09:33:05 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093255_137.mp4 02/06 09:33:05 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093255_137.mp4 02/06 09:33:08 DownloadFile ok... checking file destination 02/06 09:33:08 URLDownloadToFile ok 02/06 09:33:08 Video .sig downloaded ok! 02/06 09:33:08 Snapshot .sig downloaded ok! 02/06 09:33:08 Elapsed download time: 00:00:04 02/06 09:33:08 UpdateVideoname 02/06 09:33:08 Updating: idalarmcra = 383499 02/06 09:33:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383499 ORDER BY IDALARMCRA DESC 02/06 09:33:08 Just before Update() 02/06 09:33:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:33:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:33:18 Don't have work. 02/06 09:33:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:33:28 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:33:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:33:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:33:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:33:49 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:33:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:33:59 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:33:59 Alarms with pending videos found! 02/06 09:33:59 Next idalarmcra = 383500 02/06 09:33:59 DownloadVideos::DownloadVideoOfAlarm 02/06 09:33:59 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:33:59 SAM|22909 02/06 09:33:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 09:33:59 NOK answer received 02/06 09:33:59 UpdateVideoname 02/06 09:33:59 Updating: idalarmcra = 383500 02/06 09:33:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383500 ORDER BY IDALARMCRA DESC 02/06 09:33:59 Just before Update() 02/06 09:34:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:34:09 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:34:09 Alarms with pending videos found! 02/06 09:34:09 Next idalarmcra = 383500 02/06 09:34:09 DownloadVideos::DownloadVideoOfAlarm 02/06 09:34:09 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:34:09 SAM|22909 02/06 09:34:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_093412_4.mp4|109851| 02/06 09:34:10 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_093412_4.mp4 02/06 09:34:10 Date = 20190602 02/06 09:34:10 Construct from filename date 02/06 09:34:10 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_093412_4.mp4 02/06 09:34:10 Destination file not found 02/06 09:34:10 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_093412_4.mp4 02/06 09:34:10 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_093412_4.mp4 02/06 09:34:11 DownloadFile ok... checking file destination 02/06 09:34:11 URLDownloadToFile ok 02/06 09:34:12 Video .sig downloaded ok! 02/06 09:34:12 Snapshot .sig downloaded ok! 02/06 09:34:12 Elapsed download time: 00:00:03 02/06 09:34:12 UpdateVideoname 02/06 09:34:12 Updating: idalarmcra = 383500 02/06 09:34:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383500 ORDER BY IDALARMCRA DESC 02/06 09:34:12 Just before Update() 02/06 09:34:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:34:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:34:22 Don't have work. 02/06 09:34:32 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:34:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:34:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:34:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:34:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:34:52 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:35:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:35:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:35:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:35:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:35:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:35:23 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:35:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:35:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:35:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:35:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:35:53 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:35:53 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:36:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:36:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:36:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:36:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:36:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:36:23 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:36:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:36:33 [D] Query(21ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:36:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:36:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:36:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:36:54 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:36:54 Alarms with pending videos found! 02/06 09:36:54 Next idalarmcra = 383501 02/06 09:36:54 DownloadVideos::DownloadVideoOfAlarm 02/06 09:36:54 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:36:54 SAM|1150 02/06 09:36:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093648_138.mp4|96514| 02/06 09:36:54 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093648_138.mp4 02/06 09:36:54 Date = 20190602 02/06 09:36:54 Construct from filename date 02/06 09:36:54 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093648_138.mp4 02/06 09:36:54 Destination file not found 02/06 09:36:54 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093648_138.mp4 02/06 09:36:54 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093648_138.mp4 02/06 09:36:55 DownloadFile ok... checking file destination 02/06 09:36:55 URLDownloadToFile ok 02/06 09:36:55 Video .sig downloaded ok! 02/06 09:36:55 Snapshot .sig downloaded ok! 02/06 09:36:55 Elapsed download time: 00:00:01 02/06 09:36:55 UpdateVideoname 02/06 09:36:55 Updating: idalarmcra = 383501 02/06 09:36:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383501 ORDER BY IDALARMCRA DESC 02/06 09:36:55 Just before Update() 02/06 09:37:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:37:05 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:37:05 Alarms with pending videos found! 02/06 09:37:05 Next idalarmcra = 383502 02/06 09:37:05 DownloadVideos::DownloadVideoOfAlarm 02/06 09:37:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:37:05 SAM|1151 02/06 09:37:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_093651_55.mp4|99339| 02/06 09:37:05 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_093651_55.mp4 02/06 09:37:05 Date = 20190602 02/06 09:37:05 Construct from filename date 02/06 09:37:05 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_093651_55.mp4 02/06 09:37:05 Destination file not found 02/06 09:37:05 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_093651_55.mp4 02/06 09:37:05 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_093651_55.mp4 02/06 09:37:06 DownloadFile ok... checking file destination 02/06 09:37:06 URLDownloadToFile ok 02/06 09:37:06 Video .sig downloaded ok! 02/06 09:37:06 Snapshot .sig downloaded ok! 02/06 09:37:06 Elapsed download time: 00:00:01 02/06 09:37:06 UpdateVideoname 02/06 09:37:06 Updating: idalarmcra = 383502 02/06 09:37:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383502 ORDER BY IDALARMCRA DESC 02/06 09:37:06 Just before Update() 02/06 09:37:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:37:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:37:16 Don't have work. 02/06 09:37:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:37:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:37:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:37:36 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:37:36 Alarms with pending videos found! 02/06 09:37:36 Next idalarmcra = 383503 02/06 09:37:36 DownloadVideos::DownloadVideoOfAlarm 02/06 09:37:36 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 09:37:36 SAM|15964 02/06 09:37:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam5_Event2_20190602_093739_2.mp4|107504| 02/06 09:37:37 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam5_Event2_20190602_093739_2.mp4 02/06 09:37:37 Date = 20190602 02/06 09:37:37 Construct from filename date 02/06 09:37:37 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam5_Event2_20190602_093739_2.mp4 02/06 09:37:37 Destination file not found 02/06 09:37:37 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam5_Event2_20190602_093739_2.mp4 02/06 09:37:37 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam5_Event2_20190602_093739_2.mp4 02/06 09:37:40 DownloadFile ok... checking file destination 02/06 09:37:40 URLDownloadToFile ok 02/06 09:37:40 Video .sig downloaded ok! 02/06 09:37:40 Snapshot .sig downloaded ok! 02/06 09:37:40 Elapsed download time: 00:00:04 02/06 09:37:40 UpdateVideoname 02/06 09:37:40 Updating: idalarmcra = 383503 02/06 09:37:40 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383503 ORDER BY IDALARMCRA DESC 02/06 09:37:40 Just before Update() 02/06 09:37:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:37:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:37:50 Don't have work. 02/06 09:38:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:38:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:38:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:38:10 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:38:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:38:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:38:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:38:31 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:38:31 Alarms with pending videos found! 02/06 09:38:31 Next idalarmcra = 383504 02/06 09:38:31 DownloadVideos::DownloadVideoOfAlarm 02/06 09:38:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:38:31 SAM|22910 02/06 09:38:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_093835_5.mp4|109756| 02/06 09:38:31 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_093835_5.mp4 02/06 09:38:31 Date = 20190602 02/06 09:38:31 Construct from filename date 02/06 09:38:31 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_093835_5.mp4 02/06 09:38:31 Destination file not found 02/06 09:38:31 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_093835_5.mp4 02/06 09:38:31 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_093835_5.mp4 02/06 09:38:33 DownloadFile ok... checking file destination 02/06 09:38:33 URLDownloadToFile ok 02/06 09:38:36 Video .sig downloaded ok! 02/06 09:38:36 Snapshot .sig downloaded ok! 02/06 09:38:36 Elapsed download time: 00:00:05 02/06 09:38:36 UpdateVideoname 02/06 09:38:36 Updating: idalarmcra = 383504 02/06 09:38:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383504 ORDER BY IDALARMCRA DESC 02/06 09:38:36 Just before Update() 02/06 09:38:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:38:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:38:46 Don't have work. 02/06 09:38:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:38:56 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:39:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:39:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:39:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:39:16 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:39:26 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:39:26 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:39:26 Alarms with pending videos found! 02/06 09:39:26 Next idalarmcra = 383505 02/06 09:39:26 DownloadVideos::DownloadVideoOfAlarm 02/06 09:39:27 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:39:27 SAM|1152 02/06 09:39:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093916_139.mp4|92805| 02/06 09:39:27 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093916_139.mp4 02/06 09:39:27 Date = 20190602 02/06 09:39:27 Construct from filename date 02/06 09:39:27 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093916_139.mp4 02/06 09:39:27 Destination file not found 02/06 09:39:27 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093916_139.mp4 02/06 09:39:27 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_093916_139.mp4 02/06 09:39:27 DownloadFile ok... checking file destination 02/06 09:39:27 URLDownloadToFile ok 02/06 09:39:27 Video .sig downloaded ok! 02/06 09:39:27 Snapshot .sig downloaded ok! 02/06 09:39:27 Elapsed download time: 00:00:00 02/06 09:39:28 UpdateVideoname 02/06 09:39:28 Updating: idalarmcra = 383505 02/06 09:39:28 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383505 ORDER BY IDALARMCRA DESC 02/06 09:39:28 Just before Update() 02/06 09:39:38 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:39:38 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:39:38 Don't have work. 02/06 09:39:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:39:48 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:39:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:39:58 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:40:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:40:08 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:40:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:40:18 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:40:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:40:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:40:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:40:38 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:40:48 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:40:48 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:40:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:40:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:41:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:41:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:41:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:41:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:41:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:41:29 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:41:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:41:39 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:41:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:41:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:41:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:41:59 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:41:59 Alarms with pending videos found! 02/06 09:41:59 Next idalarmcra = 383506 02/06 09:41:59 DownloadVideos::DownloadVideoOfAlarm 02/06 09:41:59 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 09:41:59 SAM|15965 02/06 09:41:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 09:41:59 NOK answer received 02/06 09:41:59 UpdateVideoname 02/06 09:41:59 Updating: idalarmcra = 383506 02/06 09:41:59 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383506 ORDER BY IDALARMCRA DESC 02/06 09:41:59 Just before Update() 02/06 09:42:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:42:10 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:42:10 Alarms with pending videos found! 02/06 09:42:10 Next idalarmcra = 383506 02/06 09:42:10 DownloadVideos::DownloadVideoOfAlarm 02/06 09:42:10 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 09:42:10 SAM|15965 02/06 09:42:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam5_Event2_20190602_094203_3.mp4|97090| 02/06 09:42:10 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam5_Event2_20190602_094203_3.mp4 02/06 09:42:10 Date = 20190602 02/06 09:42:10 Construct from filename date 02/06 09:42:10 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam5_Event2_20190602_094203_3.mp4 02/06 09:42:10 Destination file not found 02/06 09:42:10 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam5_Event2_20190602_094203_3.mp4 02/06 09:42:10 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam5_Event2_20190602_094203_3.mp4 02/06 09:42:11 DownloadFile ok... checking file destination 02/06 09:42:11 URLDownloadToFile ok 02/06 09:42:12 Video .sig downloaded ok! 02/06 09:42:12 Snapshot .sig downloaded ok! 02/06 09:42:12 Elapsed download time: 00:00:02 02/06 09:42:12 UpdateVideoname 02/06 09:42:12 Updating: idalarmcra = 383506 02/06 09:42:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383506 ORDER BY IDALARMCRA DESC 02/06 09:42:12 Just before Update() 02/06 09:42:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:42:22 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:42:22 Alarms with pending videos found! 02/06 09:42:22 Next idalarmcra = 383507 02/06 09:42:22 DownloadVideos::DownloadVideoOfAlarm 02/06 09:42:22 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:42:22 SAM|22911 02/06 09:42:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094222_6.mp4|114586| 02/06 09:42:23 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094222_6.mp4 02/06 09:42:23 Date = 20190602 02/06 09:42:23 Construct from filename date 02/06 09:42:23 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094222_6.mp4 02/06 09:42:23 Destination file not found 02/06 09:42:23 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094222_6.mp4 02/06 09:42:23 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094222_6.mp4 02/06 09:42:25 DownloadFile ok... checking file destination 02/06 09:42:25 URLDownloadToFile ok 02/06 09:42:25 Video .sig downloaded ok! 02/06 09:42:25 Snapshot .sig downloaded ok! 02/06 09:42:25 Elapsed download time: 00:00:03 02/06 09:42:26 UpdateVideoname 02/06 09:42:26 Updating: idalarmcra = 383507 02/06 09:42:26 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383507 ORDER BY IDALARMCRA DESC 02/06 09:42:26 Rollback executed. 02/06 09:42:26 RecordSet closed. 02/06 09:42:26 CheckDDBB 02/06 09:42:26 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 09:42:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:42:36 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:42:36 Don't have work. 02/06 09:42:46 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:42:46 [D] Query(21ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:42:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:42:56 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:43:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:43:06 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:43:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:43:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:43:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:43:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:43:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:43:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:43:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:43:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:43:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:43:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:44:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:44:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:44:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:44:17 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:44:17 Alarms with pending videos found! 02/06 09:44:17 Next idalarmcra = 383508 02/06 09:44:17 DownloadVideos::DownloadVideoOfAlarm 02/06 09:44:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:44:17 SAM|22912 02/06 09:44:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 09:44:17 NOK answer received 02/06 09:44:17 UpdateVideoname 02/06 09:44:17 Updating: idalarmcra = 383508 02/06 09:44:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383508 ORDER BY IDALARMCRA DESC 02/06 09:44:17 Just before Update() 02/06 09:44:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:44:27 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:44:27 Alarms with pending videos found! 02/06 09:44:27 Next idalarmcra = 383508 02/06 09:44:27 DownloadVideos::DownloadVideoOfAlarm 02/06 09:44:27 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:44:27 SAM|22912 02/06 09:44:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094427_7.mp4|111902| 02/06 09:44:28 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094427_7.mp4 02/06 09:44:28 Date = 20190602 02/06 09:44:28 Construct from filename date 02/06 09:44:28 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094427_7.mp4 02/06 09:44:28 Destination file not found 02/06 09:44:28 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094427_7.mp4 02/06 09:44:28 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094427_7.mp4 02/06 09:44:30 DownloadFile ok... checking file destination 02/06 09:44:30 URLDownloadToFile ok 02/06 09:44:33 Video .sig downloaded ok! 02/06 09:44:34 Snapshot .sig downloaded ok! 02/06 09:44:34 Elapsed download time: 00:00:07 02/06 09:44:34 UpdateVideoname 02/06 09:44:34 Updating: idalarmcra = 383508 02/06 09:44:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383508 ORDER BY IDALARMCRA DESC 02/06 09:44:34 Just before Update() 02/06 09:44:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:44:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:44:44 Don't have work. 02/06 09:44:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:44:54 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:44:54 Alarms with pending videos found! 02/06 09:44:54 Next idalarmcra = 383509 02/06 09:44:54 DownloadVideos::DownloadVideoOfAlarm 02/06 09:44:54 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:44:54 SAM|1153 02/06 09:44:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 09:44:54 NOK answer received 02/06 09:44:54 UpdateVideoname 02/06 09:44:54 Updating: idalarmcra = 383509 02/06 09:44:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383509 ORDER BY IDALARMCRA DESC 02/06 09:44:54 Just before Update() 02/06 09:45:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:45:04 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:45:04 Alarms with pending videos found! 02/06 09:45:04 Next idalarmcra = 383510 02/06 09:45:04 DownloadVideos::DownloadVideoOfAlarm 02/06 09:45:04 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:45:04 SAM|1154 02/06 09:45:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_094455_56.mp4|97281| 02/06 09:45:05 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_094455_56.mp4 02/06 09:45:05 Date = 20190602 02/06 09:45:05 Construct from filename date 02/06 09:45:05 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_094455_56.mp4 02/06 09:45:05 Destination file not found 02/06 09:45:05 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_094455_56.mp4 02/06 09:45:05 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_094455_56.mp4 02/06 09:45:05 DownloadFile ok... checking file destination 02/06 09:45:05 URLDownloadToFile ok 02/06 09:45:05 Video .sig downloaded ok! 02/06 09:45:05 Snapshot .sig downloaded ok! 02/06 09:45:05 Elapsed download time: 00:00:01 02/06 09:45:05 UpdateVideoname 02/06 09:45:05 Updating: idalarmcra = 383510 02/06 09:45:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383510 ORDER BY IDALARMCRA DESC 02/06 09:45:05 Just before Update() 02/06 09:45:05 Next idalarmcra = 383509 02/06 09:45:05 DownloadVideos::DownloadVideoOfAlarm 02/06 09:45:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 09:45:05 SAM|1153 02/06 09:45:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_094451_140.mp4|95639| 02/06 09:45:06 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_094451_140.mp4 02/06 09:45:06 Date = 20190602 02/06 09:45:06 Construct from filename date 02/06 09:45:06 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_094451_140.mp4 02/06 09:45:06 Destination file not found 02/06 09:45:06 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_094451_140.mp4 02/06 09:45:06 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_094451_140.mp4 02/06 09:45:06 DownloadFile ok... checking file destination 02/06 09:45:06 URLDownloadToFile ok 02/06 09:45:06 Video .sig downloaded ok! 02/06 09:45:06 Snapshot .sig downloaded ok! 02/06 09:45:06 Elapsed download time: 00:00:01 02/06 09:45:06 UpdateVideoname 02/06 09:45:06 Updating: idalarmcra = 383509 02/06 09:45:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383509 ORDER BY IDALARMCRA DESC 02/06 09:45:06 Just before Update() 02/06 09:45:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:45:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:45:16 Don't have work. 02/06 09:45:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:45:26 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:45:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:45:36 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:45:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:45:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:45:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:45:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:46:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:46:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:46:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:46:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:46:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:46:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:46:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:46:37 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:46:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:46:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:46:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:46:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:47:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:47:07 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:47:07 Alarms with pending videos found! 02/06 09:47:07 Next idalarmcra = 383511 02/06 09:47:07 DownloadVideos::DownloadVideoOfAlarm 02/06 09:47:07 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:47:07 SAM|22913 02/06 09:47:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094709_8.mp4|112015| 02/06 09:47:08 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094709_8.mp4 02/06 09:47:08 Date = 20190602 02/06 09:47:08 Construct from filename date 02/06 09:47:08 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094709_8.mp4 02/06 09:47:08 Destination file not found 02/06 09:47:08 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094709_8.mp4 02/06 09:47:08 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094709_8.mp4 02/06 09:47:10 DownloadFile ok... checking file destination 02/06 09:47:10 URLDownloadToFile ok 02/06 09:47:10 Video .sig downloaded ok! 02/06 09:47:10 Snapshot .sig downloaded ok! 02/06 09:47:10 Elapsed download time: 00:00:03 02/06 09:47:11 UpdateVideoname 02/06 09:47:11 Updating: idalarmcra = 383511 02/06 09:47:11 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383511 ORDER BY IDALARMCRA DESC 02/06 09:47:11 Just before Update() 02/06 09:47:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:47:21 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:47:21 Alarms with pending videos found! 02/06 09:47:21 Next idalarmcra = 383512 02/06 09:47:21 DownloadVideos::DownloadVideoOfAlarm 02/06 09:47:21 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:47:21 SAM|22914 02/06 09:47:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 09:47:22 NOK answer received 02/06 09:47:22 UpdateVideoname 02/06 09:47:22 Updating: idalarmcra = 383512 02/06 09:47:22 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383512 ORDER BY IDALARMCRA DESC 02/06 09:47:22 Just before Update() 02/06 09:47:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:47:32 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:47:32 Alarms with pending videos found! 02/06 09:47:32 Next idalarmcra = 383512 02/06 09:47:32 DownloadVideos::DownloadVideoOfAlarm 02/06 09:47:32 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:47:32 SAM|22914 02/06 09:47:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094733_9.mp4|110192| 02/06 09:47:32 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094733_9.mp4 02/06 09:47:32 Date = 20190602 02/06 09:47:32 Construct from filename date 02/06 09:47:32 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094733_9.mp4 02/06 09:47:32 Destination file not found 02/06 09:47:32 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094733_9.mp4 02/06 09:47:32 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094733_9.mp4 02/06 09:47:34 DownloadFile ok... checking file destination 02/06 09:47:34 URLDownloadToFile ok 02/06 09:47:34 Video .sig downloaded ok! 02/06 09:47:34 Snapshot .sig downloaded ok! 02/06 09:47:34 Elapsed download time: 00:00:02 02/06 09:47:35 UpdateVideoname 02/06 09:47:35 Updating: idalarmcra = 383512 02/06 09:47:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383512 ORDER BY IDALARMCRA DESC 02/06 09:47:35 Just before Update() 02/06 09:47:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:47:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:47:45 Don't have work. 02/06 09:47:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:47:55 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:48:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:48:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:48:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:48:15 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:48:15 Alarms with pending videos found! 02/06 09:48:15 Next idalarmcra = 383513 02/06 09:48:15 DownloadVideos::DownloadVideoOfAlarm 02/06 09:48:15 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:48:15 SAM|22915 02/06 09:48:15 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094820_10.mp4|112780| 02/06 09:48:15 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094820_10.mp4 02/06 09:48:15 Date = 20190602 02/06 09:48:15 Construct from filename date 02/06 09:48:15 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094820_10.mp4 02/06 09:48:15 Destination file not found 02/06 09:48:15 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094820_10.mp4 02/06 09:48:15 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094820_10.mp4 02/06 09:48:18 DownloadFile ok... checking file destination 02/06 09:48:18 URLDownloadToFile ok 02/06 09:48:19 Video .sig downloaded ok! 02/06 09:48:19 Snapshot .sig downloaded ok! 02/06 09:48:19 Elapsed download time: 00:00:04 02/06 09:48:19 UpdateVideoname 02/06 09:48:19 Updating: idalarmcra = 383513 02/06 09:48:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383513 ORDER BY IDALARMCRA DESC 02/06 09:48:19 Just before Update() 02/06 09:48:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:48:29 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:48:29 Don't have work. 02/06 09:48:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:48:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:48:50 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:48:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:49:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:49:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:49:10 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:49:10 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:49:10 Alarms with pending videos found! 02/06 09:49:10 Next idalarmcra = 383514 02/06 09:49:10 DownloadVideos::DownloadVideoOfAlarm 02/06 09:49:10 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:49:10 SAM|22916 02/06 09:49:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094915_11.mp4|114915| 02/06 09:49:10 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094915_11.mp4 02/06 09:49:10 Date = 20190602 02/06 09:49:10 Construct from filename date 02/06 09:49:10 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094915_11.mp4 02/06 09:49:10 Destination file not found 02/06 09:49:10 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094915_11.mp4 02/06 09:49:10 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_094915_11.mp4 02/06 09:49:12 DownloadFile ok... checking file destination 02/06 09:49:12 URLDownloadToFile ok 02/06 09:49:12 Video .sig downloaded ok! 02/06 09:49:12 Snapshot .sig downloaded ok! 02/06 09:49:12 Elapsed download time: 00:00:02 02/06 09:49:12 UpdateVideoname 02/06 09:49:12 Updating: idalarmcra = 383514 02/06 09:49:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383514 ORDER BY IDALARMCRA DESC 02/06 09:49:12 Just before Update() 02/06 09:49:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:49:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:49:22 Don't have work. 02/06 09:49:32 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:49:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:49:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:49:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:49:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:49:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:50:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:50:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:50:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:50:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:50:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:50:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:50:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:50:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:50:43 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:50:43 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:50:43 Alarms with pending videos found! 02/06 09:50:43 Next idalarmcra = 383515 02/06 09:50:43 DownloadVideos::DownloadVideoOfAlarm 02/06 09:50:43 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 09:50:43 SAM|3943 02/06 09:50:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_095037_3.mp4|109522| 02/06 09:50:43 FilenameSrc = 20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_095037_3.mp4 02/06 09:50:43 Date = 20190602 02/06 09:50:43 Construct from filename date 02/06 09:50:43 Destination: c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_095037_3.mp4 02/06 09:50:43 Destination file not found 02/06 09:50:43 http://192.168.29.100:21000/20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_095037_3.mp4 02/06 09:50:43 c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_095037_3.mp4 02/06 09:50:45 DownloadFile ok... checking file destination 02/06 09:50:45 URLDownloadToFile ok 02/06 09:50:46 Video .sig downloaded ok! 02/06 09:50:46 Snapshot .sig downloaded ok! 02/06 09:50:46 Elapsed download time: 00:00:03 02/06 09:50:46 UpdateVideoname 02/06 09:50:46 Updating: idalarmcra = 383515 02/06 09:50:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383515 ORDER BY IDALARMCRA DESC 02/06 09:50:46 Just before Update() 02/06 09:50:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:50:56 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:50:56 Don't have work. 02/06 09:51:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:51:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:51:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:51:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:51:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:51:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:51:36 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:51:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:51:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:51:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:51:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:51:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:52:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:52:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:52:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:52:17 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:52:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:52:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:52:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:52:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:52:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:52:47 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:52:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:52:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:53:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:53:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:53:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:53:17 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:53:27 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:53:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:53:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:53:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:53:48 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:53:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:53:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:53:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:54:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:54:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:54:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:54:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:54:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:54:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:54:38 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:54:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:54:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:54:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:54:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:54:58 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:55:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:55:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:55:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:55:19 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:55:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:55:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:55:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:55:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:55:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:55:49 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 09:55:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:55:59 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:55:59 Alarms with pending videos found! 02/06 09:55:59 Next idalarmcra = 383516 02/06 09:55:59 DownloadVideos::DownloadVideoOfAlarm 02/06 09:55:59 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 09:55:59 SAM|720 02/06 09:55:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_095551_12.mp4|94627| 02/06 09:55:59 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_095551_12.mp4 02/06 09:55:59 Date = 20190602 02/06 09:55:59 Construct from filename date 02/06 09:55:59 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_095551_12.mp4 02/06 09:55:59 Destination file not found 02/06 09:55:59 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_095551_12.mp4 02/06 09:55:59 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_095551_12.mp4 02/06 09:56:00 DownloadFile ok... checking file destination 02/06 09:56:00 URLDownloadToFile ok 02/06 09:56:00 Video .sig downloaded ok! 02/06 09:56:00 Snapshot .sig downloaded ok! 02/06 09:56:00 Elapsed download time: 00:00:01 02/06 09:56:00 UpdateVideoname 02/06 09:56:00 Updating: idalarmcra = 383516 02/06 09:56:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383516 ORDER BY IDALARMCRA DESC 02/06 09:56:00 Just before Update() 02/06 09:56:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:56:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:56:10 Don't have work. 02/06 09:56:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:56:20 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:56:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:56:30 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:56:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:56:41 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:56:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:56:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:57:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:57:01 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:57:01 Alarms with pending videos found! 02/06 09:57:01 Next idalarmcra = 383518 02/06 09:57:01 DownloadVideos::DownloadVideoOfAlarm 02/06 09:57:01 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 09:57:01 SAM|22917 02/06 09:57:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_095704_12.mp4|111328| 02/06 09:57:01 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_095704_12.mp4 02/06 09:57:01 Date = 20190602 02/06 09:57:01 Construct from filename date 02/06 09:57:01 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_095704_12.mp4 02/06 09:57:01 Destination file not found 02/06 09:57:01 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_095704_12.mp4 02/06 09:57:01 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_095704_12.mp4 02/06 09:57:03 DownloadFile ok... checking file destination 02/06 09:57:03 URLDownloadToFile ok 02/06 09:57:03 Video .sig downloaded ok! 02/06 09:57:03 Snapshot .sig downloaded ok! 02/06 09:57:03 Elapsed download time: 00:00:02 02/06 09:57:03 UpdateVideoname 02/06 09:57:03 Updating: idalarmcra = 383518 02/06 09:57:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383518 ORDER BY IDALARMCRA DESC 02/06 09:57:03 Just before Update() 02/06 09:57:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:57:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:57:13 Don't have work. 02/06 09:57:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:57:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:57:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:57:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:57:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:57:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:57:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:57:53 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:58:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:58:04 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:58:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:58:14 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:58:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:58:24 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:58:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:58:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:58:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:58:44 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:58:44 Alarms with pending videos found! 02/06 09:58:44 Next idalarmcra = 383521 02/06 09:58:44 DownloadVideos::DownloadVideoOfAlarm 02/06 09:58:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 09:58:44 SAM|16947 02/06 09:58:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_095832_103.mp4|104540| 02/06 09:58:44 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_095832_103.mp4 02/06 09:58:44 Date = 20190602 02/06 09:58:44 Construct from filename date 02/06 09:58:44 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_095832_103.mp4 02/06 09:58:44 Destination file not found 02/06 09:58:44 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_095832_103.mp4 02/06 09:58:44 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_095832_103.mp4 02/06 09:58:46 DownloadFile ok... checking file destination 02/06 09:58:46 URLDownloadToFile ok 02/06 09:58:46 Video .sig downloaded ok! 02/06 09:58:46 Snapshot .sig downloaded ok! 02/06 09:58:46 Elapsed download time: 00:00:02 02/06 09:58:47 UpdateVideoname 02/06 09:58:47 Updating: idalarmcra = 383521 02/06 09:58:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383521 ORDER BY IDALARMCRA DESC 02/06 09:58:47 Just before Update() 02/06 09:58:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:58:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:58:57 Don't have work. 02/06 09:59:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:59:07 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:59:17 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:59:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 09:59:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:59:27 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:59:27 Alarms with pending videos found! 02/06 09:59:27 Next idalarmcra = 383522 02/06 09:59:27 DownloadVideos::DownloadVideoOfAlarm 02/06 09:59:27 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 18 02/06 09:59:27 SAM|11583 02/06 09:59:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 09:59:27 NOK answer received 02/06 09:59:27 UpdateVideoname 02/06 09:59:27 Updating: idalarmcra = 383522 02/06 09:59:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383522 ORDER BY IDALARMCRA DESC 02/06 09:59:27 Just before Update() 02/06 09:59:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:59:37 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:59:37 Alarms with pending videos found! 02/06 09:59:37 Next idalarmcra = 383522 02/06 09:59:37 DownloadVideos::DownloadVideoOfAlarm 02/06 09:59:37 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 18 02/06 09:59:37 SAM|11583 02/06 09:59:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 09:59:38 NOK answer received 02/06 09:59:38 UpdateVideoname 02/06 09:59:38 Updating: idalarmcra = 383522 02/06 09:59:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383522 ORDER BY IDALARMCRA DESC 02/06 09:59:38 Just before Update() 02/06 09:59:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:59:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 09:59:48 Don't have work. 02/06 09:59:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 09:59:58 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 8 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:00:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:00:08 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:00:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:00:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:00:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:00:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:00:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:00:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:00:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:00:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:00:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:00:59 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:00:59 Alarms with pending videos found! 02/06 10:00:59 Next idalarmcra = 383523 02/06 10:00:59 DownloadVideos::DownloadVideoOfAlarm 02/06 10:00:59 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 10:00:59 SAM|16948 02/06 10:00:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_100049_104.mp4|108617| 02/06 10:00:59 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_100049_104.mp4 02/06 10:00:59 Date = 20190602 02/06 10:00:59 Construct from filename date 02/06 10:00:59 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_100049_104.mp4 02/06 10:00:59 Destination file not found 02/06 10:00:59 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_100049_104.mp4 02/06 10:00:59 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_100049_104.mp4 02/06 10:01:01 DownloadFile ok... checking file destination 02/06 10:01:01 URLDownloadToFile ok 02/06 10:01:01 Video .sig downloaded ok! 02/06 10:01:02 Snapshot .sig downloaded ok! 02/06 10:01:02 Elapsed download time: 00:00:03 02/06 10:01:02 UpdateVideoname 02/06 10:01:02 Updating: idalarmcra = 383523 02/06 10:01:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383523 ORDER BY IDALARMCRA DESC 02/06 10:01:02 Just before Update() 02/06 10:01:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:01:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:01:12 Don't have work. 02/06 10:01:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:01:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:01:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:01:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:01:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:01:42 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:01:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:01:52 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:02:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:02:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:02:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:02:12 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:02:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:02:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:02:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:02:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:02:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:02:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:02:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:02:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:03:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:03:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:03:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:03:13 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:03:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:03:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:03:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:03:33 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:03:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:03:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:03:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:03:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:04:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:04:04 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:04:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:04:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:04:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:04:24 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:04:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:04:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:04:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:04:44 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:04:54 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:04:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:05:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:05:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:05:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:05:14 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:05:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:05:24 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:05:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:05:34 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:05:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:05:44 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:05:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:05:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:06:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:06:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:06:15 [D] Query(21ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:06:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:06:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:06:25 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:06:35 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:06:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:06:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:06:45 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:06:45 Alarms with pending videos found! 02/06 10:06:45 Next idalarmcra = 383524 02/06 10:06:45 DownloadVideos::DownloadVideoOfAlarm 02/06 10:06:45 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 18 02/06 10:06:45 SAM|11584 02/06 10:06:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 10:06:45 NOK answer received 02/06 10:06:45 UpdateVideoname 02/06 10:06:45 Updating: idalarmcra = 383524 02/06 10:06:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383524 ORDER BY IDALARMCRA DESC 02/06 10:06:45 Just before Update() 02/06 10:06:55 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:06:56 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:06:56 Alarms with pending videos found! 02/06 10:06:56 Next idalarmcra = 383524 02/06 10:06:56 DownloadVideos::DownloadVideoOfAlarm 02/06 10:06:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 18 02/06 10:06:56 SAM|11584 02/06 10:06:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 10:06:56 NOK answer received 02/06 10:06:56 UpdateVideoname 02/06 10:06:56 Updating: idalarmcra = 383524 02/06 10:06:56 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383524 ORDER BY IDALARMCRA DESC 02/06 10:06:56 Just before Update() 02/06 10:07:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:07:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:07:06 Don't have work. 02/06 10:07:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:07:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:07:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:07:26 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:07:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:07:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:07:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:07:47 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:07:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:07:57 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:08:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:08:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:08:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:08:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:08:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:08:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:08:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:08:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:08:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:08:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:08:57 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:08:57 [D] Query(20ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:09:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:09:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:09:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:09:17 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:09:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:09:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:09:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:09:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:09:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:09:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:09:58 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:09:58 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:10:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:10:08 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:10:08 Alarms with pending videos found! 02/06 10:10:08 Next idalarmcra = 383525 02/06 10:10:08 DownloadVideos::DownloadVideoOfAlarm 02/06 10:10:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 10:10:08 SAM|4681 02/06 10:10:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 10:10:08 NOK answer received 02/06 10:10:09 UpdateVideoname 02/06 10:10:09 Updating: idalarmcra = 383525 02/06 10:10:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383525 ORDER BY IDALARMCRA DESC 02/06 10:10:09 Just before Update() 02/06 10:10:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:10:19 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:10:19 Alarms with pending videos found! 02/06 10:10:19 Next idalarmcra = 383525 02/06 10:10:19 DownloadVideos::DownloadVideoOfAlarm 02/06 10:10:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 10:10:19 SAM|4681 02/06 10:10:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_101130_123.mp4|113430| 02/06 10:10:19 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_101130_123.mp4 02/06 10:10:19 Date = 20190602 02/06 10:10:19 Construct from filename date 02/06 10:10:19 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_101130_123.mp4 02/06 10:10:19 Destination file not found 02/06 10:10:19 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_101130_123.mp4 02/06 10:10:19 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_101130_123.mp4 02/06 10:10:22 DownloadFile ok... checking file destination 02/06 10:10:22 URLDownloadToFile ok 02/06 10:10:22 Video .sig downloaded ok! 02/06 10:10:22 Snapshot .sig downloaded ok! 02/06 10:10:22 Elapsed download time: 00:00:03 02/06 10:10:23 UpdateVideoname 02/06 10:10:23 Updating: idalarmcra = 383525 02/06 10:10:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383525 ORDER BY IDALARMCRA DESC 02/06 10:10:23 Just before Update() 02/06 10:10:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:10:33 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:10:33 Don't have work. 02/06 10:10:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:10:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:10:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:10:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:11:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:11:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:11:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:11:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:11:23 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:11:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:11:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:11:33 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:11:33 Alarms with pending videos found! 02/06 10:11:33 Next idalarmcra = 383526 02/06 10:11:33 DownloadVideos::DownloadVideoOfAlarm 02/06 10:11:33 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 10:11:33 SAM|721 02/06 10:11:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_101124_13.mp4|89985| 02/06 10:11:33 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_101124_13.mp4 02/06 10:11:33 Date = 20190602 02/06 10:11:33 Construct from filename date 02/06 10:11:33 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_101124_13.mp4 02/06 10:11:33 Destination file not found 02/06 10:11:33 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_101124_13.mp4 02/06 10:11:33 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_101124_13.mp4 02/06 10:11:34 DownloadFile ok... checking file destination 02/06 10:11:34 URLDownloadToFile ok 02/06 10:11:34 Video .sig downloaded ok! 02/06 10:11:34 Snapshot .sig downloaded ok! 02/06 10:11:34 Elapsed download time: 00:00:01 02/06 10:11:34 UpdateVideoname 02/06 10:11:34 Updating: idalarmcra = 383526 02/06 10:11:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383526 ORDER BY IDALARMCRA DESC 02/06 10:11:34 Just before Update() 02/06 10:11:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:11:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:11:44 Don't have work. 02/06 10:11:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:11:54 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:12:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:12:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:12:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:12:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:12:25 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:12:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:12:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:12:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:12:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:12:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:12:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:12:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:13:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:13:05 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:13:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:13:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:13:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:13:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:13:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:13:35 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:13:35 Alarms with pending videos found! 02/06 10:13:35 Next idalarmcra = 383528 02/06 10:13:35 DownloadVideos::DownloadVideoOfAlarm 02/06 10:13:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:13:35 SAM|1155 02/06 10:13:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 10:13:36 NOK answer received 02/06 10:13:36 UpdateVideoname 02/06 10:13:36 Updating: idalarmcra = 383528 02/06 10:13:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383528 ORDER BY IDALARMCRA DESC 02/06 10:13:36 Just before Update() 02/06 10:13:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:13:46 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:13:46 Alarms with pending videos found! 02/06 10:13:46 Next idalarmcra = 383528 02/06 10:13:46 DownloadVideos::DownloadVideoOfAlarm 02/06 10:13:46 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:13:46 SAM|1155 02/06 10:13:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_101331_141.mp4|97527| 02/06 10:13:46 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_101331_141.mp4 02/06 10:13:46 Date = 20190602 02/06 10:13:46 Construct from filename date 02/06 10:13:46 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_101331_141.mp4 02/06 10:13:46 Destination file not found 02/06 10:13:46 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_101331_141.mp4 02/06 10:13:46 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_101331_141.mp4 02/06 10:13:47 DownloadFile ok... checking file destination 02/06 10:13:47 URLDownloadToFile ok 02/06 10:13:47 Video .sig downloaded ok! 02/06 10:13:47 Snapshot .sig downloaded ok! 02/06 10:13:47 Elapsed download time: 00:00:01 02/06 10:13:47 UpdateVideoname 02/06 10:13:47 Updating: idalarmcra = 383528 02/06 10:13:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383528 ORDER BY IDALARMCRA DESC 02/06 10:13:47 Just before Update() 02/06 10:13:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:13:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:13:57 Don't have work. 02/06 10:14:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:14:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:14:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:14:18 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:14:18 Alarms with pending videos found! 02/06 10:14:18 Next idalarmcra = 383530 02/06 10:14:18 DownloadVideos::DownloadVideoOfAlarm 02/06 10:14:18 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 10:14:18 SAM|22283 02/06 10:14:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_101841_1.mp4|75857| 02/06 10:14:18 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_101841_1.mp4 02/06 10:14:18 Date = 20190602 02/06 10:14:18 Construct from filename date 02/06 10:14:18 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_101841_1.mp4 02/06 10:14:18 Destination file not found 02/06 10:14:18 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_101841_1.mp4 02/06 10:14:18 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_101841_1.mp4 02/06 10:14:19 DownloadFile ok... checking file destination 02/06 10:14:19 URLDownloadToFile ok 02/06 10:14:19 Video .sig downloaded ok! 02/06 10:14:20 Snapshot .sig downloaded ok! 02/06 10:14:20 Elapsed download time: 00:00:02 02/06 10:14:20 UpdateVideoname 02/06 10:14:20 Updating: idalarmcra = 383530 02/06 10:14:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383530 ORDER BY IDALARMCRA DESC 02/06 10:14:20 Just before Update() 02/06 10:14:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:14:30 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:14:30 Don't have work. 02/06 10:14:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:14:40 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:14:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:14:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:15:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:15:00 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:15:00 Alarms with pending videos found! 02/06 10:15:00 Next idalarmcra = 383531 02/06 10:15:00 DownloadVideos::DownloadVideoOfAlarm 02/06 10:15:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 10:15:00 SAM|163121 02/06 10:15:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_102742_92.mp4|112021| 02/06 10:15:01 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_102742_92.mp4 02/06 10:15:01 Date = 20190602 02/06 10:15:01 Construct from filename date 02/06 10:15:01 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_102742_92.mp4 02/06 10:15:01 Destination file not found 02/06 10:15:01 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_102742_92.mp4 02/06 10:15:01 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_102742_92.mp4 02/06 10:15:02 DownloadFile ok... checking file destination 02/06 10:15:02 URLDownloadToFile ok 02/06 10:15:03 Video .sig downloaded ok! 02/06 10:15:03 Snapshot .sig downloaded ok! 02/06 10:15:03 Elapsed download time: 00:00:03 02/06 10:15:03 UpdateVideoname 02/06 10:15:03 Updating: idalarmcra = 383531 02/06 10:15:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383531 ORDER BY IDALARMCRA DESC 02/06 10:15:03 Just before Update() 02/06 10:15:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:15:13 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:15:13 Don't have work. 02/06 10:15:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:15:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:15:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:15:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:15:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:15:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:15:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:15:54 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:16:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:16:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:16:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:16:14 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:16:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:16:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:16:34 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:16:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:16:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:16:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:16:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:16:54 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:17:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:17:04 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:17:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:17:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:17:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:17:25 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:17:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:17:35 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:17:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:17:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:17:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:17:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:18:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:18:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:18:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:18:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:18:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:18:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:18:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:18:35 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:18:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:18:45 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:18:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:18:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:19:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:19:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:19:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:19:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:19:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:19:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:19:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:19:36 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:19:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:19:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:19:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:19:56 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:20:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:20:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:20:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:20:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:20:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:20:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:20:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:20:36 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:20:46 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:20:46 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:20:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:20:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:21:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:21:07 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:21:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:21:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:21:27 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:21:27 [D] Query(36ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:21:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:21:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:21:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:21:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:21:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:21:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:22:07 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:22:07 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:22:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:22:17 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:22:17 Alarms with pending videos found! 02/06 10:22:17 Next idalarmcra = 383534 02/06 10:22:17 DownloadVideos::DownloadVideoOfAlarm 02/06 10:22:17 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:22:17 SAM|1156 02/06 10:22:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 10:22:18 NOK answer received 02/06 10:22:18 UpdateVideoname 02/06 10:22:18 Updating: idalarmcra = 383534 02/06 10:22:18 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383534 ORDER BY IDALARMCRA DESC 02/06 10:22:18 Just before Update() 02/06 10:22:18 Next idalarmcra = 383533 02/06 10:22:18 DownloadVideos::DownloadVideoOfAlarm 02/06 10:22:18 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 10:22:18 SAM|163122 02/06 10:22:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 10:22:18 NOK answer received 02/06 10:22:18 UpdateVideoname 02/06 10:22:18 Updating: idalarmcra = 383533 02/06 10:22:18 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383533 ORDER BY IDALARMCRA DESC 02/06 10:22:18 Just before Update() 02/06 10:22:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:22:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:22:28 Alarms with pending videos found! 02/06 10:22:28 Next idalarmcra = 383534 02/06 10:22:28 DownloadVideos::DownloadVideoOfAlarm 02/06 10:22:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:22:28 SAM|1156 02/06 10:22:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_102212_30.mp4|110097| 02/06 10:22:29 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_102212_30.mp4 02/06 10:22:29 Date = 20190602 02/06 10:22:29 Construct from filename date 02/06 10:22:29 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_102212_30.mp4 02/06 10:22:29 Destination file not found 02/06 10:22:29 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_102212_30.mp4 02/06 10:22:29 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_102212_30.mp4 02/06 10:22:31 DownloadFile ok... checking file destination 02/06 10:22:31 URLDownloadToFile ok 02/06 10:22:31 Video .sig downloaded ok! 02/06 10:22:31 Snapshot .sig downloaded ok! 02/06 10:22:31 Elapsed download time: 00:00:03 02/06 10:22:31 UpdateVideoname 02/06 10:22:31 Updating: idalarmcra = 383534 02/06 10:22:31 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383534 ORDER BY IDALARMCRA DESC 02/06 10:22:31 Just before Update() 02/06 10:22:31 Next idalarmcra = 383533 02/06 10:22:31 DownloadVideos::DownloadVideoOfAlarm 02/06 10:22:31 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 10:22:31 SAM|163122 02/06 10:22:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_103502_34.mp4|108864| 02/06 10:22:32 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_103502_34.mp4 02/06 10:22:32 Date = 20190602 02/06 10:22:32 Construct from filename date 02/06 10:22:32 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_103502_34.mp4 02/06 10:22:32 Destination file not found 02/06 10:22:32 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_103502_34.mp4 02/06 10:22:32 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_103502_34.mp4 02/06 10:22:33 DownloadFile ok... checking file destination 02/06 10:22:33 URLDownloadToFile ok 02/06 10:22:33 Video .sig downloaded ok! 02/06 10:22:33 Snapshot .sig downloaded ok! 02/06 10:22:33 Elapsed download time: 00:00:02 02/06 10:22:33 UpdateVideoname 02/06 10:22:33 Updating: idalarmcra = 383533 02/06 10:22:33 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383533 ORDER BY IDALARMCRA DESC 02/06 10:22:33 Just before Update() 02/06 10:22:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:22:43 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:22:43 Alarms with pending videos found! 02/06 10:22:43 Next idalarmcra = 383536 02/06 10:22:43 DownloadVideos::DownloadVideoOfAlarm 02/06 10:22:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:22:43 SAM|1158 02/06 10:22:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_102229_62.mp4|96141| 02/06 10:22:44 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_102229_62.mp4 02/06 10:22:44 Date = 20190602 02/06 10:22:44 Construct from filename date 02/06 10:22:44 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_102229_62.mp4 02/06 10:22:44 Destination file not found 02/06 10:22:44 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_102229_62.mp4 02/06 10:22:44 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_102229_62.mp4 02/06 10:22:46 DownloadFile ok... checking file destination 02/06 10:22:46 URLDownloadToFile ok 02/06 10:22:46 Video .sig downloaded ok! 02/06 10:22:46 Snapshot .sig downloaded ok! 02/06 10:22:46 Elapsed download time: 00:00:03 02/06 10:22:46 UpdateVideoname 02/06 10:22:46 Updating: idalarmcra = 383536 02/06 10:22:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383536 ORDER BY IDALARMCRA DESC 02/06 10:22:46 Just before Update() 02/06 10:22:46 Next idalarmcra = 383535 02/06 10:22:46 DownloadVideos::DownloadVideoOfAlarm 02/06 10:22:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:22:46 SAM|1157 02/06 10:22:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_102227_57.mp4|100802| 02/06 10:22:46 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_102227_57.mp4 02/06 10:22:46 Date = 20190602 02/06 10:22:46 Construct from filename date 02/06 10:22:46 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_102227_57.mp4 02/06 10:22:46 Destination file not found 02/06 10:22:46 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_102227_57.mp4 02/06 10:22:46 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_102227_57.mp4 02/06 10:22:51 DownloadFile ok... checking file destination 02/06 10:22:51 URLDownloadToFile ok 02/06 10:22:51 Video .sig downloaded ok! 02/06 10:22:51 Snapshot .sig downloaded ok! 02/06 10:22:51 Elapsed download time: 00:00:05 02/06 10:22:51 UpdateVideoname 02/06 10:22:51 Updating: idalarmcra = 383535 02/06 10:22:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383535 ORDER BY IDALARMCRA DESC 02/06 10:22:51 Just before Update() 02/06 10:23:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:23:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:23:02 Don't have work. 02/06 10:23:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:23:12 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:23:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:23:22 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:23:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:23:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:23:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:23:42 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:23:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:23:52 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:24:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:24:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:24:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:24:12 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:24:12 Alarms with pending videos found! 02/06 10:24:12 Next idalarmcra = 383537 02/06 10:24:12 DownloadVideos::DownloadVideoOfAlarm 02/06 10:24:12 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 10:24:12 SAM|15966 02/06 10:24:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 10:24:12 NOK answer received 02/06 10:24:12 UpdateVideoname 02/06 10:24:12 Updating: idalarmcra = 383537 02/06 10:24:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383537 ORDER BY IDALARMCRA DESC 02/06 10:24:12 Just before Update() 02/06 10:24:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:24:23 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:24:23 Alarms with pending videos found! 02/06 10:24:23 Next idalarmcra = 383537 02/06 10:24:23 DownloadVideos::DownloadVideoOfAlarm 02/06 10:24:23 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 10:24:23 SAM|15966 02/06 10:24:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_102416_6.mp4|71502| 02/06 10:24:23 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_102416_6.mp4 02/06 10:24:23 Date = 20190602 02/06 10:24:23 Construct from filename date 02/06 10:24:23 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_102416_6.mp4 02/06 10:24:23 Destination file not found 02/06 10:24:23 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_102416_6.mp4 02/06 10:24:23 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_102416_6.mp4 02/06 10:24:24 DownloadFile ok... checking file destination 02/06 10:24:24 URLDownloadToFile ok 02/06 10:24:24 Video .sig downloaded ok! 02/06 10:24:24 Snapshot .sig downloaded ok! 02/06 10:24:24 Elapsed download time: 00:00:01 02/06 10:24:24 UpdateVideoname 02/06 10:24:24 Updating: idalarmcra = 383537 02/06 10:24:24 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383537 ORDER BY IDALARMCRA DESC 02/06 10:24:24 Just before Update() 02/06 10:24:34 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:24:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:24:34 Don't have work. 02/06 10:24:44 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:24:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:24:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:24:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:25:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:25:05 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:25:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:25:15 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:25:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:25:25 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:25:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:25:35 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:25:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:25:45 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:25:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:25:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:26:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:26:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:26:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:26:15 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:26:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:26:26 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:26:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:26:36 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:26:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:26:46 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:26:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:26:56 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:27:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:27:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:27:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:27:16 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:27:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:27:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:27:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:27:36 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:27:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:27:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:27:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:27:56 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:28:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:28:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:28:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:28:17 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:28:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:28:27 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:28:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:28:37 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:28:37 Alarms with pending videos found! 02/06 10:28:37 Next idalarmcra = 383538 02/06 10:28:37 DownloadVideos::DownloadVideoOfAlarm 02/06 10:28:37 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 10:28:37 SAM|163123 02/06 10:28:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_104111_17.mp4|106994| 02/06 10:28:38 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_104111_17.mp4 02/06 10:28:38 Date = 20190602 02/06 10:28:38 Construct from filename date 02/06 10:28:38 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_104111_17.mp4 02/06 10:28:38 Destination file not found 02/06 10:28:38 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_104111_17.mp4 02/06 10:28:38 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_104111_17.mp4 02/06 10:28:38 DownloadFile ok... checking file destination 02/06 10:28:38 URLDownloadToFile ok 02/06 10:28:38 Video .sig downloaded ok! 02/06 10:28:39 Snapshot .sig downloaded ok! 02/06 10:28:39 Elapsed download time: 00:00:02 02/06 10:28:39 UpdateVideoname 02/06 10:28:39 Updating: idalarmcra = 383538 02/06 10:28:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383538 ORDER BY IDALARMCRA DESC 02/06 10:28:39 Just before Update() 02/06 10:28:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:28:49 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:28:49 Don't have work. 02/06 10:28:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:28:59 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:29:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:29:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:29:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:29:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:29:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:29:29 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:29:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:29:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:29:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:29:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:30:00 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:30:00 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:30:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:30:10 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:30:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:30:20 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:30:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:30:30 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:30:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:30:40 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:30:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:30:50 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:30:50 Alarms with pending videos found! 02/06 10:30:50 Next idalarmcra = 383539 02/06 10:30:50 DownloadVideos::DownloadVideoOfAlarm 02/06 10:30:50 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 10:30:50 SAM|722 02/06 10:30:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_103044_14.mp4|99575| 02/06 10:30:50 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_103044_14.mp4 02/06 10:30:50 Date = 20190602 02/06 10:30:50 Construct from filename date 02/06 10:30:50 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_103044_14.mp4 02/06 10:30:50 Destination file not found 02/06 10:30:50 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_103044_14.mp4 02/06 10:30:50 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_103044_14.mp4 02/06 10:30:51 DownloadFile ok... checking file destination 02/06 10:30:51 URLDownloadToFile ok 02/06 10:30:51 Video .sig downloaded ok! 02/06 10:30:51 Snapshot .sig downloaded ok! 02/06 10:30:51 Elapsed download time: 00:00:01 02/06 10:30:51 UpdateVideoname 02/06 10:30:51 Updating: idalarmcra = 383539 02/06 10:30:51 [D] Query(4ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383539 ORDER BY IDALARMCRA DESC 02/06 10:30:51 Just before Update() 02/06 10:31:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:31:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:31:02 Don't have work. 02/06 10:31:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:31:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:31:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:31:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:31:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:31:32 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:31:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:31:42 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:31:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:31:52 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:32:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:32:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:32:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:32:12 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:32:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:32:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:32:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:32:32 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:32:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:32:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:32:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:32:53 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:33:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:33:03 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:33:03 Alarms with pending videos found! 02/06 10:33:03 Next idalarmcra = 383540 02/06 10:33:03 DownloadVideos::DownloadVideoOfAlarm 02/06 10:33:03 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 10:33:03 SAM|22918 02/06 10:33:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_103312_13.mp4|109517| 02/06 10:33:03 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_103312_13.mp4 02/06 10:33:03 Date = 20190602 02/06 10:33:03 Construct from filename date 02/06 10:33:03 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_103312_13.mp4 02/06 10:33:03 Destination file not found 02/06 10:33:03 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_103312_13.mp4 02/06 10:33:03 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_103312_13.mp4 02/06 10:33:05 DownloadFile ok... checking file destination 02/06 10:33:05 URLDownloadToFile ok 02/06 10:33:06 Video .sig downloaded ok! 02/06 10:33:06 Snapshot .sig downloaded ok! 02/06 10:33:06 Elapsed download time: 00:00:03 02/06 10:33:06 UpdateVideoname 02/06 10:33:06 Updating: idalarmcra = 383540 02/06 10:33:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383540 ORDER BY IDALARMCRA DESC 02/06 10:33:06 Just before Update() 02/06 10:33:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:33:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:33:16 Don't have work. 02/06 10:33:26 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:33:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:33:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:33:36 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:33:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:33:46 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:33:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:33:56 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:34:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:34:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:34:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:34:17 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:34:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:34:27 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:34:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:34:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:34:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:34:47 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:34:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:34:57 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:35:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:35:07 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:35:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:35:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:35:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:35:27 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:35:27 Alarms with pending videos found! 02/06 10:35:27 Next idalarmcra = 383541 02/06 10:35:27 DownloadVideos::DownloadVideoOfAlarm 02/06 10:35:27 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:35:27 SAM|1159 02/06 10:35:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_103513_142.mp4|99265| 02/06 10:35:28 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_103513_142.mp4 02/06 10:35:28 Date = 20190602 02/06 10:35:28 Construct from filename date 02/06 10:35:28 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_103513_142.mp4 02/06 10:35:28 Destination file not found 02/06 10:35:28 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_103513_142.mp4 02/06 10:35:28 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_103513_142.mp4 02/06 10:35:28 DownloadFile ok... checking file destination 02/06 10:35:28 URLDownloadToFile ok 02/06 10:35:28 Video .sig downloaded ok! 02/06 10:35:29 Snapshot .sig downloaded ok! 02/06 10:35:29 Elapsed download time: 00:00:02 02/06 10:35:29 UpdateVideoname 02/06 10:35:29 Updating: idalarmcra = 383541 02/06 10:35:29 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383541 ORDER BY IDALARMCRA DESC 02/06 10:35:29 Just before Update() 02/06 10:35:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:35:39 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:35:39 Don't have work. 02/06 10:35:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:35:49 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:35:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:35:59 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:36:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:36:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:36:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:36:19 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:36:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:36:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:36:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:36:39 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:36:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:36:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:37:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:37:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:37:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:37:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:37:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:37:20 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:37:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:37:30 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:37:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:37:40 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:37:50 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:37:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:38:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:38:00 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:38:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:38:10 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:38:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:38:20 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:38:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:38:31 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:38:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:38:41 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:38:41 Alarms with pending videos found! 02/06 10:38:41 Next idalarmcra = 383542 02/06 10:38:41 DownloadVideos::DownloadVideoOfAlarm 02/06 10:38:41 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 10:38:41 SAM|723 02/06 10:38:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_103830_15.mp4|96457| 02/06 10:38:41 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_103830_15.mp4 02/06 10:38:41 Date = 20190602 02/06 10:38:41 Construct from filename date 02/06 10:38:41 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_103830_15.mp4 02/06 10:38:41 Destination file not found 02/06 10:38:41 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_103830_15.mp4 02/06 10:38:41 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_103830_15.mp4 02/06 10:38:42 DownloadFile ok... checking file destination 02/06 10:38:42 URLDownloadToFile ok 02/06 10:38:42 Video .sig downloaded ok! 02/06 10:38:42 Snapshot .sig downloaded ok! 02/06 10:38:42 Elapsed download time: 00:00:01 02/06 10:38:42 UpdateVideoname 02/06 10:38:42 Updating: idalarmcra = 383542 02/06 10:38:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383542 ORDER BY IDALARMCRA DESC 02/06 10:38:42 Just before Update() 02/06 10:38:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:38:52 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:38:52 Don't have work. 02/06 10:39:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:39:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:39:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:39:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:39:22 [D] Query(20ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:39:23 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:39:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:39:33 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:39:33 Alarms with pending videos found! 02/06 10:39:33 Next idalarmcra = 383543 02/06 10:39:33 DownloadVideos::DownloadVideoOfAlarm 02/06 10:39:33 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 10:39:33 SAM|22919 02/06 10:39:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 10:39:33 NOK answer received 02/06 10:39:33 UpdateVideoname 02/06 10:39:33 Updating: idalarmcra = 383543 02/06 10:39:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383543 ORDER BY IDALARMCRA DESC 02/06 10:39:33 Just before Update() 02/06 10:39:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:39:43 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:39:43 Alarms with pending videos found! 02/06 10:39:43 Next idalarmcra = 383543 02/06 10:39:43 DownloadVideos::DownloadVideoOfAlarm 02/06 10:39:43 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 10:39:43 SAM|22919 02/06 10:39:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_103943_14.mp4|108632| 02/06 10:39:44 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_103943_14.mp4 02/06 10:39:44 Date = 20190602 02/06 10:39:44 Construct from filename date 02/06 10:39:44 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_103943_14.mp4 02/06 10:39:44 Destination file not found 02/06 10:39:44 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_103943_14.mp4 02/06 10:39:44 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_103943_14.mp4 02/06 10:39:45 DownloadFile ok... checking file destination 02/06 10:39:45 URLDownloadToFile ok 02/06 10:39:45 Video .sig downloaded ok! 02/06 10:39:46 Snapshot .sig downloaded ok! 02/06 10:39:46 Elapsed download time: 00:00:03 02/06 10:39:46 UpdateVideoname 02/06 10:39:46 Updating: idalarmcra = 383543 02/06 10:39:46 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383543 ORDER BY IDALARMCRA DESC 02/06 10:39:46 Just before Update() 02/06 10:39:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:39:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:39:56 Don't have work. 02/06 10:40:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:40:06 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:40:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:40:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:40:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:40:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:40:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:40:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:40:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:40:46 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:40:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:40:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:41:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:41:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:41:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:41:17 [D] Query(20ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:41:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:41:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:41:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:41:37 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:41:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:41:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:41:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:41:57 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:42:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:42:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:42:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:42:17 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:42:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:42:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:42:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:42:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:42:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:42:48 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:42:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:42:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:43:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:43:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:43:18 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:43:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:43:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:43:28 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:43:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:43:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:43:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:43:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:43:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:43:58 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:44:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:44:08 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:44:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:44:18 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:44:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:44:29 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:44:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:44:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:44:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:44:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:44:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:44:59 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:45:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:45:09 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:45:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:45:19 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:45:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:45:29 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:45:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:45:39 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:45:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:45:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:45:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:46:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:46:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:46:10 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:46:10 Alarms with pending videos found! 02/06 10:46:10 Next idalarmcra = 383545 02/06 10:46:10 DownloadVideos::DownloadVideoOfAlarm 02/06 10:46:10 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 10:46:10 SAM|10893 02/06 10:46:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_094602_123.mp4|97309| 02/06 10:46:10 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_094602_123.mp4 02/06 10:46:10 Date = 20190602 02/06 10:46:10 Construct from filename date 02/06 10:46:10 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_094602_123.mp4 02/06 10:46:10 Destination file not found 02/06 10:46:10 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_094602_123.mp4 02/06 10:46:10 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_094602_123.mp4 02/06 10:46:11 DownloadFile ok... checking file destination 02/06 10:46:11 URLDownloadToFile ok 02/06 10:46:12 Video .sig downloaded ok! 02/06 10:46:12 Snapshot .sig downloaded ok! 02/06 10:46:12 Elapsed download time: 00:00:02 02/06 10:46:12 UpdateVideoname 02/06 10:46:12 Updating: idalarmcra = 383545 02/06 10:46:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383545 ORDER BY IDALARMCRA DESC 02/06 10:46:12 Just before Update() 02/06 10:46:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:46:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:46:22 Don't have work. 02/06 10:46:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:46:32 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:46:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:46:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:46:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:46:53 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:47:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:47:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:47:13 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:47:13 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:47:23 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:47:23 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:47:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:47:33 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:47:33 Alarms with pending videos found! 02/06 10:47:33 Next idalarmcra = 383546 02/06 10:47:33 DownloadVideos::DownloadVideoOfAlarm 02/06 10:47:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 17 02/06 10:47:33 SAM|24365 02/06 10:47:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DENIZLI_A_Cam3_Event2_20190602_104724_37.mp4|92566| 02/06 10:47:33 FilenameSrc = 20190602\\SiteDGS_VA_DENIZLI_A_Cam3_Event2_20190602_104724_37.mp4 02/06 10:47:33 Date = 20190602 02/06 10:47:33 Construct from filename date 02/06 10:47:33 Destination: c:\Davantis\CRAServer\\SITE_17\\20190602\\SiteDGS_VA_DENIZLI_A_Cam3_Event2_20190602_104724_37.mp4 02/06 10:47:33 Destination file not found 02/06 10:47:33 http://192.168.21.100:21000/20190602\\SiteDGS_VA_DENIZLI_A_Cam3_Event2_20190602_104724_37.mp4 02/06 10:47:33 c:\Davantis\CRAServer\\SITE_17\\20190602\\SiteDGS_VA_DENIZLI_A_Cam3_Event2_20190602_104724_37.mp4 02/06 10:47:34 DownloadFile ok... checking file destination 02/06 10:47:34 URLDownloadToFile ok 02/06 10:47:35 Video .sig downloaded ok! 02/06 10:47:35 Snapshot .sig downloaded ok! 02/06 10:47:35 Elapsed download time: 00:00:02 02/06 10:47:35 UpdateVideoname 02/06 10:47:35 Updating: idalarmcra = 383546 02/06 10:47:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383546 ORDER BY IDALARMCRA DESC 02/06 10:47:35 Just before Update() 02/06 10:47:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:47:45 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:47:45 Don't have work. 02/06 10:47:55 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:47:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:48:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:48:05 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:48:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:48:16 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:48:16 Alarms with pending videos found! 02/06 10:48:16 Next idalarmcra = 383548 02/06 10:48:16 DownloadVideos::DownloadVideoOfAlarm 02/06 10:48:16 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 10:48:16 SAM|22920 02/06 10:48:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_104825_15.mp4|112393| 02/06 10:48:16 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_104825_15.mp4 02/06 10:48:16 Date = 20190602 02/06 10:48:16 Construct from filename date 02/06 10:48:16 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_104825_15.mp4 02/06 10:48:16 Destination file not found 02/06 10:48:16 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_104825_15.mp4 02/06 10:48:16 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_104825_15.mp4 02/06 10:48:18 DownloadFile ok... checking file destination 02/06 10:48:18 URLDownloadToFile ok 02/06 10:48:18 Video .sig downloaded ok! 02/06 10:48:19 Snapshot .sig downloaded ok! 02/06 10:48:19 Elapsed download time: 00:00:03 02/06 10:48:19 UpdateVideoname 02/06 10:48:19 Updating: idalarmcra = 383548 02/06 10:48:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383548 ORDER BY IDALARMCRA DESC 02/06 10:48:19 Just before Update() 02/06 10:48:19 Next idalarmcra = 383547 02/06 10:48:19 DownloadVideos::DownloadVideoOfAlarm 02/06 10:48:19 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 10:48:19 SAM|4682 02/06 10:48:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_104937_124.mp4|106289| 02/06 10:48:19 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_104937_124.mp4 02/06 10:48:19 Date = 20190602 02/06 10:48:19 Construct from filename date 02/06 10:48:19 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_104937_124.mp4 02/06 10:48:19 Destination file not found 02/06 10:48:19 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_104937_124.mp4 02/06 10:48:19 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_104937_124.mp4 02/06 10:48:22 DownloadFile ok... checking file destination 02/06 10:48:22 URLDownloadToFile ok 02/06 10:48:22 Video .sig downloaded ok! 02/06 10:48:22 Snapshot .sig downloaded ok! 02/06 10:48:22 Elapsed download time: 00:00:03 02/06 10:48:23 UpdateVideoname 02/06 10:48:23 Updating: idalarmcra = 383547 02/06 10:48:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383547 ORDER BY IDALARMCRA DESC 02/06 10:48:23 Just before Update() 02/06 10:48:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:48:33 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:48:33 Alarms with pending videos found! 02/06 10:48:33 Next idalarmcra = 383549 02/06 10:48:33 DownloadVideos::DownloadVideoOfAlarm 02/06 10:48:33 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 10:48:33 SAM|4683 02/06 10:48:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam2_Event2_20190602_104942_22.mp4|104633| 02/06 10:48:33 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam2_Event2_20190602_104942_22.mp4 02/06 10:48:33 Date = 20190602 02/06 10:48:33 Construct from filename date 02/06 10:48:33 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam2_Event2_20190602_104942_22.mp4 02/06 10:48:33 Destination file not found 02/06 10:48:33 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam2_Event2_20190602_104942_22.mp4 02/06 10:48:33 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam2_Event2_20190602_104942_22.mp4 02/06 10:48:35 DownloadFile ok... checking file destination 02/06 10:48:35 URLDownloadToFile ok 02/06 10:48:35 Video .sig downloaded ok! 02/06 10:48:35 Snapshot .sig downloaded ok! 02/06 10:48:35 Elapsed download time: 00:00:02 02/06 10:48:36 UpdateVideoname 02/06 10:48:36 Updating: idalarmcra = 383549 02/06 10:48:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383549 ORDER BY IDALARMCRA DESC 02/06 10:48:36 Just before Update() 02/06 10:48:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:48:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:48:46 Don't have work. 02/06 10:48:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:48:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:49:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:49:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:49:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:49:16 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:49:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:49:26 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:49:36 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:49:36 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:49:36 Alarms with pending videos found! 02/06 10:49:36 Next idalarmcra = 383550 02/06 10:49:36 DownloadVideos::DownloadVideoOfAlarm 02/06 10:49:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:49:36 SAM|1160 02/06 10:49:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_104928_31.mp4|106153| 02/06 10:49:36 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_104928_31.mp4 02/06 10:49:36 Date = 20190602 02/06 10:49:36 Construct from filename date 02/06 10:49:36 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_104928_31.mp4 02/06 10:49:36 Destination file not found 02/06 10:49:36 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_104928_31.mp4 02/06 10:49:36 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_104928_31.mp4 02/06 10:49:37 DownloadFile ok... checking file destination 02/06 10:49:37 URLDownloadToFile ok 02/06 10:49:37 Video .sig downloaded ok! 02/06 10:49:37 Snapshot .sig downloaded ok! 02/06 10:49:37 Elapsed download time: 00:00:01 02/06 10:49:37 UpdateVideoname 02/06 10:49:37 Updating: idalarmcra = 383550 02/06 10:49:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383550 ORDER BY IDALARMCRA DESC 02/06 10:49:37 Just before Update() 02/06 10:49:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:49:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:49:48 Don't have work. 02/06 10:49:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:49:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:50:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:50:08 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:50:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:50:18 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:50:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:50:28 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:50:38 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:50:38 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:50:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:50:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:50:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:50:58 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:51:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:51:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:51:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:51:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:51:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:51:28 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:51:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:51:39 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:51:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:51:49 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:51:59 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:51:59 [D] Query(20ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:52:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:52:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:52:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:52:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:52:29 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:52:29 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:52:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:52:39 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:52:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:52:49 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:52:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:52:59 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:53:09 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:53:09 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:53:09 Alarms with pending videos found! 02/06 10:53:09 Next idalarmcra = 383551 02/06 10:53:09 DownloadVideos::DownloadVideoOfAlarm 02/06 10:53:09 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 10:53:09 SAM|4684 02/06 10:53:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_105420_125.mp4|113795| 02/06 10:53:10 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_105420_125.mp4 02/06 10:53:10 Date = 20190602 02/06 10:53:10 Construct from filename date 02/06 10:53:10 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_105420_125.mp4 02/06 10:53:10 Destination file not found 02/06 10:53:10 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_105420_125.mp4 02/06 10:53:10 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_105420_125.mp4 02/06 10:53:11 DownloadFile ok... checking file destination 02/06 10:53:11 URLDownloadToFile ok 02/06 10:53:12 Video .sig downloaded ok! 02/06 10:53:12 Snapshot .sig downloaded ok! 02/06 10:53:12 Elapsed download time: 00:00:03 02/06 10:53:12 UpdateVideoname 02/06 10:53:12 Updating: idalarmcra = 383551 02/06 10:53:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383551 ORDER BY IDALARMCRA DESC 02/06 10:53:12 Just before Update() 02/06 10:53:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:53:22 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:53:22 Don't have work. 02/06 10:53:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:53:32 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:53:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:53:43 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:53:53 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:53:53 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:54:03 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:54:03 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:54:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:54:13 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:54:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:54:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:54:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:54:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:54:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:54:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:54:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:54:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 10:55:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:55:03 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:55:03 Alarms with pending videos found! 02/06 10:55:03 Next idalarmcra = 383552 02/06 10:55:03 DownloadVideos::DownloadVideoOfAlarm 02/06 10:55:03 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 10:55:03 SAM|724 02/06 10:55:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 10:55:04 NOK answer received 02/06 10:55:04 UpdateVideoname 02/06 10:55:04 Updating: idalarmcra = 383552 02/06 10:55:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383552 ORDER BY IDALARMCRA DESC 02/06 10:55:04 Just before Update() 02/06 10:55:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:55:14 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:55:14 Alarms with pending videos found! 02/06 10:55:14 Next idalarmcra = 383552 02/06 10:55:14 DownloadVideos::DownloadVideoOfAlarm 02/06 10:55:14 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 10:55:14 SAM|724 02/06 10:55:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_105459_16.mp4|98842| 02/06 10:55:14 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_105459_16.mp4 02/06 10:55:14 Date = 20190602 02/06 10:55:14 Construct from filename date 02/06 10:55:14 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_105459_16.mp4 02/06 10:55:14 Destination file not found 02/06 10:55:14 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_105459_16.mp4 02/06 10:55:14 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_105459_16.mp4 02/06 10:55:18 DownloadFile ok... checking file destination 02/06 10:55:18 URLDownloadToFile ok 02/06 10:55:18 Video .sig downloaded ok! 02/06 10:55:18 Snapshot .sig downloaded ok! 02/06 10:55:18 Elapsed download time: 00:00:04 02/06 10:55:19 UpdateVideoname 02/06 10:55:19 Updating: idalarmcra = 383552 02/06 10:55:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383552 ORDER BY IDALARMCRA DESC 02/06 10:55:19 Just before Update() 02/06 10:55:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:55:29 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:55:29 Don't have work. 02/06 10:55:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:55:39 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:55:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:55:49 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:55:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:55:59 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:56:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:56:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:56:19 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:56:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:56:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:56:29 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:56:29 Alarms with pending videos found! 02/06 10:56:29 Next idalarmcra = 383553 02/06 10:56:29 DownloadVideos::DownloadVideoOfAlarm 02/06 10:56:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:56:29 SAM|1161 02/06 10:56:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_105620_32.mp4|112145| 02/06 10:56:30 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_105620_32.mp4 02/06 10:56:30 Date = 20190602 02/06 10:56:30 Construct from filename date 02/06 10:56:30 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_105620_32.mp4 02/06 10:56:30 Destination file not found 02/06 10:56:30 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_105620_32.mp4 02/06 10:56:30 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_105620_32.mp4 02/06 10:56:30 DownloadFile ok... checking file destination 02/06 10:56:30 URLDownloadToFile ok 02/06 10:56:30 Video .sig downloaded ok! 02/06 10:56:31 Snapshot .sig downloaded ok! 02/06 10:56:31 Elapsed download time: 00:00:02 02/06 10:56:31 UpdateVideoname 02/06 10:56:31 Updating: idalarmcra = 383553 02/06 10:56:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383553 ORDER BY IDALARMCRA DESC 02/06 10:56:31 Just before Update() 02/06 10:56:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:56:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:56:41 Don't have work. 02/06 10:56:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:56:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:57:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:57:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:57:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:57:11 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:57:11 Alarms with pending videos found! 02/06 10:57:11 Next idalarmcra = 383554 02/06 10:57:11 DownloadVideos::DownloadVideoOfAlarm 02/06 10:57:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:57:11 SAM|1162 02/06 10:57:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_105657_63.mp4|102209| 02/06 10:57:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_105657_63.mp4 02/06 10:57:11 Date = 20190602 02/06 10:57:11 Construct from filename date 02/06 10:57:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_105657_63.mp4 02/06 10:57:11 Destination file not found 02/06 10:57:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_105657_63.mp4 02/06 10:57:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_105657_63.mp4 02/06 10:57:12 DownloadFile ok... checking file destination 02/06 10:57:12 URLDownloadToFile ok 02/06 10:57:12 Video .sig downloaded ok! 02/06 10:57:12 Snapshot .sig downloaded ok! 02/06 10:57:12 Elapsed download time: 00:00:01 02/06 10:57:12 UpdateVideoname 02/06 10:57:12 Updating: idalarmcra = 383554 02/06 10:57:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383554 ORDER BY IDALARMCRA DESC 02/06 10:57:12 Just before Update() 02/06 10:57:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:57:22 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:57:22 Alarms with pending videos found! 02/06 10:57:22 Next idalarmcra = 383555 02/06 10:57:22 DownloadVideos::DownloadVideoOfAlarm 02/06 10:57:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:57:22 SAM|1163 02/06 10:57:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_105711_58.mp4|96676| 02/06 10:57:23 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_105711_58.mp4 02/06 10:57:23 Date = 20190602 02/06 10:57:23 Construct from filename date 02/06 10:57:23 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_105711_58.mp4 02/06 10:57:23 Destination file not found 02/06 10:57:23 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_105711_58.mp4 02/06 10:57:23 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_105711_58.mp4 02/06 10:57:23 DownloadFile ok... checking file destination 02/06 10:57:23 URLDownloadToFile ok 02/06 10:57:23 Video .sig downloaded ok! 02/06 10:57:23 Snapshot .sig downloaded ok! 02/06 10:57:23 Elapsed download time: 00:00:01 02/06 10:57:23 UpdateVideoname 02/06 10:57:23 Updating: idalarmcra = 383555 02/06 10:57:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383555 ORDER BY IDALARMCRA DESC 02/06 10:57:23 Just before Update() 02/06 10:57:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:57:33 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:57:33 Don't have work. 02/06 10:57:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:57:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:57:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:57:53 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:58:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:58:04 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:58:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:58:14 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:58:14 Alarms with pending videos found! 02/06 10:58:14 Next idalarmcra = 383556 02/06 10:58:14 DownloadVideos::DownloadVideoOfAlarm 02/06 10:58:14 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 10:58:14 SAM|4685 02/06 10:58:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_105930_126.mp4|110826| 02/06 10:58:14 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_105930_126.mp4 02/06 10:58:14 Date = 20190602 02/06 10:58:14 Construct from filename date 02/06 10:58:14 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_105930_126.mp4 02/06 10:58:14 Destination file not found 02/06 10:58:14 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_105930_126.mp4 02/06 10:58:14 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_105930_126.mp4 02/06 10:58:16 DownloadFile ok... checking file destination 02/06 10:58:16 URLDownloadToFile ok 02/06 10:58:17 Video .sig downloaded ok! 02/06 10:58:17 Snapshot .sig downloaded ok! 02/06 10:58:17 Elapsed download time: 00:00:03 02/06 10:58:17 UpdateVideoname 02/06 10:58:17 Updating: idalarmcra = 383556 02/06 10:58:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383556 ORDER BY IDALARMCRA DESC 02/06 10:58:17 Just before Update() 02/06 10:58:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:58:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:58:27 Don't have work. 02/06 10:58:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:58:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:58:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:58:47 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:58:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:58:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:59:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:59:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:59:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:59:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 10:59:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:59:28 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:59:28 Alarms with pending videos found! 02/06 10:59:28 Next idalarmcra = 383557 02/06 10:59:28 DownloadVideos::DownloadVideoOfAlarm 02/06 10:59:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 10:59:28 SAM|1164 02/06 10:59:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_105916_33.mp4|113373| 02/06 10:59:28 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_105916_33.mp4 02/06 10:59:28 Date = 20190602 02/06 10:59:28 Construct from filename date 02/06 10:59:28 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_105916_33.mp4 02/06 10:59:28 Destination file not found 02/06 10:59:28 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_105916_33.mp4 02/06 10:59:28 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_105916_33.mp4 02/06 10:59:29 DownloadFile ok... checking file destination 02/06 10:59:29 URLDownloadToFile ok 02/06 10:59:29 Video .sig downloaded ok! 02/06 10:59:29 Snapshot .sig downloaded ok! 02/06 10:59:29 Elapsed download time: 00:00:01 02/06 10:59:29 UpdateVideoname 02/06 10:59:29 Updating: idalarmcra = 383557 02/06 10:59:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383557 ORDER BY IDALARMCRA DESC 02/06 10:59:29 Just before Update() 02/06 10:59:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:59:39 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 10:59:39 Don't have work. 02/06 10:59:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 10:59:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 9 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:00:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:00:00 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:00:00 Alarms with pending videos found! 02/06 11:00:00 Next idalarmcra = 383558 02/06 11:00:00 DownloadVideos::DownloadVideoOfAlarm 02/06 11:00:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:00:00 SAM|1165 02/06 11:00:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:00:00 NOK answer received 02/06 11:00:00 UpdateVideoname 02/06 11:00:00 Updating: idalarmcra = 383558 02/06 11:00:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383558 ORDER BY IDALARMCRA DESC 02/06 11:00:00 Just before Update() 02/06 11:00:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:00:10 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:00:10 Alarms with pending videos found! 02/06 11:00:10 Next idalarmcra = 383558 02/06 11:00:10 DownloadVideos::DownloadVideoOfAlarm 02/06 11:00:10 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:00:10 SAM|1165 02/06 11:00:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_105954_64.mp4|93007| 02/06 11:00:10 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_105954_64.mp4 02/06 11:00:10 Date = 20190602 02/06 11:00:10 Construct from filename date 02/06 11:00:10 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_105954_64.mp4 02/06 11:00:10 Destination file not found 02/06 11:00:10 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_105954_64.mp4 02/06 11:00:10 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_105954_64.mp4 02/06 11:00:10 DownloadFile ok... checking file destination 02/06 11:00:10 URLDownloadToFile ok 02/06 11:00:11 Video .sig downloaded ok! 02/06 11:00:11 Snapshot .sig downloaded ok! 02/06 11:00:11 Elapsed download time: 00:00:01 02/06 11:00:11 UpdateVideoname 02/06 11:00:11 Updating: idalarmcra = 383558 02/06 11:00:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383558 ORDER BY IDALARMCRA DESC 02/06 11:00:11 Just before Update() 02/06 11:00:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:00:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:00:21 Don't have work. 02/06 11:00:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:00:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:00:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:00:41 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:00:41 Alarms with pending videos found! 02/06 11:00:41 Next idalarmcra = 383559 02/06 11:00:41 DownloadVideos::DownloadVideoOfAlarm 02/06 11:00:41 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 42 02/06 11:00:41 SAM|2885 02/06 11:00:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:00:41 NOK answer received 02/06 11:00:42 UpdateVideoname 02/06 11:00:42 Updating: idalarmcra = 383559 02/06 11:00:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383559 ORDER BY IDALARMCRA DESC 02/06 11:00:42 Just before Update() 02/06 11:00:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:00:52 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:00:52 Alarms with pending videos found! 02/06 11:00:52 Next idalarmcra = 383559 02/06 11:00:52 DownloadVideos::DownloadVideoOfAlarm 02/06 11:00:52 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 42 02/06 11:00:52 SAM|2885 02/06 11:00:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SOMA_B_Cam1_Event2_20190602_110039_66.mp4|78048| 02/06 11:00:53 FilenameSrc = 20190602\\SiteDGS_VA_SOMA_B_Cam1_Event2_20190602_110039_66.mp4 02/06 11:00:53 Date = 20190602 02/06 11:00:53 Construct from filename date 02/06 11:00:53 Destination: c:\Davantis\CRAServer\\SITE_42\\20190602\\SiteDGS_VA_SOMA_B_Cam1_Event2_20190602_110039_66.mp4 02/06 11:00:53 Destination file not found 02/06 11:00:53 http://192.168.35.101:21001/20190602\\SiteDGS_VA_SOMA_B_Cam1_Event2_20190602_110039_66.mp4 02/06 11:00:53 c:\Davantis\CRAServer\\SITE_42\\20190602\\SiteDGS_VA_SOMA_B_Cam1_Event2_20190602_110039_66.mp4 02/06 11:00:53 DownloadFile ok... checking file destination 02/06 11:00:53 URLDownloadToFile ok 02/06 11:00:54 Video .sig downloaded ok! 02/06 11:00:54 Snapshot .sig downloaded ok! 02/06 11:00:54 Elapsed download time: 00:00:02 02/06 11:00:54 UpdateVideoname 02/06 11:00:54 Updating: idalarmcra = 383559 02/06 11:00:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383559 ORDER BY IDALARMCRA DESC 02/06 11:00:54 Just before Update() 02/06 11:01:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:01:04 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:01:04 Don't have work. 02/06 11:01:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:01:15 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:01:15 Alarms with pending videos found! 02/06 11:01:15 Next idalarmcra = 383560 02/06 11:01:15 DownloadVideos::DownloadVideoOfAlarm 02/06 11:01:15 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 11:01:15 SAM|4686 02/06 11:01:15 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_110228_127.mp4|110152| 02/06 11:01:15 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_110228_127.mp4 02/06 11:01:15 Date = 20190602 02/06 11:01:15 Construct from filename date 02/06 11:01:15 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_110228_127.mp4 02/06 11:01:15 Destination file not found 02/06 11:01:15 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_110228_127.mp4 02/06 11:01:15 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_110228_127.mp4 02/06 11:01:17 DownloadFile ok... checking file destination 02/06 11:01:17 URLDownloadToFile ok 02/06 11:01:18 Video .sig downloaded ok! 02/06 11:01:19 Snapshot .sig downloaded ok! 02/06 11:01:19 Elapsed download time: 00:00:04 02/06 11:01:19 UpdateVideoname 02/06 11:01:19 Updating: idalarmcra = 383560 02/06 11:01:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383560 ORDER BY IDALARMCRA DESC 02/06 11:01:19 Just before Update() 02/06 11:01:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:01:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:01:29 Don't have work. 02/06 11:01:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:01:39 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:01:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:01:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:01:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:01:59 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:02:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:02:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:02:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:02:19 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:02:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:02:29 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:02:29 Alarms with pending videos found! 02/06 11:02:29 Next idalarmcra = 383561 02/06 11:02:29 DownloadVideos::DownloadVideoOfAlarm 02/06 11:02:29 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:02:29 SAM|1166 02/06 11:02:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:02:30 NOK answer received 02/06 11:02:30 UpdateVideoname 02/06 11:02:30 Updating: idalarmcra = 383561 02/06 11:02:30 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383561 ORDER BY IDALARMCRA DESC 02/06 11:02:30 Just before Update() 02/06 11:02:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:02:40 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:02:40 Alarms with pending videos found! 02/06 11:02:40 Next idalarmcra = 383561 02/06 11:02:40 DownloadVideos::DownloadVideoOfAlarm 02/06 11:02:40 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:02:40 SAM|1166 02/06 11:02:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_110228_65.mp4|100553| 02/06 11:02:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_110228_65.mp4 02/06 11:02:40 Date = 20190602 02/06 11:02:40 Construct from filename date 02/06 11:02:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_110228_65.mp4 02/06 11:02:40 Destination file not found 02/06 11:02:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_110228_65.mp4 02/06 11:02:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_110228_65.mp4 02/06 11:02:44 DownloadFile ok... checking file destination 02/06 11:02:44 URLDownloadToFile ok 02/06 11:02:44 Video .sig downloaded ok! 02/06 11:02:44 Snapshot .sig downloaded ok! 02/06 11:02:44 Elapsed download time: 00:00:04 02/06 11:02:44 UpdateVideoname 02/06 11:02:44 Updating: idalarmcra = 383561 02/06 11:02:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383561 ORDER BY IDALARMCRA DESC 02/06 11:02:44 Just before Update() 02/06 11:02:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:02:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:02:54 Don't have work. 02/06 11:03:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:03:04 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:03:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:03:15 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:03:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:03:25 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:03:25 Alarms with pending videos found! 02/06 11:03:25 Next idalarmcra = 383562 02/06 11:03:25 DownloadVideos::DownloadVideoOfAlarm 02/06 11:03:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 11:03:25 SAM|10894 02/06 11:03:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_100316_124.mp4|88165| 02/06 11:03:25 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_100316_124.mp4 02/06 11:03:25 Date = 20190602 02/06 11:03:25 Construct from filename date 02/06 11:03:25 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_100316_124.mp4 02/06 11:03:25 Destination file not found 02/06 11:03:25 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_100316_124.mp4 02/06 11:03:25 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_100316_124.mp4 02/06 11:03:26 DownloadFile ok... checking file destination 02/06 11:03:26 URLDownloadToFile ok 02/06 11:03:26 Video .sig downloaded ok! 02/06 11:03:27 Snapshot .sig downloaded ok! 02/06 11:03:27 Elapsed download time: 00:00:02 02/06 11:03:27 UpdateVideoname 02/06 11:03:27 Updating: idalarmcra = 383562 02/06 11:03:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383562 ORDER BY IDALARMCRA DESC 02/06 11:03:27 Just before Update() 02/06 11:03:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:03:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:03:37 Don't have work. 02/06 11:03:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:03:47 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:03:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:03:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:04:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:04:07 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:04:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:04:17 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:04:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:04:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:04:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:04:38 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:04:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:04:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:04:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:04:58 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:05:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:05:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:05:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:05:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:05:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:05:28 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:05:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:05:38 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:05:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:05:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:05:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:05:58 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:06:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:06:08 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:06:08 Alarms with pending videos found! 02/06 11:06:08 Next idalarmcra = 383571 02/06 11:06:08 DownloadVideos::DownloadVideoOfAlarm 02/06 11:06:08 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 11:06:08 SAM|22921 02/06 11:06:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_110614_16.mp4|110692| 02/06 11:06:09 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_110614_16.mp4 02/06 11:06:09 Date = 20190602 02/06 11:06:09 Construct from filename date 02/06 11:06:09 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_110614_16.mp4 02/06 11:06:09 Destination file not found 02/06 11:06:09 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_110614_16.mp4 02/06 11:06:09 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_110614_16.mp4 02/06 11:06:11 DownloadFile ok... checking file destination 02/06 11:06:11 URLDownloadToFile ok 02/06 11:06:11 Video .sig downloaded ok! 02/06 11:06:11 Snapshot .sig downloaded ok! 02/06 11:06:11 Elapsed download time: 00:00:03 02/06 11:06:11 UpdateVideoname 02/06 11:06:11 Updating: idalarmcra = 383571 02/06 11:06:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383571 ORDER BY IDALARMCRA DESC 02/06 11:06:11 Just before Update() 02/06 11:06:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:06:21 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:06:21 Don't have work. 02/06 11:06:31 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:06:32 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:06:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:06:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:06:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:06:52 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:07:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:07:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:07:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:07:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:07:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:07:22 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:07:22 Alarms with pending videos found! 02/06 11:07:22 Next idalarmcra = 383572 02/06 11:07:22 DownloadVideos::DownloadVideoOfAlarm 02/06 11:07:22 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:07:22 SAM|1167 02/06 11:07:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_110712_34.mp4|110227| 02/06 11:07:22 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_110712_34.mp4 02/06 11:07:22 Date = 20190602 02/06 11:07:22 Construct from filename date 02/06 11:07:22 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_110712_34.mp4 02/06 11:07:22 Destination file not found 02/06 11:07:22 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_110712_34.mp4 02/06 11:07:22 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_110712_34.mp4 02/06 11:07:25 DownloadFile ok... checking file destination 02/06 11:07:25 URLDownloadToFile ok 02/06 11:07:26 Video .sig downloaded ok! 02/06 11:07:26 Snapshot .sig downloaded ok! 02/06 11:07:26 Elapsed download time: 00:00:04 02/06 11:07:26 UpdateVideoname 02/06 11:07:26 Updating: idalarmcra = 383572 02/06 11:07:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383572 ORDER BY IDALARMCRA DESC 02/06 11:07:26 Just before Update() 02/06 11:07:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:07:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:07:36 Don't have work. 02/06 11:07:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:07:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:07:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:07:56 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:08:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:08:06 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:08:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:08:16 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:08:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:08:26 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:08:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:08:36 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:08:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:08:46 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:08:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:08:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:09:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:09:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:09:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:09:17 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:09:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:09:27 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:09:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:09:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:09:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:09:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:09:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:09:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:10:07 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:10:07 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:10:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:10:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:10:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:10:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:10:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:10:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:10:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:10:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:10:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:10:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:11:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:11:08 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:11:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:11:18 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:11:18 Alarms with pending videos found! 02/06 11:11:18 Next idalarmcra = 383575 02/06 11:11:18 DownloadVideos::DownloadVideoOfAlarm 02/06 11:11:18 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 11:11:18 SAM|725 02/06 11:11:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_111111_17.mp4|104994| 02/06 11:11:18 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_111111_17.mp4 02/06 11:11:18 Date = 20190602 02/06 11:11:18 Construct from filename date 02/06 11:11:18 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_111111_17.mp4 02/06 11:11:18 Destination file not found 02/06 11:11:18 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_111111_17.mp4 02/06 11:11:18 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_111111_17.mp4 02/06 11:11:20 DownloadFile ok... checking file destination 02/06 11:11:20 URLDownloadToFile ok 02/06 11:11:21 Video .sig downloaded ok! 02/06 11:11:21 Snapshot .sig downloaded ok! 02/06 11:11:21 Elapsed download time: 00:00:03 02/06 11:11:21 UpdateVideoname 02/06 11:11:21 Updating: idalarmcra = 383575 02/06 11:11:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383575 ORDER BY IDALARMCRA DESC 02/06 11:11:21 Just before Update() 02/06 11:11:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:11:31 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:11:31 Don't have work. 02/06 11:11:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:11:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:11:51 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:11:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:12:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:12:01 [D] Query(28ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:12:01 Alarms with pending videos found! 02/06 11:12:01 Next idalarmcra = 383576 02/06 11:12:01 DownloadVideos::DownloadVideoOfAlarm 02/06 11:12:01 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 11:12:01 SAM|10895 02/06 11:12:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:12:02 NOK answer received 02/06 11:12:02 UpdateVideoname 02/06 11:12:02 Updating: idalarmcra = 383576 02/06 11:12:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383576 ORDER BY IDALARMCRA DESC 02/06 11:12:02 Just before Update() 02/06 11:12:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:12:12 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:12:12 Alarms with pending videos found! 02/06 11:12:12 Next idalarmcra = 383576 02/06 11:12:12 DownloadVideos::DownloadVideoOfAlarm 02/06 11:12:12 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 11:12:12 SAM|10895 02/06 11:12:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101156_125.mp4|98458| 02/06 11:12:12 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101156_125.mp4 02/06 11:12:12 Date = 20190602 02/06 11:12:12 Construct from filename date 02/06 11:12:12 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101156_125.mp4 02/06 11:12:12 Destination file not found 02/06 11:12:12 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101156_125.mp4 02/06 11:12:12 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101156_125.mp4 02/06 11:12:14 DownloadFile ok... checking file destination 02/06 11:12:14 URLDownloadToFile ok 02/06 11:12:14 Video .sig downloaded ok! 02/06 11:12:14 Snapshot .sig downloaded ok! 02/06 11:12:14 Elapsed download time: 00:00:02 02/06 11:12:14 UpdateVideoname 02/06 11:12:14 Updating: idalarmcra = 383576 02/06 11:12:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383576 ORDER BY IDALARMCRA DESC 02/06 11:12:14 Just before Update() 02/06 11:12:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:12:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:12:25 Don't have work. 02/06 11:12:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:12:35 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:12:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:12:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:12:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:12:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:13:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:13:05 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:13:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:13:15 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:13:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:13:25 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:13:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:13:35 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:13:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:13:45 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:13:55 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:13:55 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:13:55 Alarms with pending videos found! 02/06 11:13:55 Next idalarmcra = 383579 02/06 11:13:55 DownloadVideos::DownloadVideoOfAlarm 02/06 11:13:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 11:13:55 SAM|22922 02/06 11:13:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_111402_17.mp4|114191| 02/06 11:13:56 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_111402_17.mp4 02/06 11:13:56 Date = 20190602 02/06 11:13:56 Construct from filename date 02/06 11:13:56 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_111402_17.mp4 02/06 11:13:56 Destination file not found 02/06 11:13:56 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_111402_17.mp4 02/06 11:13:56 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_111402_17.mp4 02/06 11:13:57 DownloadFile ok... checking file destination 02/06 11:13:57 URLDownloadToFile ok 02/06 11:13:58 Video .sig downloaded ok! 02/06 11:13:58 Snapshot .sig downloaded ok! 02/06 11:13:58 Elapsed download time: 00:00:03 02/06 11:13:58 UpdateVideoname 02/06 11:13:58 Updating: idalarmcra = 383579 02/06 11:13:58 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383579 ORDER BY IDALARMCRA DESC 02/06 11:13:58 Just before Update() 02/06 11:13:58 Next idalarmcra = 383578 02/06 11:13:58 DownloadVideos::DownloadVideoOfAlarm 02/06 11:13:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 11:13:58 SAM|4687 02/06 11:13:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_111511_128.mp4|112144| 02/06 11:13:58 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_111511_128.mp4 02/06 11:13:58 Date = 20190602 02/06 11:13:58 Construct from filename date 02/06 11:13:58 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_111511_128.mp4 02/06 11:13:58 Destination file not found 02/06 11:13:58 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_111511_128.mp4 02/06 11:13:58 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_111511_128.mp4 02/06 11:14:00 DownloadFile ok... checking file destination 02/06 11:14:00 URLDownloadToFile ok 02/06 11:14:00 Video .sig downloaded ok! 02/06 11:14:01 Snapshot .sig downloaded ok! 02/06 11:14:01 Elapsed download time: 00:00:03 02/06 11:14:01 UpdateVideoname 02/06 11:14:01 Updating: idalarmcra = 383578 02/06 11:14:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383578 ORDER BY IDALARMCRA DESC 02/06 11:14:01 Just before Update() 02/06 11:14:11 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:14:11 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:14:11 Don't have work. 02/06 11:14:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:14:21 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:14:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:14:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:14:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:14:41 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:14:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:14:51 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:15:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:15:01 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:15:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:15:12 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:15:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:15:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:15:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:15:32 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:15:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:15:42 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:15:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:15:52 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:15:52 Alarms with pending videos found! 02/06 11:15:52 Next idalarmcra = 383581 02/06 11:15:52 DownloadVideos::DownloadVideoOfAlarm 02/06 11:15:52 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 11:15:52 SAM|16949 02/06 11:15:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_111540_105.mp4|106290| 02/06 11:15:52 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_111540_105.mp4 02/06 11:15:52 Date = 20190602 02/06 11:15:52 Construct from filename date 02/06 11:15:52 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_111540_105.mp4 02/06 11:15:52 Destination file not found 02/06 11:15:52 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_111540_105.mp4 02/06 11:15:52 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_111540_105.mp4 02/06 11:15:53 DownloadFile ok... checking file destination 02/06 11:15:53 URLDownloadToFile ok 02/06 11:15:53 Video .sig downloaded ok! 02/06 11:15:53 Snapshot .sig downloaded ok! 02/06 11:15:53 Elapsed download time: 00:00:01 02/06 11:15:53 UpdateVideoname 02/06 11:15:53 Updating: idalarmcra = 383581 02/06 11:15:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383581 ORDER BY IDALARMCRA DESC 02/06 11:15:53 Just before Update() 02/06 11:15:53 Next idalarmcra = 383580 02/06 11:15:53 DownloadVideos::DownloadVideoOfAlarm 02/06 11:15:53 [D] Query(14ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 11:15:53 SAM|4688 02/06 11:15:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_111707_129.mp4|110331| 02/06 11:15:54 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_111707_129.mp4 02/06 11:15:54 Date = 20190602 02/06 11:15:54 Construct from filename date 02/06 11:15:54 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_111707_129.mp4 02/06 11:15:54 Destination file not found 02/06 11:15:54 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_111707_129.mp4 02/06 11:15:54 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_111707_129.mp4 02/06 11:15:56 DownloadFile ok... checking file destination 02/06 11:15:56 URLDownloadToFile ok 02/06 11:15:56 Video .sig downloaded ok! 02/06 11:15:57 Snapshot .sig downloaded ok! 02/06 11:15:57 Elapsed download time: 00:00:04 02/06 11:15:57 UpdateVideoname 02/06 11:15:57 Updating: idalarmcra = 383580 02/06 11:15:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383580 ORDER BY IDALARMCRA DESC 02/06 11:15:57 Just before Update() 02/06 11:16:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:16:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:16:07 Don't have work. 02/06 11:16:17 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:16:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:16:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:16:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:16:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:16:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:16:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:16:47 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:16:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:16:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:17:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:17:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:17:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:17:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:17:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:17:28 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:17:38 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:17:38 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:17:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:17:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:17:58 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:17:58 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:18:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:18:08 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:18:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:18:18 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:18:18 Alarms with pending videos found! 02/06 11:18:18 Next idalarmcra = 383584 02/06 11:18:18 DownloadVideos::DownloadVideoOfAlarm 02/06 11:18:18 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 11:18:18 SAM|10896 02/06 11:18:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:18:18 NOK answer received 02/06 11:18:18 UpdateVideoname 02/06 11:18:18 Updating: idalarmcra = 383584 02/06 11:18:18 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383584 ORDER BY IDALARMCRA DESC 02/06 11:18:18 Just before Update() 02/06 11:18:18 Next idalarmcra = 383583 02/06 11:18:18 DownloadVideos::DownloadVideoOfAlarm 02/06 11:18:19 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 11:18:19 SAM|726 02/06 11:18:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_111811_18.mp4|95199| 02/06 11:18:19 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_111811_18.mp4 02/06 11:18:19 Date = 20190602 02/06 11:18:19 Construct from filename date 02/06 11:18:19 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_111811_18.mp4 02/06 11:18:19 Destination file not found 02/06 11:18:19 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_111811_18.mp4 02/06 11:18:19 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_111811_18.mp4 02/06 11:18:19 DownloadFile ok... checking file destination 02/06 11:18:19 URLDownloadToFile ok 02/06 11:18:20 Video .sig downloaded ok! 02/06 11:18:20 Snapshot .sig downloaded ok! 02/06 11:18:20 Elapsed download time: 00:00:01 02/06 11:18:20 UpdateVideoname 02/06 11:18:20 Updating: idalarmcra = 383583 02/06 11:18:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383583 ORDER BY IDALARMCRA DESC 02/06 11:18:20 Just before Update() 02/06 11:18:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:18:30 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:18:30 Alarms with pending videos found! 02/06 11:18:30 Next idalarmcra = 383584 02/06 11:18:30 DownloadVideos::DownloadVideoOfAlarm 02/06 11:18:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 11:18:30 SAM|10896 02/06 11:18:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101813_126.mp4|89721| 02/06 11:18:30 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101813_126.mp4 02/06 11:18:30 Date = 20190602 02/06 11:18:30 Construct from filename date 02/06 11:18:30 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101813_126.mp4 02/06 11:18:30 Destination file not found 02/06 11:18:30 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101813_126.mp4 02/06 11:18:30 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101813_126.mp4 02/06 11:18:32 DownloadFile ok... checking file destination 02/06 11:18:32 URLDownloadToFile ok 02/06 11:18:33 Video .sig downloaded ok! 02/06 11:18:33 Snapshot .sig downloaded ok! 02/06 11:18:33 Elapsed download time: 00:00:03 02/06 11:18:33 UpdateVideoname 02/06 11:18:33 Updating: idalarmcra = 383584 02/06 11:18:33 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383584 ORDER BY IDALARMCRA DESC 02/06 11:18:33 Rollback executed. 02/06 11:18:33 RecordSet closed. 02/06 11:18:33 CheckDDBB 02/06 11:18:33 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 11:18:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:18:43 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:18:43 Alarms with pending videos found! 02/06 11:18:43 Next idalarmcra = 383585 02/06 11:18:43 DownloadVideos::DownloadVideoOfAlarm 02/06 11:18:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 11:18:43 SAM|10897 02/06 11:18:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101822_127.mp4|66871| 02/06 11:18:44 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101822_127.mp4 02/06 11:18:44 Date = 20190602 02/06 11:18:44 Construct from filename date 02/06 11:18:44 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101822_127.mp4 02/06 11:18:44 Destination file not found 02/06 11:18:44 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101822_127.mp4 02/06 11:18:44 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_101822_127.mp4 02/06 11:18:45 DownloadFile ok... checking file destination 02/06 11:18:45 URLDownloadToFile ok 02/06 11:18:45 Video .sig downloaded ok! 02/06 11:18:45 Snapshot .sig downloaded ok! 02/06 11:18:45 Elapsed download time: 00:00:02 02/06 11:18:45 UpdateVideoname 02/06 11:18:45 Updating: idalarmcra = 383585 02/06 11:18:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383585 ORDER BY IDALARMCRA DESC 02/06 11:18:45 Just before Update() 02/06 11:18:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:18:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:18:55 Don't have work. 02/06 11:19:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:19:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:19:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:19:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:19:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:19:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:19:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:19:36 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:19:46 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:19:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:19:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:19:56 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:19:56 Alarms with pending videos found! 02/06 11:19:56 Next idalarmcra = 383587 02/06 11:19:56 DownloadVideos::DownloadVideoOfAlarm 02/06 11:19:56 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 11:19:56 SAM|3944 02/06 11:19:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_111944_4.mp4|111908| 02/06 11:19:56 FilenameSrc = 20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_111944_4.mp4 02/06 11:19:56 Date = 20190602 02/06 11:19:56 Construct from filename date 02/06 11:19:56 Destination: c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_111944_4.mp4 02/06 11:19:56 Destination file not found 02/06 11:19:56 http://192.168.29.100:21000/20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_111944_4.mp4 02/06 11:19:56 c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_111944_4.mp4 02/06 11:19:57 DownloadFile ok... checking file destination 02/06 11:19:57 URLDownloadToFile ok 02/06 11:20:00 Video .sig downloaded ok! 02/06 11:20:00 Snapshot .sig downloaded ok! 02/06 11:20:00 Elapsed download time: 00:00:04 02/06 11:20:00 UpdateVideoname 02/06 11:20:00 Updating: idalarmcra = 383587 02/06 11:20:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383587 ORDER BY IDALARMCRA DESC 02/06 11:20:00 Just before Update() 02/06 11:20:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:20:10 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:20:11 Don't have work. 02/06 11:20:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:20:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:20:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:20:31 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:20:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:20:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:20:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:20:51 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:21:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:21:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:21:11 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:21:11 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:21:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:21:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:21:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:21:31 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:21:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:21:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:21:51 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:21:51 [D] Query(21ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:22:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:22:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:22:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:22:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:22:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:22:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:22:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:22:32 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:22:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:22:42 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:22:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:22:52 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:22:52 Alarms with pending videos found! 02/06 11:22:52 Next idalarmcra = 383588 02/06 11:22:52 DownloadVideos::DownloadVideoOfAlarm 02/06 11:22:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:22:52 SAM|1168 02/06 11:22:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_112241_35.mp4|111975| 02/06 11:22:52 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_112241_35.mp4 02/06 11:22:52 Date = 20190602 02/06 11:22:52 Construct from filename date 02/06 11:22:52 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_112241_35.mp4 02/06 11:22:52 Destination file not found 02/06 11:22:52 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_112241_35.mp4 02/06 11:22:52 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_112241_35.mp4 02/06 11:22:53 DownloadFile ok... checking file destination 02/06 11:22:53 URLDownloadToFile ok 02/06 11:22:53 Video .sig downloaded ok! 02/06 11:22:53 Snapshot .sig downloaded ok! 02/06 11:22:53 Elapsed download time: 00:00:01 02/06 11:22:53 UpdateVideoname 02/06 11:22:53 Updating: idalarmcra = 383588 02/06 11:22:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383588 ORDER BY IDALARMCRA DESC 02/06 11:22:53 Just before Update() 02/06 11:23:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:23:03 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:23:03 Don't have work. 02/06 11:23:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:23:13 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:23:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:23:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:23:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:23:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:23:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:23:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:23:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:23:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:24:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:24:04 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:24:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:24:14 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:24:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:24:24 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:24:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:24:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:24:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:24:44 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:24:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:24:54 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:25:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:25:05 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:25:05 Alarms with pending videos found! 02/06 11:25:05 Next idalarmcra = 383590 02/06 11:25:05 DownloadVideos::DownloadVideoOfAlarm 02/06 11:25:05 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 11:25:05 SAM|22923 02/06 11:25:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_112509_18.mp4|113438| 02/06 11:25:05 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_112509_18.mp4 02/06 11:25:05 Date = 20190602 02/06 11:25:05 Construct from filename date 02/06 11:25:05 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_112509_18.mp4 02/06 11:25:05 Destination file not found 02/06 11:25:05 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_112509_18.mp4 02/06 11:25:05 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_112509_18.mp4 02/06 11:25:06 DownloadFile ok... checking file destination 02/06 11:25:06 URLDownloadToFile ok 02/06 11:25:06 Video .sig downloaded ok! 02/06 11:25:07 Snapshot .sig downloaded ok! 02/06 11:25:07 Elapsed download time: 00:00:02 02/06 11:25:07 UpdateVideoname 02/06 11:25:07 Updating: idalarmcra = 383590 02/06 11:25:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383590 ORDER BY IDALARMCRA DESC 02/06 11:25:07 Just before Update() 02/06 11:25:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:25:17 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:25:17 Don't have work. 02/06 11:25:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:25:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:25:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:25:37 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:25:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:25:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:25:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:25:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:26:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:26:07 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:26:17 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:26:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:26:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:26:28 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:26:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:26:38 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:26:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:26:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:26:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:26:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:27:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:27:08 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:27:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:27:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:27:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:27:28 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:27:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:27:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:27:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:27:49 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:27:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:27:59 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:28:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:28:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:28:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:28:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:28:29 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:28:29 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:28:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:28:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:28:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:28:49 [D] Query(28ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:28:49 Alarms with pending videos found! 02/06 11:28:49 Next idalarmcra = 383596 02/06 11:28:49 DownloadVideos::DownloadVideoOfAlarm 02/06 11:28:49 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 20 02/06 11:28:49 SAM|149435 02/06 11:28:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteALIAGA_DGS_VA_B_Cam4_Event2_20190602_112843_27.mp4|79004| 02/06 11:28:49 FilenameSrc = 20190602\\SiteALIAGA_DGS_VA_B_Cam4_Event2_20190602_112843_27.mp4 02/06 11:28:49 Date = 20190602 02/06 11:28:49 Construct from filename date 02/06 11:28:49 Destination: c:\Davantis\CRAServer\\SITE_20\\20190602\\SiteALIAGA_DGS_VA_B_Cam4_Event2_20190602_112843_27.mp4 02/06 11:28:49 Destination file not found 02/06 11:28:49 http://192.168.22.101:21001/20190602\\SiteALIAGA_DGS_VA_B_Cam4_Event2_20190602_112843_27.mp4 02/06 11:28:49 c:\Davantis\CRAServer\\SITE_20\\20190602\\SiteALIAGA_DGS_VA_B_Cam4_Event2_20190602_112843_27.mp4 02/06 11:28:50 DownloadFile ok... checking file destination 02/06 11:28:50 URLDownloadToFile ok 02/06 11:28:51 Video .sig downloaded ok! 02/06 11:28:51 Snapshot .sig downloaded ok! 02/06 11:28:51 Elapsed download time: 00:00:02 02/06 11:28:51 UpdateVideoname 02/06 11:28:51 Updating: idalarmcra = 383596 02/06 11:28:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383596 ORDER BY IDALARMCRA DESC 02/06 11:28:51 Just before Update() 02/06 11:29:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:29:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:29:01 Don't have work. 02/06 11:29:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:29:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:29:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:29:21 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:29:21 Alarms with pending videos found! 02/06 11:29:21 Next idalarmcra = 383597 02/06 11:29:21 DownloadVideos::DownloadVideoOfAlarm 02/06 11:29:21 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 11:29:21 SAM|14787 02/06 11:29:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_112912_555.mp4|105292| 02/06 11:29:21 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_112912_555.mp4 02/06 11:29:21 Date = 20190602 02/06 11:29:21 Construct from filename date 02/06 11:29:21 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_112912_555.mp4 02/06 11:29:21 Destination file not found 02/06 11:29:21 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_112912_555.mp4 02/06 11:29:21 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_112912_555.mp4 02/06 11:29:23 DownloadFile ok... checking file destination 02/06 11:29:23 URLDownloadToFile ok 02/06 11:29:23 Video .sig downloaded ok! 02/06 11:29:23 Snapshot .sig downloaded ok! 02/06 11:29:23 Elapsed download time: 00:00:02 02/06 11:29:23 UpdateVideoname 02/06 11:29:23 Updating: idalarmcra = 383597 02/06 11:29:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383597 ORDER BY IDALARMCRA DESC 02/06 11:29:23 Just before Update() 02/06 11:29:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:29:33 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:29:33 Alarms with pending videos found! 02/06 11:29:33 Next idalarmcra = 383598 02/06 11:29:33 DownloadVideos::DownloadVideoOfAlarm 02/06 11:29:33 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 11:29:33 SAM|22924 02/06 11:29:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_112938_19.mp4|110770| 02/06 11:29:34 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_112938_19.mp4 02/06 11:29:34 Date = 20190602 02/06 11:29:34 Construct from filename date 02/06 11:29:34 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_112938_19.mp4 02/06 11:29:34 Destination file not found 02/06 11:29:34 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_112938_19.mp4 02/06 11:29:34 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_112938_19.mp4 02/06 11:29:35 DownloadFile ok... checking file destination 02/06 11:29:35 URLDownloadToFile ok 02/06 11:29:35 Video .sig downloaded ok! 02/06 11:29:35 Snapshot .sig downloaded ok! 02/06 11:29:35 Elapsed download time: 00:00:02 02/06 11:29:35 UpdateVideoname 02/06 11:29:35 Updating: idalarmcra = 383598 02/06 11:29:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383598 ORDER BY IDALARMCRA DESC 02/06 11:29:35 Just before Update() 02/06 11:29:45 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:29:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:29:45 Don't have work. 02/06 11:29:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:29:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:30:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:30:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:30:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:30:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:30:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:30:26 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:30:36 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:30:36 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:30:36 Alarms with pending videos found! 02/06 11:30:36 Next idalarmcra = 383601 02/06 11:30:36 DownloadVideos::DownloadVideoOfAlarm 02/06 11:30:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 11:30:36 SAM|10898 02/06 11:30:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:30:36 NOK answer received 02/06 11:30:36 UpdateVideoname 02/06 11:30:36 Updating: idalarmcra = 383601 02/06 11:30:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383601 ORDER BY IDALARMCRA DESC 02/06 11:30:36 Just before Update() 02/06 11:30:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:30:46 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:30:46 Alarms with pending videos found! 02/06 11:30:46 Next idalarmcra = 383601 02/06 11:30:46 DownloadVideos::DownloadVideoOfAlarm 02/06 11:30:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 11:30:46 SAM|10898 02/06 11:30:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_103031_128.mp4|74357| 02/06 11:30:47 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_103031_128.mp4 02/06 11:30:47 Date = 20190602 02/06 11:30:47 Construct from filename date 02/06 11:30:47 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_103031_128.mp4 02/06 11:30:47 Destination file not found 02/06 11:30:47 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_103031_128.mp4 02/06 11:30:47 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_103031_128.mp4 02/06 11:30:48 DownloadFile ok... checking file destination 02/06 11:30:48 URLDownloadToFile ok 02/06 11:30:48 Video .sig downloaded ok! 02/06 11:30:48 Snapshot .sig downloaded ok! 02/06 11:30:48 Elapsed download time: 00:00:02 02/06 11:30:48 UpdateVideoname 02/06 11:30:48 Updating: idalarmcra = 383601 02/06 11:30:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383601 ORDER BY IDALARMCRA DESC 02/06 11:30:48 Just before Update() 02/06 11:30:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:30:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:30:58 Don't have work. 02/06 11:31:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:31:08 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:31:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:31:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:31:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:31:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:31:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:31:39 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:31:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:31:49 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:31:49 Alarms with pending videos found! 02/06 11:31:49 Next idalarmcra = 383603 02/06 11:31:49 DownloadVideos::DownloadVideoOfAlarm 02/06 11:31:49 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 11:31:49 SAM|10899 02/06 11:31:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_103142_129.mp4|97202| 02/06 11:31:49 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_103142_129.mp4 02/06 11:31:49 Date = 20190602 02/06 11:31:49 Construct from filename date 02/06 11:31:49 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_103142_129.mp4 02/06 11:31:49 Destination file not found 02/06 11:31:49 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_103142_129.mp4 02/06 11:31:49 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_103142_129.mp4 02/06 11:31:50 DownloadFile ok... checking file destination 02/06 11:31:50 URLDownloadToFile ok 02/06 11:31:50 Video .sig downloaded ok! 02/06 11:31:50 Snapshot .sig downloaded ok! 02/06 11:31:50 Elapsed download time: 00:00:01 02/06 11:31:51 UpdateVideoname 02/06 11:31:51 Updating: idalarmcra = 383603 02/06 11:31:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383603 ORDER BY IDALARMCRA DESC 02/06 11:31:51 Just before Update() 02/06 11:32:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:32:01 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:32:01 Don't have work. 02/06 11:32:11 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:32:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:32:21 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:32:21 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:32:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:32:31 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:32:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:32:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:32:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:32:51 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:32:51 Alarms with pending videos found! 02/06 11:32:51 Next idalarmcra = 383604 02/06 11:32:51 DownloadVideos::DownloadVideoOfAlarm 02/06 11:32:51 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 11:32:51 SAM|16950 02/06 11:32:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_113246_106.mp4|106580| 02/06 11:32:51 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_113246_106.mp4 02/06 11:32:51 Date = 20190602 02/06 11:32:51 Construct from filename date 02/06 11:32:51 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_113246_106.mp4 02/06 11:32:51 Destination file not found 02/06 11:32:51 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_113246_106.mp4 02/06 11:32:51 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_113246_106.mp4 02/06 11:32:52 DownloadFile ok... checking file destination 02/06 11:32:52 URLDownloadToFile ok 02/06 11:32:53 Video .sig downloaded ok! 02/06 11:32:53 Snapshot .sig downloaded ok! 02/06 11:32:53 Elapsed download time: 00:00:02 02/06 11:32:53 UpdateVideoname 02/06 11:32:53 Updating: idalarmcra = 383604 02/06 11:32:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383604 ORDER BY IDALARMCRA DESC 02/06 11:32:53 Just before Update() 02/06 11:33:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:33:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:33:03 Don't have work. 02/06 11:33:13 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:33:14 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:33:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:33:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:33:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:33:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:33:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:33:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:33:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:33:54 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:34:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:34:04 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:34:14 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:34:14 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:34:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:34:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:34:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:34:34 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:34:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:34:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:34:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:34:55 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:35:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:35:05 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:35:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:35:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:35:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:35:25 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:35:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:35:35 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:35:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:35:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:35:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:35:55 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:36:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:36:05 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:36:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:36:15 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:36:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:36:25 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:36:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:36:36 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:36:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:36:46 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:36:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:36:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:37:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:37:06 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:37:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:37:16 [D] Query(28ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:37:16 Alarms with pending videos found! 02/06 11:37:16 Next idalarmcra = 383610 02/06 11:37:16 DownloadVideos::DownloadVideoOfAlarm 02/06 11:37:16 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:37:16 SAM|1169 02/06 11:37:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_113709_66.mp4|101432| 02/06 11:37:16 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_113709_66.mp4 02/06 11:37:16 Date = 20190602 02/06 11:37:16 Construct from filename date 02/06 11:37:16 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_113709_66.mp4 02/06 11:37:16 Destination file not found 02/06 11:37:16 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_113709_66.mp4 02/06 11:37:16 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_113709_66.mp4 02/06 11:37:17 DownloadFile ok... checking file destination 02/06 11:37:17 URLDownloadToFile ok 02/06 11:37:17 Video .sig downloaded ok! 02/06 11:37:17 Snapshot .sig downloaded ok! 02/06 11:37:17 Elapsed download time: 00:00:01 02/06 11:37:17 UpdateVideoname 02/06 11:37:17 Updating: idalarmcra = 383610 02/06 11:37:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383610 ORDER BY IDALARMCRA DESC 02/06 11:37:17 Just before Update() 02/06 11:37:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:37:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:37:27 Don't have work. 02/06 11:37:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:37:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:37:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:37:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:37:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:37:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:38:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:38:08 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:38:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:38:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:38:28 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:38:28 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:38:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:38:38 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:38:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:38:48 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:38:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:38:58 [D] Query(30ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 11:39:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:39:08 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:39:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:39:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:39:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:39:28 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:39:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:39:39 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:39:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:39:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:39:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:39:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:40:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:40:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:40:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:40:19 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:40:19 Alarms with pending videos found! 02/06 11:40:19 Next idalarmcra = 383616 02/06 11:40:19 DownloadVideos::DownloadVideoOfAlarm 02/06 11:40:19 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 11:40:19 SAM|22925 02/06 11:40:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_114024_20.mp4|112273| 02/06 11:40:19 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_114024_20.mp4 02/06 11:40:19 Date = 20190602 02/06 11:40:19 Construct from filename date 02/06 11:40:19 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_114024_20.mp4 02/06 11:40:19 Destination file not found 02/06 11:40:19 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_114024_20.mp4 02/06 11:40:19 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_114024_20.mp4 02/06 11:40:20 DownloadFile ok... checking file destination 02/06 11:40:20 URLDownloadToFile ok 02/06 11:40:21 Video .sig downloaded ok! 02/06 11:40:21 Snapshot .sig downloaded ok! 02/06 11:40:21 Elapsed download time: 00:00:02 02/06 11:40:21 UpdateVideoname 02/06 11:40:21 Updating: idalarmcra = 383616 02/06 11:40:21 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383616 ORDER BY IDALARMCRA DESC 02/06 11:40:21 Rollback executed. 02/06 11:40:21 RecordSet closed. 02/06 11:40:21 CheckDDBB 02/06 11:40:21 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 11:40:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:40:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:40:31 Don't have work. 02/06 11:40:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:40:41 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:40:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:40:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:41:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:41:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:41:11 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:41:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:41:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:41:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:41:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:41:32 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:41:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:41:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:41:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:41:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:42:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:42:02 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:42:02 Alarms with pending videos found! 02/06 11:42:02 Next idalarmcra = 383617 02/06 11:42:02 DownloadVideos::DownloadVideoOfAlarm 02/06 11:42:02 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 11:42:02 SAM|727 02/06 11:42:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_114151_19.mp4|97762| 02/06 11:42:02 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_114151_19.mp4 02/06 11:42:02 Date = 20190602 02/06 11:42:02 Construct from filename date 02/06 11:42:02 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_114151_19.mp4 02/06 11:42:02 Destination file not found 02/06 11:42:02 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_114151_19.mp4 02/06 11:42:02 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_114151_19.mp4 02/06 11:42:06 DownloadFile ok... checking file destination 02/06 11:42:06 URLDownloadToFile ok 02/06 11:42:06 Video .sig downloaded ok! 02/06 11:42:06 Snapshot .sig downloaded ok! 02/06 11:42:06 Elapsed download time: 00:00:04 02/06 11:42:06 UpdateVideoname 02/06 11:42:06 Updating: idalarmcra = 383617 02/06 11:42:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383617 ORDER BY IDALARMCRA DESC 02/06 11:42:06 Just before Update() 02/06 11:42:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:42:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:42:16 Don't have work. 02/06 11:42:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:42:26 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:42:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:42:37 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:42:47 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:42:47 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:42:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:42:57 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:42:57 Alarms with pending videos found! 02/06 11:42:57 Next idalarmcra = 383618 02/06 11:42:57 DownloadVideos::DownloadVideoOfAlarm 02/06 11:42:57 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 11:42:57 SAM|4689 02/06 11:42:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:42:57 NOK answer received 02/06 11:42:57 UpdateVideoname 02/06 11:42:57 Updating: idalarmcra = 383618 02/06 11:42:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383618 ORDER BY IDALARMCRA DESC 02/06 11:42:57 Just before Update() 02/06 11:43:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:43:07 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:43:07 Alarms with pending videos found! 02/06 11:43:07 Next idalarmcra = 383618 02/06 11:43:07 DownloadVideos::DownloadVideoOfAlarm 02/06 11:43:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 11:43:08 SAM|4689 02/06 11:43:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_114421_130.mp4|114274| 02/06 11:43:08 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_114421_130.mp4 02/06 11:43:08 Date = 20190602 02/06 11:43:08 Construct from filename date 02/06 11:43:08 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_114421_130.mp4 02/06 11:43:08 Destination file not found 02/06 11:43:08 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_114421_130.mp4 02/06 11:43:08 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_114421_130.mp4 02/06 11:43:10 DownloadFile ok... checking file destination 02/06 11:43:10 URLDownloadToFile ok 02/06 11:43:10 Video .sig downloaded ok! 02/06 11:43:11 Snapshot .sig downloaded ok! 02/06 11:43:11 Elapsed download time: 00:00:03 02/06 11:43:11 UpdateVideoname 02/06 11:43:11 Updating: idalarmcra = 383618 02/06 11:43:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383618 ORDER BY IDALARMCRA DESC 02/06 11:43:11 Just before Update() 02/06 11:43:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:43:21 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:43:21 Don't have work. 02/06 11:43:31 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:43:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:43:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:43:41 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:43:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:43:51 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:43:51 Alarms with pending videos found! 02/06 11:43:51 Next idalarmcra = 383620 02/06 11:43:51 DownloadVideos::DownloadVideoOfAlarm 02/06 11:43:51 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:43:51 SAM|1170 02/06 11:43:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_114344_36.mp4|113187| 02/06 11:43:52 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_114344_36.mp4 02/06 11:43:52 Date = 20190602 02/06 11:43:52 Construct from filename date 02/06 11:43:52 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_114344_36.mp4 02/06 11:43:52 Destination file not found 02/06 11:43:52 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_114344_36.mp4 02/06 11:43:52 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_114344_36.mp4 02/06 11:43:52 DownloadFile ok... checking file destination 02/06 11:43:52 URLDownloadToFile ok 02/06 11:43:53 Video .sig downloaded ok! 02/06 11:43:53 Snapshot .sig downloaded ok! 02/06 11:43:53 Elapsed download time: 00:00:02 02/06 11:43:54 UpdateVideoname 02/06 11:43:54 Updating: idalarmcra = 383620 02/06 11:43:54 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383620 ORDER BY IDALARMCRA DESC 02/06 11:43:54 Just before Update() 02/06 11:44:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:44:04 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:44:04 Don't have work. 02/06 11:44:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:44:14 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:44:24 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:44:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:44:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:44:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:44:44 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:44:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:44:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:44:54 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:44:54 Alarms with pending videos found! 02/06 11:44:54 Next idalarmcra = 383621 02/06 11:44:54 DownloadVideos::DownloadVideoOfAlarm 02/06 11:44:54 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:44:54 SAM|1171 02/06 11:44:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114448_59.mp4|104202| 02/06 11:44:55 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114448_59.mp4 02/06 11:44:55 Date = 20190602 02/06 11:44:55 Construct from filename date 02/06 11:44:55 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114448_59.mp4 02/06 11:44:55 Destination file not found 02/06 11:44:55 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114448_59.mp4 02/06 11:44:55 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114448_59.mp4 02/06 11:44:55 DownloadFile ok... checking file destination 02/06 11:44:55 URLDownloadToFile ok 02/06 11:44:55 Video .sig downloaded ok! 02/06 11:44:56 Snapshot .sig downloaded ok! 02/06 11:44:56 Elapsed download time: 00:00:02 02/06 11:44:56 UpdateVideoname 02/06 11:44:56 Updating: idalarmcra = 383621 02/06 11:44:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383621 ORDER BY IDALARMCRA DESC 02/06 11:44:56 Just before Update() 02/06 11:45:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:45:06 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:45:06 Don't have work. 02/06 11:45:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:45:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:45:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:45:26 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:45:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:45:36 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:45:36 Alarms with pending videos found! 02/06 11:45:36 Next idalarmcra = 383623 02/06 11:45:36 DownloadVideos::DownloadVideoOfAlarm 02/06 11:45:36 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:45:36 SAM|1172 02/06 11:45:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:45:37 NOK answer received 02/06 11:45:37 UpdateVideoname 02/06 11:45:37 Updating: idalarmcra = 383623 02/06 11:45:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383623 ORDER BY IDALARMCRA DESC 02/06 11:45:37 Just before Update() 02/06 11:45:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:45:47 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:45:47 Alarms with pending videos found! 02/06 11:45:47 Next idalarmcra = 383623 02/06 11:45:47 DownloadVideos::DownloadVideoOfAlarm 02/06 11:45:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:45:47 SAM|1172 02/06 11:45:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114533_60.mp4|107615| 02/06 11:45:47 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114533_60.mp4 02/06 11:45:47 Date = 20190602 02/06 11:45:47 Construct from filename date 02/06 11:45:47 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114533_60.mp4 02/06 11:45:47 Destination file not found 02/06 11:45:47 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114533_60.mp4 02/06 11:45:47 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114533_60.mp4 02/06 11:45:47 DownloadFile ok... checking file destination 02/06 11:45:47 URLDownloadToFile ok 02/06 11:45:48 Video .sig downloaded ok! 02/06 11:45:48 Snapshot .sig downloaded ok! 02/06 11:45:48 Elapsed download time: 00:00:01 02/06 11:45:48 UpdateVideoname 02/06 11:45:48 Updating: idalarmcra = 383623 02/06 11:45:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383623 ORDER BY IDALARMCRA DESC 02/06 11:45:48 Just before Update() 02/06 11:45:58 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:45:58 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:45:58 Alarms with pending videos found! 02/06 11:45:58 Next idalarmcra = 383626 02/06 11:45:58 DownloadVideos::DownloadVideoOfAlarm 02/06 11:45:58 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 11:45:58 SAM|22926 02/06 11:45:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_114607_21.mp4|113915| 02/06 11:45:58 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_114607_21.mp4 02/06 11:45:58 Date = 20190602 02/06 11:45:58 Construct from filename date 02/06 11:45:58 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_114607_21.mp4 02/06 11:45:58 Destination file not found 02/06 11:45:58 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_114607_21.mp4 02/06 11:45:58 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_114607_21.mp4 02/06 11:46:00 DownloadFile ok... checking file destination 02/06 11:46:00 URLDownloadToFile ok 02/06 11:46:01 Video .sig downloaded ok! 02/06 11:46:01 Snapshot .sig downloaded ok! 02/06 11:46:01 Elapsed download time: 00:00:03 02/06 11:46:01 UpdateVideoname 02/06 11:46:01 Updating: idalarmcra = 383626 02/06 11:46:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383626 ORDER BY IDALARMCRA DESC 02/06 11:46:01 Just before Update() 02/06 11:46:01 Next idalarmcra = 383624 02/06 11:46:01 DownloadVideos::DownloadVideoOfAlarm 02/06 11:46:01 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:46:01 SAM|1173 02/06 11:46:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114549_61.mp4|104511| 02/06 11:46:01 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114549_61.mp4 02/06 11:46:01 Date = 20190602 02/06 11:46:01 Construct from filename date 02/06 11:46:01 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114549_61.mp4 02/06 11:46:01 Destination file not found 02/06 11:46:01 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114549_61.mp4 02/06 11:46:01 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114549_61.mp4 02/06 11:46:01 DownloadFile ok... checking file destination 02/06 11:46:01 URLDownloadToFile ok 02/06 11:46:02 Video .sig downloaded ok! 02/06 11:46:02 Snapshot .sig downloaded ok! 02/06 11:46:02 Elapsed download time: 00:00:01 02/06 11:46:02 UpdateVideoname 02/06 11:46:02 Updating: idalarmcra = 383624 02/06 11:46:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383624 ORDER BY IDALARMCRA DESC 02/06 11:46:02 Just before Update() 02/06 11:46:12 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:46:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:46:12 Don't have work. 02/06 11:46:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:46:22 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:46:22 Alarms with pending videos found! 02/06 11:46:22 Next idalarmcra = 383627 02/06 11:46:22 DownloadVideos::DownloadVideoOfAlarm 02/06 11:46:22 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:46:22 SAM|1174 02/06 11:46:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114604_62.mp4|112508| 02/06 11:46:22 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114604_62.mp4 02/06 11:46:22 Date = 20190602 02/06 11:46:22 Construct from filename date 02/06 11:46:22 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114604_62.mp4 02/06 11:46:22 Destination file not found 02/06 11:46:22 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114604_62.mp4 02/06 11:46:22 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114604_62.mp4 02/06 11:46:23 DownloadFile ok... checking file destination 02/06 11:46:23 URLDownloadToFile ok 02/06 11:46:23 Video .sig downloaded ok! 02/06 11:46:23 Snapshot .sig downloaded ok! 02/06 11:46:23 Elapsed download time: 00:00:01 02/06 11:46:23 UpdateVideoname 02/06 11:46:23 Updating: idalarmcra = 383627 02/06 11:46:23 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383627 ORDER BY IDALARMCRA DESC 02/06 11:46:23 Rollback executed. 02/06 11:46:23 RecordSet closed. 02/06 11:46:23 CheckDDBB 02/06 11:46:23 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 11:46:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:46:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:46:33 Don't have work. 02/06 11:46:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:46:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:46:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:46:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:47:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:47:04 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:47:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:47:14 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:47:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:47:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:47:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:47:34 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:47:34 Alarms with pending videos found! 02/06 11:47:34 Next idalarmcra = 383630 02/06 11:47:34 DownloadVideos::DownloadVideoOfAlarm 02/06 11:47:34 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 11:47:34 SAM|22284 02/06 11:47:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_115202_0.mp4|115399| 02/06 11:47:35 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_115202_0.mp4 02/06 11:47:35 Date = 20190602 02/06 11:47:35 Construct from filename date 02/06 11:47:35 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_115202_0.mp4 02/06 11:47:35 Destination file not found 02/06 11:47:35 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_115202_0.mp4 02/06 11:47:35 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_115202_0.mp4 02/06 11:47:37 DownloadFile ok... checking file destination 02/06 11:47:37 URLDownloadToFile ok 02/06 11:47:37 Video .sig downloaded ok! 02/06 11:47:37 Snapshot .sig downloaded ok! 02/06 11:47:37 Elapsed download time: 00:00:03 02/06 11:47:37 UpdateVideoname 02/06 11:47:37 Updating: idalarmcra = 383630 02/06 11:47:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383630 ORDER BY IDALARMCRA DESC 02/06 11:47:37 Just before Update() 02/06 11:47:37 Next idalarmcra = 383629 02/06 11:47:37 DownloadVideos::DownloadVideoOfAlarm 02/06 11:47:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:47:37 SAM|1175 02/06 11:47:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114725_63.mp4|103650| 02/06 11:47:38 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114725_63.mp4 02/06 11:47:38 Date = 20190602 02/06 11:47:38 Construct from filename date 02/06 11:47:38 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114725_63.mp4 02/06 11:47:38 Destination file not found 02/06 11:47:38 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114725_63.mp4 02/06 11:47:38 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114725_63.mp4 02/06 11:47:38 DownloadFile ok... checking file destination 02/06 11:47:38 URLDownloadToFile ok 02/06 11:47:38 Video .sig downloaded ok! 02/06 11:47:38 Snapshot .sig downloaded ok! 02/06 11:47:38 Elapsed download time: 00:00:01 02/06 11:47:38 UpdateVideoname 02/06 11:47:38 Updating: idalarmcra = 383629 02/06 11:47:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383629 ORDER BY IDALARMCRA DESC 02/06 11:47:38 Just before Update() 02/06 11:47:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:47:48 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:47:48 Don't have work. 02/06 11:47:58 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:47:59 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:48:09 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:48:09 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:48:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:48:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:48:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:48:29 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:48:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:48:39 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:48:49 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:48:49 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:48:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:48:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:49:09 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:49:09 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:49:09 Alarms with pending videos found! 02/06 11:49:09 Next idalarmcra = 383631 02/06 11:49:09 DownloadVideos::DownloadVideoOfAlarm 02/06 11:49:09 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 11:49:09 SAM|163124 02/06 11:49:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_120145_93.mp4|110428| 02/06 11:49:10 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_120145_93.mp4 02/06 11:49:10 Date = 20190602 02/06 11:49:10 Construct from filename date 02/06 11:49:10 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_120145_93.mp4 02/06 11:49:10 Destination file not found 02/06 11:49:10 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_120145_93.mp4 02/06 11:49:10 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_120145_93.mp4 02/06 11:49:12 DownloadFile ok... checking file destination 02/06 11:49:12 URLDownloadToFile ok 02/06 11:49:12 Video .sig downloaded ok! 02/06 11:49:12 Snapshot .sig downloaded ok! 02/06 11:49:12 Elapsed download time: 00:00:03 02/06 11:49:12 UpdateVideoname 02/06 11:49:12 Updating: idalarmcra = 383631 02/06 11:49:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383631 ORDER BY IDALARMCRA DESC 02/06 11:49:12 Just before Update() 02/06 11:49:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:49:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:49:22 Don't have work. 02/06 11:49:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:49:33 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:49:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:49:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:49:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:49:53 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:50:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:50:03 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:50:03 Alarms with pending videos found! 02/06 11:50:03 Next idalarmcra = 383632 02/06 11:50:03 DownloadVideos::DownloadVideoOfAlarm 02/06 11:50:03 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:50:03 SAM|1176 02/06 11:50:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114953_64.mp4|101380| 02/06 11:50:03 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114953_64.mp4 02/06 11:50:03 Date = 20190602 02/06 11:50:03 Construct from filename date 02/06 11:50:03 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114953_64.mp4 02/06 11:50:03 Destination file not found 02/06 11:50:03 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114953_64.mp4 02/06 11:50:03 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_114953_64.mp4 02/06 11:50:04 DownloadFile ok... checking file destination 02/06 11:50:04 URLDownloadToFile ok 02/06 11:50:04 Video .sig downloaded ok! 02/06 11:50:04 Snapshot .sig downloaded ok! 02/06 11:50:04 Elapsed download time: 00:00:01 02/06 11:50:05 UpdateVideoname 02/06 11:50:05 Updating: idalarmcra = 383632 02/06 11:50:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383632 ORDER BY IDALARMCRA DESC 02/06 11:50:05 Just before Update() 02/06 11:50:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:50:15 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:50:15 Don't have work. 02/06 11:50:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:50:25 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:50:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:50:35 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:50:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:50:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:50:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:50:55 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:51:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:51:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:51:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:51:15 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:51:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:51:25 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:51:25 Alarms with pending videos found! 02/06 11:51:25 Next idalarmcra = 383633 02/06 11:51:25 DownloadVideos::DownloadVideoOfAlarm 02/06 11:51:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:51:25 SAM|1177 02/06 11:51:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:51:26 NOK answer received 02/06 11:51:26 UpdateVideoname 02/06 11:51:26 Updating: idalarmcra = 383633 02/06 11:51:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383633 ORDER BY IDALARMCRA DESC 02/06 11:51:26 Just before Update() 02/06 11:51:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:51:36 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:51:36 Alarms with pending videos found! 02/06 11:51:36 Next idalarmcra = 383633 02/06 11:51:36 DownloadVideos::DownloadVideoOfAlarm 02/06 11:51:36 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:51:36 SAM|1177 02/06 11:51:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_115121_65.mp4|104531| 02/06 11:51:36 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_115121_65.mp4 02/06 11:51:36 Date = 20190602 02/06 11:51:36 Construct from filename date 02/06 11:51:36 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_115121_65.mp4 02/06 11:51:36 Destination file not found 02/06 11:51:36 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_115121_65.mp4 02/06 11:51:36 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_115121_65.mp4 02/06 11:51:38 DownloadFile ok... checking file destination 02/06 11:51:38 URLDownloadToFile ok 02/06 11:51:38 Video .sig downloaded ok! 02/06 11:51:38 Snapshot .sig downloaded ok! 02/06 11:51:38 Elapsed download time: 00:00:02 02/06 11:51:38 UpdateVideoname 02/06 11:51:38 Updating: idalarmcra = 383633 02/06 11:51:38 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383633 ORDER BY IDALARMCRA DESC 02/06 11:51:38 Just before Update() 02/06 11:51:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:51:48 [D] Query(30ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:51:48 Alarms with pending videos found! 02/06 11:51:48 Next idalarmcra = 383634 02/06 11:51:48 DownloadVideos::DownloadVideoOfAlarm 02/06 11:51:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:51:48 SAM|1178 02/06 11:51:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:51:49 NOK answer received 02/06 11:51:49 UpdateVideoname 02/06 11:51:49 Updating: idalarmcra = 383634 02/06 11:51:49 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383634 ORDER BY IDALARMCRA DESC 02/06 11:51:49 Just before Update() 02/06 11:51:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:51:59 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:51:59 Don't have work. 02/06 11:52:09 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:52:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:52:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:52:19 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:52:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:52:29 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:52:29 Alarms with pending videos found! 02/06 11:52:29 Next idalarmcra = 383635 02/06 11:52:29 DownloadVideos::DownloadVideoOfAlarm 02/06 11:52:29 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 11:52:29 SAM|2067 02/06 11:52:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_115224_92.mp4|105651| 02/06 11:52:30 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_115224_92.mp4 02/06 11:52:30 Date = 20190602 02/06 11:52:30 Construct from filename date 02/06 11:52:30 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_115224_92.mp4 02/06 11:52:30 Destination file not found 02/06 11:52:30 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_115224_92.mp4 02/06 11:52:30 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_115224_92.mp4 02/06 11:52:31 DownloadFile ok... checking file destination 02/06 11:52:31 URLDownloadToFile ok 02/06 11:52:31 Video .sig downloaded ok! 02/06 11:52:31 Snapshot .sig downloaded ok! 02/06 11:52:31 Elapsed download time: 00:00:02 02/06 11:52:31 UpdateVideoname 02/06 11:52:31 Updating: idalarmcra = 383635 02/06 11:52:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383635 ORDER BY IDALARMCRA DESC 02/06 11:52:31 Just before Update() 02/06 11:52:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:52:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:52:41 Don't have work. 02/06 11:52:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:52:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:53:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:53:02 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:53:02 Alarms with pending videos found! 02/06 11:53:02 Next idalarmcra = 383636 02/06 11:53:02 DownloadVideos::DownloadVideoOfAlarm 02/06 11:53:02 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:53:02 SAM|1179 02/06 11:53:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_115252_67.mp4|108212| 02/06 11:53:02 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_115252_67.mp4 02/06 11:53:02 Date = 20190602 02/06 11:53:02 Construct from filename date 02/06 11:53:02 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_115252_67.mp4 02/06 11:53:02 Destination file not found 02/06 11:53:02 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_115252_67.mp4 02/06 11:53:02 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_115252_67.mp4 02/06 11:53:03 DownloadFile ok... checking file destination 02/06 11:53:03 URLDownloadToFile ok 02/06 11:53:03 Video .sig downloaded ok! 02/06 11:53:03 Snapshot .sig downloaded ok! 02/06 11:53:03 Elapsed download time: 00:00:01 02/06 11:53:03 UpdateVideoname 02/06 11:53:03 Updating: idalarmcra = 383636 02/06 11:53:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383636 ORDER BY IDALARMCRA DESC 02/06 11:53:03 Just before Update() 02/06 11:53:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:53:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:53:13 Don't have work. 02/06 11:53:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:53:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:53:33 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:53:33 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:53:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:53:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:53:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:53:54 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:54:04 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:54:04 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:54:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:54:14 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:54:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:54:24 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:54:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:54:34 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:54:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:54:44 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:54:44 Alarms with pending videos found! 02/06 11:54:44 Next idalarmcra = 383638 02/06 11:54:44 DownloadVideos::DownloadVideoOfAlarm 02/06 11:54:44 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 11:54:44 SAM|4690 02/06 11:54:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_115553_131.mp4|112765| 02/06 11:54:44 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_115553_131.mp4 02/06 11:54:44 Date = 20190602 02/06 11:54:44 Construct from filename date 02/06 11:54:44 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_115553_131.mp4 02/06 11:54:44 Destination file not found 02/06 11:54:44 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_115553_131.mp4 02/06 11:54:44 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_115553_131.mp4 02/06 11:54:47 DownloadFile ok... checking file destination 02/06 11:54:47 URLDownloadToFile ok 02/06 11:54:47 Video .sig downloaded ok! 02/06 11:54:47 Snapshot .sig downloaded ok! 02/06 11:54:47 Elapsed download time: 00:00:03 02/06 11:54:47 UpdateVideoname 02/06 11:54:47 Updating: idalarmcra = 383638 02/06 11:54:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383638 ORDER BY IDALARMCRA DESC 02/06 11:54:47 Just before Update() 02/06 11:54:47 Next idalarmcra = 383637 02/06 11:54:47 DownloadVideos::DownloadVideoOfAlarm 02/06 11:54:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 11:54:47 SAM|2068 02/06 11:54:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_115432_93.mp4|108843| 02/06 11:54:48 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_115432_93.mp4 02/06 11:54:48 Date = 20190602 02/06 11:54:48 Construct from filename date 02/06 11:54:48 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_115432_93.mp4 02/06 11:54:48 Destination file not found 02/06 11:54:48 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_115432_93.mp4 02/06 11:54:48 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_115432_93.mp4 02/06 11:54:49 DownloadFile ok... checking file destination 02/06 11:54:49 URLDownloadToFile ok 02/06 11:54:50 Video .sig downloaded ok! 02/06 11:54:50 Snapshot .sig downloaded ok! 02/06 11:54:50 Elapsed download time: 00:00:03 02/06 11:54:50 UpdateVideoname 02/06 11:54:50 Updating: idalarmcra = 383637 02/06 11:54:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383637 ORDER BY IDALARMCRA DESC 02/06 11:54:50 Just before Update() 02/06 11:55:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:55:00 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:55:00 Don't have work. 02/06 11:55:10 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:55:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:55:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:55:20 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:55:30 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:55:31 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:55:31 Alarms with pending videos found! 02/06 11:55:31 Next idalarmcra = 383639 02/06 11:55:31 DownloadVideos::DownloadVideoOfAlarm 02/06 11:55:31 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 11:55:31 SAM|22927 02/06 11:55:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115539_22.mp4|114154| 02/06 11:55:31 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115539_22.mp4 02/06 11:55:31 Date = 20190602 02/06 11:55:31 Construct from filename date 02/06 11:55:31 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115539_22.mp4 02/06 11:55:31 Destination file not found 02/06 11:55:31 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115539_22.mp4 02/06 11:55:31 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115539_22.mp4 02/06 11:55:32 DownloadFile ok... checking file destination 02/06 11:55:32 URLDownloadToFile ok 02/06 11:55:32 Video .sig downloaded ok! 02/06 11:55:32 Snapshot .sig downloaded ok! 02/06 11:55:32 Elapsed download time: 00:00:01 02/06 11:55:33 UpdateVideoname 02/06 11:55:33 Updating: idalarmcra = 383639 02/06 11:55:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383639 ORDER BY IDALARMCRA DESC 02/06 11:55:33 Just before Update() 02/06 11:55:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:55:43 [D] Query(30ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:55:43 Alarms with pending videos found! 02/06 11:55:43 Next idalarmcra = 383640 02/06 11:55:43 DownloadVideos::DownloadVideoOfAlarm 02/06 11:55:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 11:55:43 SAM|22928 02/06 11:55:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:55:43 NOK answer received 02/06 11:55:43 UpdateVideoname 02/06 11:55:43 Updating: idalarmcra = 383640 02/06 11:55:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383640 ORDER BY IDALARMCRA DESC 02/06 11:55:43 Just before Update() 02/06 11:55:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:55:53 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:55:53 Alarms with pending videos found! 02/06 11:55:53 Next idalarmcra = 383640 02/06 11:55:53 DownloadVideos::DownloadVideoOfAlarm 02/06 11:55:53 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 11:55:53 SAM|22928 02/06 11:55:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115556_23.mp4|113988| 02/06 11:55:54 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115556_23.mp4 02/06 11:55:54 Date = 20190602 02/06 11:55:54 Construct from filename date 02/06 11:55:54 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115556_23.mp4 02/06 11:55:54 Destination file not found 02/06 11:55:54 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115556_23.mp4 02/06 11:55:54 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115556_23.mp4 02/06 11:55:55 DownloadFile ok... checking file destination 02/06 11:55:55 URLDownloadToFile ok 02/06 11:55:55 Video .sig downloaded ok! 02/06 11:55:56 Snapshot .sig downloaded ok! 02/06 11:55:56 Elapsed download time: 00:00:03 02/06 11:55:56 UpdateVideoname 02/06 11:55:56 Updating: idalarmcra = 383640 02/06 11:55:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383640 ORDER BY IDALARMCRA DESC 02/06 11:55:56 Just before Update() 02/06 11:56:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:56:06 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:56:06 Don't have work. 02/06 11:56:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:56:16 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:56:26 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:56:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:56:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:56:36 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:56:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:56:46 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:56:56 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:56:56 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:56:56 Alarms with pending videos found! 02/06 11:56:56 Next idalarmcra = 383643 02/06 11:56:56 DownloadVideos::DownloadVideoOfAlarm 02/06 11:56:56 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 11:56:56 SAM|22929 02/06 11:56:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115656_24.mp4|110534| 02/06 11:56:57 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115656_24.mp4 02/06 11:56:57 Date = 20190602 02/06 11:56:57 Construct from filename date 02/06 11:56:57 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115656_24.mp4 02/06 11:56:57 Destination file not found 02/06 11:56:57 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115656_24.mp4 02/06 11:56:57 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_115656_24.mp4 02/06 11:56:59 DownloadFile ok... checking file destination 02/06 11:56:59 URLDownloadToFile ok 02/06 11:56:59 Video .sig downloaded ok! 02/06 11:56:59 Snapshot .sig downloaded ok! 02/06 11:56:59 Elapsed download time: 00:00:03 02/06 11:56:59 UpdateVideoname 02/06 11:56:59 Updating: idalarmcra = 383643 02/06 11:56:59 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383643 ORDER BY IDALARMCRA DESC 02/06 11:56:59 Rollback executed. 02/06 11:56:59 RecordSet closed. 02/06 11:56:59 CheckDDBB 02/06 11:56:59 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 11:57:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:57:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:57:10 Don't have work. 02/06 11:57:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:57:20 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:57:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:57:30 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:57:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:57:40 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:57:50 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:57:50 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:57:50 Alarms with pending videos found! 02/06 11:57:50 Next idalarmcra = 383645 02/06 11:57:50 DownloadVideos::DownloadVideoOfAlarm 02/06 11:57:50 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 20 02/06 11:57:50 SAM|149436 02/06 11:57:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 11:57:50 NOK answer received 02/06 11:57:50 UpdateVideoname 02/06 11:57:50 Updating: idalarmcra = 383645 02/06 11:57:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383645 ORDER BY IDALARMCRA DESC 02/06 11:57:50 Just before Update() 02/06 11:58:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:58:01 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:58:01 Alarms with pending videos found! 02/06 11:58:01 Next idalarmcra = 383646 02/06 11:58:01 DownloadVideos::DownloadVideoOfAlarm 02/06 11:58:01 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 11:58:01 SAM|22285 02/06 11:58:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_120224_1.mp4|119220| 02/06 11:58:01 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_120224_1.mp4 02/06 11:58:01 Date = 20190602 02/06 11:58:01 Construct from filename date 02/06 11:58:01 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_120224_1.mp4 02/06 11:58:01 Destination file not found 02/06 11:58:01 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_120224_1.mp4 02/06 11:58:01 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_120224_1.mp4 02/06 11:58:02 DownloadFile ok... checking file destination 02/06 11:58:02 URLDownloadToFile ok 02/06 11:58:03 Video .sig downloaded ok! 02/06 11:58:03 Snapshot .sig downloaded ok! 02/06 11:58:03 Elapsed download time: 00:00:02 02/06 11:58:03 UpdateVideoname 02/06 11:58:03 Updating: idalarmcra = 383646 02/06 11:58:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383646 ORDER BY IDALARMCRA DESC 02/06 11:58:03 Just before Update() 02/06 11:58:03 Next idalarmcra = 383645 02/06 11:58:03 DownloadVideos::DownloadVideoOfAlarm 02/06 11:58:03 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 20 02/06 11:58:03 SAM|149436 02/06 11:58:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteALIAGA_DGS_VA_B_Cam6_Event2_20190602_115749_34.mp4|105496| 02/06 11:58:03 FilenameSrc = 20190602\\SiteALIAGA_DGS_VA_B_Cam6_Event2_20190602_115749_34.mp4 02/06 11:58:03 Date = 20190602 02/06 11:58:03 Construct from filename date 02/06 11:58:03 Destination: c:\Davantis\CRAServer\\SITE_20\\20190602\\SiteALIAGA_DGS_VA_B_Cam6_Event2_20190602_115749_34.mp4 02/06 11:58:03 Destination file not found 02/06 11:58:03 http://192.168.22.101:21001/20190602\\SiteALIAGA_DGS_VA_B_Cam6_Event2_20190602_115749_34.mp4 02/06 11:58:03 c:\Davantis\CRAServer\\SITE_20\\20190602\\SiteALIAGA_DGS_VA_B_Cam6_Event2_20190602_115749_34.mp4 02/06 11:58:05 DownloadFile ok... checking file destination 02/06 11:58:05 URLDownloadToFile ok 02/06 11:58:05 Video .sig downloaded ok! 02/06 11:58:05 Snapshot .sig downloaded ok! 02/06 11:58:05 Elapsed download time: 00:00:02 02/06 11:58:05 UpdateVideoname 02/06 11:58:05 Updating: idalarmcra = 383645 02/06 11:58:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383645 ORDER BY IDALARMCRA DESC 02/06 11:58:05 Just before Update() 02/06 11:58:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:58:15 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:58:15 Alarms with pending videos found! 02/06 11:58:15 Next idalarmcra = 383647 02/06 11:58:15 DownloadVideos::DownloadVideoOfAlarm 02/06 11:58:15 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 11:58:15 SAM|1180 02/06 11:58:15 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_115804_37.mp4|108366| 02/06 11:58:16 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_115804_37.mp4 02/06 11:58:16 Date = 20190602 02/06 11:58:16 Construct from filename date 02/06 11:58:16 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_115804_37.mp4 02/06 11:58:16 Destination file not found 02/06 11:58:16 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_115804_37.mp4 02/06 11:58:16 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_115804_37.mp4 02/06 11:58:16 DownloadFile ok... checking file destination 02/06 11:58:16 URLDownloadToFile ok 02/06 11:58:16 Video .sig downloaded ok! 02/06 11:58:16 Snapshot .sig downloaded ok! 02/06 11:58:16 Elapsed download time: 00:00:01 02/06 11:58:16 UpdateVideoname 02/06 11:58:16 Updating: idalarmcra = 383647 02/06 11:58:16 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383647 ORDER BY IDALARMCRA DESC 02/06 11:58:16 Just before Update() 02/06 11:58:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:58:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:58:27 Don't have work. 02/06 11:58:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:58:37 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:58:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:58:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:58:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:58:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:59:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:59:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:59:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:59:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:59:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:59:27 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 11:59:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:59:37 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:59:37 Alarms with pending videos found! 02/06 11:59:37 Next idalarmcra = 383648 02/06 11:59:37 DownloadVideos::DownloadVideoOfAlarm 02/06 11:59:37 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 11:59:37 SAM|3945 02/06 11:59:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_115928_5.mp4|105322| 02/06 11:59:38 FilenameSrc = 20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_115928_5.mp4 02/06 11:59:38 Date = 20190602 02/06 11:59:38 Construct from filename date 02/06 11:59:38 Destination: c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_115928_5.mp4 02/06 11:59:38 Destination file not found 02/06 11:59:38 http://192.168.29.100:21000/20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_115928_5.mp4 02/06 11:59:38 c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_115928_5.mp4 02/06 11:59:39 DownloadFile ok... checking file destination 02/06 11:59:39 URLDownloadToFile ok 02/06 11:59:39 Video .sig downloaded ok! 02/06 11:59:39 Snapshot .sig downloaded ok! 02/06 11:59:39 Elapsed download time: 00:00:02 02/06 11:59:39 UpdateVideoname 02/06 11:59:39 Updating: idalarmcra = 383648 02/06 11:59:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383648 ORDER BY IDALARMCRA DESC 02/06 11:59:39 Just before Update() 02/06 11:59:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:59:49 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 11:59:49 Don't have work. 02/06 11:59:59 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 11:59:59 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 10 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:00:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:00:10 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:00:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:00:20 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:00:20 Alarms with pending videos found! 02/06 12:00:20 Next idalarmcra = 383650 02/06 12:00:20 DownloadVideos::DownloadVideoOfAlarm 02/06 12:00:20 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:00:20 SAM|1181 02/06 12:00:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:00:20 NOK answer received 02/06 12:00:20 UpdateVideoname 02/06 12:00:20 Updating: idalarmcra = 383650 02/06 12:00:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383650 ORDER BY IDALARMCRA DESC 02/06 12:00:20 Just before Update() 02/06 12:00:20 Next idalarmcra = 383649 02/06 12:00:20 DownloadVideos::DownloadVideoOfAlarm 02/06 12:00:20 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 35 02/06 12:00:20 SAM|5985 02/06 12:00:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_120009_1.mp4|102605| 02/06 12:00:20 FilenameSrc = 20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_120009_1.mp4 02/06 12:00:20 Date = 20190602 02/06 12:00:20 Construct from filename date 02/06 12:00:20 Destination: c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_120009_1.mp4 02/06 12:00:20 Destination file not found 02/06 12:00:20 http://192.168.30.100:21000/20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_120009_1.mp4 02/06 12:00:20 c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_120009_1.mp4 02/06 12:00:22 DownloadFile ok... checking file destination 02/06 12:00:22 URLDownloadToFile ok 02/06 12:00:22 Video .sig downloaded ok! 02/06 12:00:23 Snapshot .sig downloaded ok! 02/06 12:00:23 Elapsed download time: 00:00:03 02/06 12:00:23 UpdateVideoname 02/06 12:00:23 Updating: idalarmcra = 383649 02/06 12:00:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383649 ORDER BY IDALARMCRA DESC 02/06 12:00:23 Just before Update() 02/06 12:00:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:00:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:00:33 Don't have work. 02/06 12:00:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:00:43 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:00:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:00:53 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:01:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:01:03 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:01:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:01:13 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:01:13 Alarms with pending videos found! 02/06 12:01:13 Next idalarmcra = 383652 02/06 12:01:13 DownloadVideos::DownloadVideoOfAlarm 02/06 12:01:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:01:13 SAM|728 02/06 12:01:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:01:14 NOK answer received 02/06 12:01:14 UpdateVideoname 02/06 12:01:14 Updating: idalarmcra = 383652 02/06 12:01:14 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383652 ORDER BY IDALARMCRA DESC 02/06 12:01:14 Just before Update() 02/06 12:01:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:01:24 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:01:24 Alarms with pending videos found! 02/06 12:01:24 Next idalarmcra = 383653 02/06 12:01:24 DownloadVideos::DownloadVideoOfAlarm 02/06 12:01:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:01:24 SAM|22930 02/06 12:01:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120134_25.mp4|114516| 02/06 12:01:24 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120134_25.mp4 02/06 12:01:24 Date = 20190602 02/06 12:01:24 Construct from filename date 02/06 12:01:24 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120134_25.mp4 02/06 12:01:24 Destination file not found 02/06 12:01:24 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120134_25.mp4 02/06 12:01:24 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120134_25.mp4 02/06 12:01:25 DownloadFile ok... checking file destination 02/06 12:01:25 URLDownloadToFile ok 02/06 12:01:25 Video .sig downloaded ok! 02/06 12:01:26 Snapshot .sig downloaded ok! 02/06 12:01:26 Elapsed download time: 00:00:02 02/06 12:01:26 UpdateVideoname 02/06 12:01:26 Updating: idalarmcra = 383653 02/06 12:01:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383653 ORDER BY IDALARMCRA DESC 02/06 12:01:26 Just before Update() 02/06 12:01:26 Next idalarmcra = 383652 02/06 12:01:26 DownloadVideos::DownloadVideoOfAlarm 02/06 12:01:26 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:01:26 SAM|728 02/06 12:01:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_120111_20.mp4|106423| 02/06 12:01:26 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_120111_20.mp4 02/06 12:01:26 Date = 20190602 02/06 12:01:26 Construct from filename date 02/06 12:01:26 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_120111_20.mp4 02/06 12:01:26 Destination file not found 02/06 12:01:26 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_120111_20.mp4 02/06 12:01:26 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_120111_20.mp4 02/06 12:01:27 DownloadFile ok... checking file destination 02/06 12:01:27 URLDownloadToFile ok 02/06 12:01:27 Video .sig downloaded ok! 02/06 12:01:27 Snapshot .sig downloaded ok! 02/06 12:01:27 Elapsed download time: 00:00:01 02/06 12:01:27 UpdateVideoname 02/06 12:01:27 Updating: idalarmcra = 383652 02/06 12:01:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383652 ORDER BY IDALARMCRA DESC 02/06 12:01:27 Just before Update() 02/06 12:01:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:01:37 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:01:37 Don't have work. 02/06 12:01:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:01:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:01:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:01:58 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:01:58 Alarms with pending videos found! 02/06 12:01:58 Next idalarmcra = 383655 02/06 12:01:58 DownloadVideos::DownloadVideoOfAlarm 02/06 12:01:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 54 02/06 12:01:58 SAM|857 02/06 12:01:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:01:58 NOK answer received 02/06 12:01:58 UpdateVideoname 02/06 12:01:58 Updating: idalarmcra = 383655 02/06 12:01:58 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383655 ORDER BY IDALARMCRA DESC 02/06 12:01:58 Just before Update() 02/06 12:02:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:02:08 [D] Query(29ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:02:08 Alarms with pending videos found! 02/06 12:02:08 Next idalarmcra = 383656 02/06 12:02:08 DownloadVideos::DownloadVideoOfAlarm 02/06 12:02:08 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 12:02:08 SAM|4691 02/06 12:02:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_120326_132.mp4|115843| 02/06 12:02:08 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_120326_132.mp4 02/06 12:02:08 Date = 20190602 02/06 12:02:08 Construct from filename date 02/06 12:02:08 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_120326_132.mp4 02/06 12:02:08 Destination file not found 02/06 12:02:08 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_120326_132.mp4 02/06 12:02:08 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_120326_132.mp4 02/06 12:02:10 DownloadFile ok... checking file destination 02/06 12:02:10 URLDownloadToFile ok 02/06 12:02:10 Video .sig downloaded ok! 02/06 12:02:11 Snapshot .sig downloaded ok! 02/06 12:02:11 Elapsed download time: 00:00:03 02/06 12:02:11 UpdateVideoname 02/06 12:02:11 Updating: idalarmcra = 383656 02/06 12:02:11 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383656 ORDER BY IDALARMCRA DESC 02/06 12:02:11 Rollback executed. 02/06 12:02:11 RecordSet closed. 02/06 12:02:11 CheckDDBB 02/06 12:02:11 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 12:02:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:02:21 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:02:21 Alarms with pending videos found! 02/06 12:02:21 Next idalarmcra = 383655 02/06 12:02:21 DownloadVideos::DownloadVideoOfAlarm 02/06 12:02:21 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 54 02/06 12:02:21 SAM|857 02/06 12:02:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TAVSANLI_B_Cam1_Event2_20190602_120221_1.mp4|97531| 02/06 12:02:22 FilenameSrc = 20190602\\SiteDGS_VA_TAVSANLI_B_Cam1_Event2_20190602_120221_1.mp4 02/06 12:02:22 Date = 20190602 02/06 12:02:22 Construct from filename date 02/06 12:02:22 Destination: c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam1_Event2_20190602_120221_1.mp4 02/06 12:02:22 Destination file not found 02/06 12:02:22 http://78.189.92.233:21001/20190602\\SiteDGS_VA_TAVSANLI_B_Cam1_Event2_20190602_120221_1.mp4 02/06 12:02:22 c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam1_Event2_20190602_120221_1.mp4 02/06 12:02:24 DownloadFile ok... checking file destination 02/06 12:02:24 URLDownloadToFile ok 02/06 12:02:25 Video .sig downloaded ok! 02/06 12:02:25 Snapshot .sig downloaded ok! 02/06 12:02:25 Elapsed download time: 00:00:04 02/06 12:02:25 UpdateVideoname 02/06 12:02:25 Updating: idalarmcra = 383655 02/06 12:02:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383655 ORDER BY IDALARMCRA DESC 02/06 12:02:25 Just before Update() 02/06 12:02:35 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:02:35 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:02:35 Don't have work. 02/06 12:02:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:02:45 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:02:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:02:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:03:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:03:06 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:03:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:03:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:03:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:03:26 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:03:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:03:36 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:03:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:03:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:03:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:03:56 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:03:56 Alarms with pending videos found! 02/06 12:03:56 Next idalarmcra = 383660 02/06 12:03:56 DownloadVideos::DownloadVideoOfAlarm 02/06 12:03:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 12:03:56 SAM|2069 02/06 12:03:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_120347_94.mp4|105246| 02/06 12:03:56 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_120347_94.mp4 02/06 12:03:56 Date = 20190602 02/06 12:03:56 Construct from filename date 02/06 12:03:56 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_120347_94.mp4 02/06 12:03:56 Destination file not found 02/06 12:03:56 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_120347_94.mp4 02/06 12:03:56 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_120347_94.mp4 02/06 12:03:58 DownloadFile ok... checking file destination 02/06 12:03:58 URLDownloadToFile ok 02/06 12:03:58 Video .sig downloaded ok! 02/06 12:03:59 Snapshot .sig downloaded ok! 02/06 12:03:59 Elapsed download time: 00:00:03 02/06 12:03:59 UpdateVideoname 02/06 12:03:59 Updating: idalarmcra = 383660 02/06 12:03:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383660 ORDER BY IDALARMCRA DESC 02/06 12:03:59 Just before Update() 02/06 12:04:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:04:09 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:04:09 Don't have work. 02/06 12:04:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:04:19 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:04:19 Alarms with pending videos found! 02/06 12:04:19 Next idalarmcra = 383661 02/06 12:04:19 DownloadVideos::DownloadVideoOfAlarm 02/06 12:04:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:04:19 SAM|22931 02/06 12:04:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120425_26.mp4|111891| 02/06 12:04:19 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120425_26.mp4 02/06 12:04:19 Date = 20190602 02/06 12:04:19 Construct from filename date 02/06 12:04:19 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120425_26.mp4 02/06 12:04:19 Destination file not found 02/06 12:04:19 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120425_26.mp4 02/06 12:04:19 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120425_26.mp4 02/06 12:04:20 DownloadFile ok... checking file destination 02/06 12:04:20 URLDownloadToFile ok 02/06 12:04:20 Video .sig downloaded ok! 02/06 12:04:21 Snapshot .sig downloaded ok! 02/06 12:04:21 Elapsed download time: 00:00:02 02/06 12:04:21 UpdateVideoname 02/06 12:04:21 Updating: idalarmcra = 383661 02/06 12:04:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383661 ORDER BY IDALARMCRA DESC 02/06 12:04:21 Just before Update() 02/06 12:04:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:04:31 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:04:31 Don't have work. 02/06 12:04:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:04:41 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:04:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:04:51 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:05:01 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:05:01 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:05:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:05:11 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:05:11 Alarms with pending videos found! 02/06 12:05:11 Next idalarmcra = 383663 02/06 12:05:11 DownloadVideos::DownloadVideoOfAlarm 02/06 12:05:11 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:05:11 SAM|1182 02/06 12:05:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:05:12 NOK answer received 02/06 12:05:12 UpdateVideoname 02/06 12:05:12 Updating: idalarmcra = 383663 02/06 12:05:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383663 ORDER BY IDALARMCRA DESC 02/06 12:05:12 Just before Update() 02/06 12:05:12 Next idalarmcra = 383662 02/06 12:05:12 DownloadVideos::DownloadVideoOfAlarm 02/06 12:05:12 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:05:12 SAM|22932 02/06 12:05:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120518_27.mp4|114314| 02/06 12:05:12 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120518_27.mp4 02/06 12:05:12 Date = 20190602 02/06 12:05:12 Construct from filename date 02/06 12:05:12 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120518_27.mp4 02/06 12:05:12 Destination file not found 02/06 12:05:12 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120518_27.mp4 02/06 12:05:12 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120518_27.mp4 02/06 12:05:13 DownloadFile ok... checking file destination 02/06 12:05:13 URLDownloadToFile ok 02/06 12:05:13 Video .sig downloaded ok! 02/06 12:05:13 Snapshot .sig downloaded ok! 02/06 12:05:13 Elapsed download time: 00:00:01 02/06 12:05:14 UpdateVideoname 02/06 12:05:14 Updating: idalarmcra = 383662 02/06 12:05:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383662 ORDER BY IDALARMCRA DESC 02/06 12:05:14 Just before Update() 02/06 12:05:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:05:24 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:05:24 Alarms with pending videos found! 02/06 12:05:24 Next idalarmcra = 383663 02/06 12:05:24 DownloadVideos::DownloadVideoOfAlarm 02/06 12:05:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:05:24 SAM|1182 02/06 12:05:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_120509_38.mp4|111338| 02/06 12:05:24 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_120509_38.mp4 02/06 12:05:24 Date = 20190602 02/06 12:05:24 Construct from filename date 02/06 12:05:24 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_120509_38.mp4 02/06 12:05:24 Destination file not found 02/06 12:05:24 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_120509_38.mp4 02/06 12:05:24 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_120509_38.mp4 02/06 12:05:24 DownloadFile ok... checking file destination 02/06 12:05:24 URLDownloadToFile ok 02/06 12:05:25 Video .sig downloaded ok! 02/06 12:05:25 Snapshot .sig downloaded ok! 02/06 12:05:25 Elapsed download time: 00:00:01 02/06 12:05:25 UpdateVideoname 02/06 12:05:25 Updating: idalarmcra = 383663 02/06 12:05:25 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383663 ORDER BY IDALARMCRA DESC 02/06 12:05:25 Just before Update() 02/06 12:05:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:05:35 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:05:35 Don't have work. 02/06 12:05:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:05:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:05:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:05:55 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:06:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:06:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:06:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:06:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:06:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:06:26 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:06:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:06:36 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:06:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:06:46 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:06:46 Alarms with pending videos found! 02/06 12:06:46 Next idalarmcra = 383664 02/06 12:06:46 DownloadVideos::DownloadVideoOfAlarm 02/06 12:06:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:06:46 SAM|1183 02/06 12:06:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:06:46 NOK answer received 02/06 12:06:46 UpdateVideoname 02/06 12:06:46 Updating: idalarmcra = 383664 02/06 12:06:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383664 ORDER BY IDALARMCRA DESC 02/06 12:06:46 Just before Update() 02/06 12:06:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:06:56 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:06:56 Alarms with pending videos found! 02/06 12:06:56 Next idalarmcra = 383664 02/06 12:06:56 DownloadVideos::DownloadVideoOfAlarm 02/06 12:06:57 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:06:57 SAM|1183 02/06 12:06:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_120642_69.mp4|111332| 02/06 12:06:57 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_120642_69.mp4 02/06 12:06:57 Date = 20190602 02/06 12:06:57 Construct from filename date 02/06 12:06:57 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_120642_69.mp4 02/06 12:06:57 Destination file not found 02/06 12:06:57 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_120642_69.mp4 02/06 12:06:57 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_120642_69.mp4 02/06 12:07:00 DownloadFile ok... checking file destination 02/06 12:07:00 URLDownloadToFile ok 02/06 12:07:00 Video .sig downloaded ok! 02/06 12:07:00 Snapshot .sig downloaded ok! 02/06 12:07:00 Elapsed download time: 00:00:03 02/06 12:07:00 UpdateVideoname 02/06 12:07:00 Updating: idalarmcra = 383664 02/06 12:07:00 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383664 ORDER BY IDALARMCRA DESC 02/06 12:07:00 Just before Update() 02/06 12:07:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:07:11 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:07:11 Alarms with pending videos found! 02/06 12:07:11 Next idalarmcra = 383667 02/06 12:07:11 DownloadVideos::DownloadVideoOfAlarm 02/06 12:07:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:07:11 SAM|1185 02/06 12:07:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_120658_143.mp4|105154| 02/06 12:07:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_120658_143.mp4 02/06 12:07:11 Date = 20190602 02/06 12:07:11 Construct from filename date 02/06 12:07:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_120658_143.mp4 02/06 12:07:11 Destination file not found 02/06 12:07:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_120658_143.mp4 02/06 12:07:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_120658_143.mp4 02/06 12:07:13 DownloadFile ok... checking file destination 02/06 12:07:13 URLDownloadToFile ok 02/06 12:07:13 Video .sig downloaded ok! 02/06 12:07:13 Snapshot .sig downloaded ok! 02/06 12:07:13 Elapsed download time: 00:00:02 02/06 12:07:13 UpdateVideoname 02/06 12:07:13 Updating: idalarmcra = 383667 02/06 12:07:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383667 ORDER BY IDALARMCRA DESC 02/06 12:07:13 Just before Update() 02/06 12:07:13 Next idalarmcra = 383666 02/06 12:07:13 DownloadVideos::DownloadVideoOfAlarm 02/06 12:07:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 12:07:13 SAM|163125 02/06 12:07:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_121943_94.mp4|108476| 02/06 12:07:13 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_121943_94.mp4 02/06 12:07:13 Date = 20190602 02/06 12:07:13 Construct from filename date 02/06 12:07:13 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_121943_94.mp4 02/06 12:07:13 Destination file not found 02/06 12:07:13 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_121943_94.mp4 02/06 12:07:13 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_121943_94.mp4 02/06 12:07:19 DownloadFile ok... checking file destination 02/06 12:07:19 URLDownloadToFile ok 02/06 12:07:19 Video .sig downloaded ok! 02/06 12:07:19 Snapshot .sig downloaded ok! 02/06 12:07:19 Elapsed download time: 00:00:06 02/06 12:07:19 UpdateVideoname 02/06 12:07:19 Updating: idalarmcra = 383666 02/06 12:07:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383666 ORDER BY IDALARMCRA DESC 02/06 12:07:19 Just before Update() 02/06 12:07:19 Next idalarmcra = 383665 02/06 12:07:19 DownloadVideos::DownloadVideoOfAlarm 02/06 12:07:19 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:07:19 SAM|1184 02/06 12:07:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_120657_39.mp4|115116| 02/06 12:07:20 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_120657_39.mp4 02/06 12:07:20 Date = 20190602 02/06 12:07:20 Construct from filename date 02/06 12:07:20 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_120657_39.mp4 02/06 12:07:20 Destination file not found 02/06 12:07:20 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_120657_39.mp4 02/06 12:07:20 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_120657_39.mp4 02/06 12:07:23 DownloadFile ok... checking file destination 02/06 12:07:23 URLDownloadToFile ok 02/06 12:07:24 Video .sig downloaded ok! 02/06 12:07:24 Snapshot .sig downloaded ok! 02/06 12:07:24 Elapsed download time: 00:00:05 02/06 12:07:24 UpdateVideoname 02/06 12:07:24 Updating: idalarmcra = 383665 02/06 12:07:24 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383665 ORDER BY IDALARMCRA DESC 02/06 12:07:24 Rollback executed. 02/06 12:07:24 RecordSet closed. 02/06 12:07:24 CheckDDBB 02/06 12:07:24 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 12:07:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:07:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:07:34 Don't have work. 02/06 12:07:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:07:44 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:07:44 Alarms with pending videos found! 02/06 12:07:44 Next idalarmcra = 383668 02/06 12:07:44 DownloadVideos::DownloadVideoOfAlarm 02/06 12:07:44 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 12:07:44 SAM|2070 02/06 12:07:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:07:44 NOK answer received 02/06 12:07:45 UpdateVideoname 02/06 12:07:45 Updating: idalarmcra = 383668 02/06 12:07:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383668 ORDER BY IDALARMCRA DESC 02/06 12:07:45 Just before Update() 02/06 12:07:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:07:55 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:07:55 Alarms with pending videos found! 02/06 12:07:55 Next idalarmcra = 383669 02/06 12:07:55 DownloadVideos::DownloadVideoOfAlarm 02/06 12:07:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:07:55 SAM|729 02/06 12:07:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_120742_21.mp4|106364| 02/06 12:07:55 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_120742_21.mp4 02/06 12:07:55 Date = 20190602 02/06 12:07:55 Construct from filename date 02/06 12:07:55 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_120742_21.mp4 02/06 12:07:55 Destination file not found 02/06 12:07:55 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_120742_21.mp4 02/06 12:07:55 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_120742_21.mp4 02/06 12:07:56 DownloadFile ok... checking file destination 02/06 12:07:56 URLDownloadToFile ok 02/06 12:07:57 Video .sig downloaded ok! 02/06 12:07:57 Snapshot .sig downloaded ok! 02/06 12:07:57 Elapsed download time: 00:00:02 02/06 12:07:57 UpdateVideoname 02/06 12:07:57 Updating: idalarmcra = 383669 02/06 12:07:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383669 ORDER BY IDALARMCRA DESC 02/06 12:07:57 Just before Update() 02/06 12:07:57 Next idalarmcra = 383668 02/06 12:07:57 DownloadVideos::DownloadVideoOfAlarm 02/06 12:07:57 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 12:07:57 SAM|2070 02/06 12:07:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_120743_95.mp4|109673| 02/06 12:07:57 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_120743_95.mp4 02/06 12:07:57 Date = 20190602 02/06 12:07:57 Construct from filename date 02/06 12:07:57 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_120743_95.mp4 02/06 12:07:57 Destination file not found 02/06 12:07:57 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_120743_95.mp4 02/06 12:07:57 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_120743_95.mp4 02/06 12:07:58 DownloadFile ok... checking file destination 02/06 12:07:58 URLDownloadToFile ok 02/06 12:07:59 Video .sig downloaded ok! 02/06 12:07:59 Snapshot .sig downloaded ok! 02/06 12:07:59 Elapsed download time: 00:00:02 02/06 12:07:59 UpdateVideoname 02/06 12:07:59 Updating: idalarmcra = 383668 02/06 12:07:59 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383668 ORDER BY IDALARMCRA DESC 02/06 12:07:59 Just before Update() 02/06 12:08:09 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:08:09 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:08:09 Don't have work. 02/06 12:08:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:08:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:08:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:08:29 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:08:29 Alarms with pending videos found! 02/06 12:08:29 Next idalarmcra = 383670 02/06 12:08:29 DownloadVideos::DownloadVideoOfAlarm 02/06 12:08:29 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:08:29 SAM|22933 02/06 12:08:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:08:30 NOK answer received 02/06 12:08:30 UpdateVideoname 02/06 12:08:30 Updating: idalarmcra = 383670 02/06 12:08:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383670 ORDER BY IDALARMCRA DESC 02/06 12:08:30 Just before Update() 02/06 12:08:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:08:40 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:08:40 Alarms with pending videos found! 02/06 12:08:40 Next idalarmcra = 383670 02/06 12:08:40 DownloadVideos::DownloadVideoOfAlarm 02/06 12:08:40 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:08:40 SAM|22933 02/06 12:08:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120841_28.mp4|112884| 02/06 12:08:40 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120841_28.mp4 02/06 12:08:40 Date = 20190602 02/06 12:08:40 Construct from filename date 02/06 12:08:40 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120841_28.mp4 02/06 12:08:40 Destination file not found 02/06 12:08:40 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120841_28.mp4 02/06 12:08:40 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_120841_28.mp4 02/06 12:08:42 DownloadFile ok... checking file destination 02/06 12:08:42 URLDownloadToFile ok 02/06 12:08:42 Video .sig downloaded ok! 02/06 12:08:42 Snapshot .sig downloaded ok! 02/06 12:08:42 Elapsed download time: 00:00:02 02/06 12:08:42 UpdateVideoname 02/06 12:08:42 Updating: idalarmcra = 383670 02/06 12:08:42 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383670 ORDER BY IDALARMCRA DESC 02/06 12:08:42 Just before Update() 02/06 12:08:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:08:52 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:08:52 Don't have work. 02/06 12:09:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:09:02 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:09:02 Alarms with pending videos found! 02/06 12:09:02 Next idalarmcra = 383672 02/06 12:09:02 DownloadVideos::DownloadVideoOfAlarm 02/06 12:09:02 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:09:02 SAM|1187 02/06 12:09:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:09:02 NOK answer received 02/06 12:09:03 UpdateVideoname 02/06 12:09:03 Updating: idalarmcra = 383672 02/06 12:09:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383672 ORDER BY IDALARMCRA DESC 02/06 12:09:03 Just before Update() 02/06 12:09:03 Next idalarmcra = 383671 02/06 12:09:03 DownloadVideos::DownloadVideoOfAlarm 02/06 12:09:03 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:09:03 SAM|1186 02/06 12:09:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_120855_67.mp4|99366| 02/06 12:09:03 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_120855_67.mp4 02/06 12:09:03 Date = 20190602 02/06 12:09:03 Construct from filename date 02/06 12:09:03 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_120855_67.mp4 02/06 12:09:03 Destination file not found 02/06 12:09:03 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_120855_67.mp4 02/06 12:09:03 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_120855_67.mp4 02/06 12:09:03 DownloadFile ok... checking file destination 02/06 12:09:03 URLDownloadToFile ok 02/06 12:09:04 Video .sig downloaded ok! 02/06 12:09:04 Snapshot .sig downloaded ok! 02/06 12:09:04 Elapsed download time: 00:00:01 02/06 12:09:04 UpdateVideoname 02/06 12:09:04 Updating: idalarmcra = 383671 02/06 12:09:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383671 ORDER BY IDALARMCRA DESC 02/06 12:09:04 Just before Update() 02/06 12:09:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:09:14 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:09:14 Alarms with pending videos found! 02/06 12:09:14 Next idalarmcra = 383673 02/06 12:09:14 DownloadVideos::DownloadVideoOfAlarm 02/06 12:09:14 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:09:14 SAM|1188 02/06 12:09:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_120909_70.mp4|102329| 02/06 12:09:15 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_120909_70.mp4 02/06 12:09:15 Date = 20190602 02/06 12:09:15 Construct from filename date 02/06 12:09:15 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_120909_70.mp4 02/06 12:09:15 Destination file not found 02/06 12:09:15 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_120909_70.mp4 02/06 12:09:15 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_120909_70.mp4 02/06 12:09:15 DownloadFile ok... checking file destination 02/06 12:09:15 URLDownloadToFile ok 02/06 12:09:15 Video .sig downloaded ok! 02/06 12:09:15 Snapshot .sig downloaded ok! 02/06 12:09:15 Elapsed download time: 00:00:01 02/06 12:09:15 UpdateVideoname 02/06 12:09:15 Updating: idalarmcra = 383673 02/06 12:09:15 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383673 ORDER BY IDALARMCRA DESC 02/06 12:09:15 Just before Update() 02/06 12:09:15 Next idalarmcra = 383672 02/06 12:09:15 DownloadVideos::DownloadVideoOfAlarm 02/06 12:09:15 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:09:15 SAM|1187 02/06 12:09:15 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_120858_144.mp4|103285| 02/06 12:09:15 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_120858_144.mp4 02/06 12:09:15 Date = 20190602 02/06 12:09:15 Construct from filename date 02/06 12:09:15 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_120858_144.mp4 02/06 12:09:15 Destination file not found 02/06 12:09:15 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_120858_144.mp4 02/06 12:09:15 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_120858_144.mp4 02/06 12:09:16 DownloadFile ok... checking file destination 02/06 12:09:16 URLDownloadToFile ok 02/06 12:09:16 Video .sig downloaded ok! 02/06 12:09:16 Snapshot .sig downloaded ok! 02/06 12:09:16 Elapsed download time: 00:00:01 02/06 12:09:16 UpdateVideoname 02/06 12:09:16 Updating: idalarmcra = 383672 02/06 12:09:16 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383672 ORDER BY IDALARMCRA DESC 02/06 12:09:16 Just before Update() 02/06 12:09:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:09:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:09:26 Don't have work. 02/06 12:09:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:09:36 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:09:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:09:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:09:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:09:56 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:10:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:10:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:10:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:10:17 [D] Query(20ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:10:17 Alarms with pending videos found! 02/06 12:10:17 Next idalarmcra = 383674 02/06 12:10:17 DownloadVideos::DownloadVideoOfAlarm 02/06 12:10:17 [D] Query(9ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:10:17 SAM|1189 02/06 12:10:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_121007_71.mp4|102103| 02/06 12:10:17 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_121007_71.mp4 02/06 12:10:17 Date = 20190602 02/06 12:10:17 Construct from filename date 02/06 12:10:17 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_121007_71.mp4 02/06 12:10:17 Destination file not found 02/06 12:10:17 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_121007_71.mp4 02/06 12:10:17 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_121007_71.mp4 02/06 12:10:17 DownloadFile ok... checking file destination 02/06 12:10:17 URLDownloadToFile ok 02/06 12:10:17 Video .sig downloaded ok! 02/06 12:10:18 Snapshot .sig downloaded ok! 02/06 12:10:18 Elapsed download time: 00:00:01 02/06 12:10:18 UpdateVideoname 02/06 12:10:18 Updating: idalarmcra = 383674 02/06 12:10:18 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383674 ORDER BY IDALARMCRA DESC 02/06 12:10:18 Just before Update() 02/06 12:10:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:10:28 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:10:28 Alarms with pending videos found! 02/06 12:10:28 Next idalarmcra = 383676 02/06 12:10:28 DownloadVideos::DownloadVideoOfAlarm 02/06 12:10:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:10:28 SAM|22934 02/06 12:10:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121033_29.mp4|115285| 02/06 12:10:29 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121033_29.mp4 02/06 12:10:29 Date = 20190602 02/06 12:10:29 Construct from filename date 02/06 12:10:29 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121033_29.mp4 02/06 12:10:29 Destination file not found 02/06 12:10:29 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121033_29.mp4 02/06 12:10:29 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121033_29.mp4 02/06 12:10:31 DownloadFile ok... checking file destination 02/06 12:10:31 URLDownloadToFile ok 02/06 12:10:31 Video .sig downloaded ok! 02/06 12:10:31 Snapshot .sig downloaded ok! 02/06 12:10:31 Elapsed download time: 00:00:03 02/06 12:10:32 UpdateVideoname 02/06 12:10:32 Updating: idalarmcra = 383676 02/06 12:10:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383676 ORDER BY IDALARMCRA DESC 02/06 12:10:32 Just before Update() 02/06 12:10:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:10:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:10:42 Don't have work. 02/06 12:10:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:10:52 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:11:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:11:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:11:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:11:12 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:11:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:11:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:11:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:11:32 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:11:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:11:42 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:11:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:11:52 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:11:52 Alarms with pending videos found! 02/06 12:11:52 Next idalarmcra = 383679 02/06 12:11:52 DownloadVideos::DownloadVideoOfAlarm 02/06 12:11:52 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:11:52 SAM|1190 02/06 12:11:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:11:53 NOK answer received 02/06 12:11:53 UpdateVideoname 02/06 12:11:53 Updating: idalarmcra = 383679 02/06 12:11:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383679 ORDER BY IDALARMCRA DESC 02/06 12:11:53 Just before Update() 02/06 12:11:53 Next idalarmcra = 383678 02/06 12:11:53 DownloadVideos::DownloadVideoOfAlarm 02/06 12:11:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:11:53 SAM|730 02/06 12:11:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_121139_22.mp4|106175| 02/06 12:11:53 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_121139_22.mp4 02/06 12:11:53 Date = 20190602 02/06 12:11:53 Construct from filename date 02/06 12:11:53 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_121139_22.mp4 02/06 12:11:53 Destination file not found 02/06 12:11:53 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_121139_22.mp4 02/06 12:11:53 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_121139_22.mp4 02/06 12:11:55 DownloadFile ok... checking file destination 02/06 12:11:55 URLDownloadToFile ok 02/06 12:11:55 Video .sig downloaded ok! 02/06 12:11:55 Snapshot .sig downloaded ok! 02/06 12:11:55 Elapsed download time: 00:00:02 02/06 12:11:56 UpdateVideoname 02/06 12:11:56 Updating: idalarmcra = 383678 02/06 12:11:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383678 ORDER BY IDALARMCRA DESC 02/06 12:11:56 Just before Update() 02/06 12:12:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:12:06 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:12:06 Alarms with pending videos found! 02/06 12:12:06 Next idalarmcra = 383680 02/06 12:12:06 DownloadVideos::DownloadVideoOfAlarm 02/06 12:12:06 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:12:06 SAM|1191 02/06 12:12:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121159_145.mp4|102614| 02/06 12:12:06 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121159_145.mp4 02/06 12:12:06 Date = 20190602 02/06 12:12:06 Construct from filename date 02/06 12:12:06 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121159_145.mp4 02/06 12:12:06 Destination file not found 02/06 12:12:06 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121159_145.mp4 02/06 12:12:06 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121159_145.mp4 02/06 12:12:06 DownloadFile ok... checking file destination 02/06 12:12:06 URLDownloadToFile ok 02/06 12:12:07 Video .sig downloaded ok! 02/06 12:12:07 Snapshot .sig downloaded ok! 02/06 12:12:07 Elapsed download time: 00:00:01 02/06 12:12:07 UpdateVideoname 02/06 12:12:07 Updating: idalarmcra = 383680 02/06 12:12:07 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383680 ORDER BY IDALARMCRA DESC 02/06 12:12:07 Just before Update() 02/06 12:12:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:12:17 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:12:17 Alarms with pending videos found! 02/06 12:12:17 Next idalarmcra = 383681 02/06 12:12:17 DownloadVideos::DownloadVideoOfAlarm 02/06 12:12:17 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:12:17 SAM|731 02/06 12:12:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_121208_23.mp4|101718| 02/06 12:12:17 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_121208_23.mp4 02/06 12:12:17 Date = 20190602 02/06 12:12:17 Construct from filename date 02/06 12:12:17 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_121208_23.mp4 02/06 12:12:17 Destination file not found 02/06 12:12:17 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_121208_23.mp4 02/06 12:12:17 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_121208_23.mp4 02/06 12:12:21 DownloadFile ok... checking file destination 02/06 12:12:21 URLDownloadToFile ok 02/06 12:12:21 Video .sig downloaded ok! 02/06 12:12:21 Snapshot .sig downloaded ok! 02/06 12:12:21 Elapsed download time: 00:00:04 02/06 12:12:21 UpdateVideoname 02/06 12:12:21 Updating: idalarmcra = 383681 02/06 12:12:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383681 ORDER BY IDALARMCRA DESC 02/06 12:12:21 Just before Update() 02/06 12:12:31 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:12:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:12:31 Don't have work. 02/06 12:12:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:12:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:12:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:12:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:13:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:13:01 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:13:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:13:11 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:13:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:13:22 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:13:22 Alarms with pending videos found! 02/06 12:13:22 Next idalarmcra = 383684 02/06 12:13:22 DownloadVideos::DownloadVideoOfAlarm 02/06 12:13:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:13:22 SAM|22935 02/06 12:13:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121330_30.mp4|109763| 02/06 12:13:22 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121330_30.mp4 02/06 12:13:22 Date = 20190602 02/06 12:13:22 Construct from filename date 02/06 12:13:22 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121330_30.mp4 02/06 12:13:22 Destination file not found 02/06 12:13:22 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121330_30.mp4 02/06 12:13:22 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121330_30.mp4 02/06 12:13:24 DownloadFile ok... checking file destination 02/06 12:13:24 URLDownloadToFile ok 02/06 12:13:24 Video .sig downloaded ok! 02/06 12:13:25 Snapshot .sig downloaded ok! 02/06 12:13:25 Elapsed download time: 00:00:03 02/06 12:13:25 UpdateVideoname 02/06 12:13:25 Updating: idalarmcra = 383684 02/06 12:13:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383684 ORDER BY IDALARMCRA DESC 02/06 12:13:25 Just before Update() 02/06 12:13:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:13:35 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:13:35 Don't have work. 02/06 12:13:45 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:13:45 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:13:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:13:55 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:14:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:14:05 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:14:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:14:15 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:14:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:14:26 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:14:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:14:36 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:14:36 Alarms with pending videos found! 02/06 12:14:36 Next idalarmcra = 383686 02/06 12:14:36 DownloadVideos::DownloadVideoOfAlarm 02/06 12:14:36 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:14:36 SAM|1193 02/06 12:14:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121428_68.mp4|100560| 02/06 12:14:36 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121428_68.mp4 02/06 12:14:36 Date = 20190602 02/06 12:14:36 Construct from filename date 02/06 12:14:36 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121428_68.mp4 02/06 12:14:36 Destination file not found 02/06 12:14:36 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121428_68.mp4 02/06 12:14:36 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121428_68.mp4 02/06 12:14:38 DownloadFile ok... checking file destination 02/06 12:14:38 URLDownloadToFile ok 02/06 12:14:39 Video .sig downloaded ok! 02/06 12:14:39 Snapshot .sig downloaded ok! 02/06 12:14:39 Elapsed download time: 00:00:03 02/06 12:14:39 UpdateVideoname 02/06 12:14:39 Updating: idalarmcra = 383686 02/06 12:14:39 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383686 ORDER BY IDALARMCRA DESC 02/06 12:14:39 Just before Update() 02/06 12:14:39 Next idalarmcra = 383685 02/06 12:14:39 DownloadVideos::DownloadVideoOfAlarm 02/06 12:14:39 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:14:39 SAM|1192 02/06 12:14:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121427_146.mp4|101252| 02/06 12:14:39 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121427_146.mp4 02/06 12:14:39 Date = 20190602 02/06 12:14:39 Construct from filename date 02/06 12:14:39 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121427_146.mp4 02/06 12:14:39 Destination file not found 02/06 12:14:39 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121427_146.mp4 02/06 12:14:39 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121427_146.mp4 02/06 12:14:41 DownloadFile ok... checking file destination 02/06 12:14:41 URLDownloadToFile ok 02/06 12:14:41 Video .sig downloaded ok! 02/06 12:14:41 Snapshot .sig downloaded ok! 02/06 12:14:41 Elapsed download time: 00:00:02 02/06 12:14:41 UpdateVideoname 02/06 12:14:41 Updating: idalarmcra = 383685 02/06 12:14:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383685 ORDER BY IDALARMCRA DESC 02/06 12:14:41 Just before Update() 02/06 12:14:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:14:51 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:14:51 Alarms with pending videos found! 02/06 12:14:51 Next idalarmcra = 383687 02/06 12:14:51 DownloadVideos::DownloadVideoOfAlarm 02/06 12:14:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:14:51 SAM|1194 02/06 12:14:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121439_69.mp4|97147| 02/06 12:14:52 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121439_69.mp4 02/06 12:14:52 Date = 20190602 02/06 12:14:52 Construct from filename date 02/06 12:14:52 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121439_69.mp4 02/06 12:14:52 Destination file not found 02/06 12:14:52 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121439_69.mp4 02/06 12:14:52 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121439_69.mp4 02/06 12:14:54 DownloadFile ok... checking file destination 02/06 12:14:54 URLDownloadToFile ok 02/06 12:14:54 Video .sig downloaded ok! 02/06 12:14:54 Snapshot .sig downloaded ok! 02/06 12:14:54 Elapsed download time: 00:00:03 02/06 12:14:54 UpdateVideoname 02/06 12:14:54 Updating: idalarmcra = 383687 02/06 12:14:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383687 ORDER BY IDALARMCRA DESC 02/06 12:14:54 Just before Update() 02/06 12:15:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:15:04 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:15:04 Alarms with pending videos found! 02/06 12:15:04 Next idalarmcra = 383689 02/06 12:15:04 DownloadVideos::DownloadVideoOfAlarm 02/06 12:15:04 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 12:15:04 SAM|10900 02/06 12:15:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:15:05 NOK answer received 02/06 12:15:05 UpdateVideoname 02/06 12:15:05 Updating: idalarmcra = 383689 02/06 12:15:05 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383689 ORDER BY IDALARMCRA DESC 02/06 12:15:05 Just before Update() 02/06 12:15:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:15:15 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:15:15 Don't have work. 02/06 12:15:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:15:25 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:15:25 Alarms with pending videos found! 02/06 12:15:25 Next idalarmcra = 383690 02/06 12:15:25 DownloadVideos::DownloadVideoOfAlarm 02/06 12:15:25 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:15:25 SAM|1057 02/06 12:15:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_121427_405.mp4|102528| 02/06 12:15:25 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_121427_405.mp4 02/06 12:15:25 Date = 20190602 02/06 12:15:25 Construct from filename date 02/06 12:15:25 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_121427_405.mp4 02/06 12:15:25 Destination file not found 02/06 12:15:25 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_121427_405.mp4 02/06 12:15:25 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_121427_405.mp4 02/06 12:15:26 DownloadFile ok... checking file destination 02/06 12:15:26 URLDownloadToFile ok 02/06 12:15:26 Video .sig downloaded ok! 02/06 12:15:26 Snapshot .sig downloaded ok! 02/06 12:15:26 Elapsed download time: 00:00:01 02/06 12:15:26 UpdateVideoname 02/06 12:15:26 Updating: idalarmcra = 383690 02/06 12:15:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383690 ORDER BY IDALARMCRA DESC 02/06 12:15:26 Just before Update() 02/06 12:15:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:15:36 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:15:36 Don't have work. 02/06 12:15:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:15:47 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:15:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:15:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:16:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:16:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:16:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:16:17 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:16:17 Alarms with pending videos found! 02/06 12:16:17 Next idalarmcra = 383692 02/06 12:16:17 DownloadVideos::DownloadVideoOfAlarm 02/06 12:16:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:16:17 SAM|1195 02/06 12:16:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:16:17 NOK answer received 02/06 12:16:17 UpdateVideoname 02/06 12:16:17 Updating: idalarmcra = 383692 02/06 12:16:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383692 ORDER BY IDALARMCRA DESC 02/06 12:16:17 Just before Update() 02/06 12:16:17 Next idalarmcra = 383691 02/06 12:16:17 DownloadVideos::DownloadVideoOfAlarm 02/06 12:16:17 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:16:17 SAM|22936 02/06 12:16:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121620_31.mp4|113389| 02/06 12:16:18 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121620_31.mp4 02/06 12:16:18 Date = 20190602 02/06 12:16:18 Construct from filename date 02/06 12:16:18 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121620_31.mp4 02/06 12:16:18 Destination file not found 02/06 12:16:18 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121620_31.mp4 02/06 12:16:18 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_121620_31.mp4 02/06 12:16:19 DownloadFile ok... checking file destination 02/06 12:16:19 URLDownloadToFile ok 02/06 12:16:19 Video .sig downloaded ok! 02/06 12:16:19 Snapshot .sig downloaded ok! 02/06 12:16:19 Elapsed download time: 00:00:02 02/06 12:16:20 UpdateVideoname 02/06 12:16:20 Updating: idalarmcra = 383691 02/06 12:16:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383691 ORDER BY IDALARMCRA DESC 02/06 12:16:20 Just before Update() 02/06 12:16:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:16:30 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:16:30 Alarms with pending videos found! 02/06 12:16:30 Next idalarmcra = 383692 02/06 12:16:30 DownloadVideos::DownloadVideoOfAlarm 02/06 12:16:30 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:16:30 SAM|1195 02/06 12:16:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121616_70.mp4|98074| 02/06 12:16:30 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121616_70.mp4 02/06 12:16:30 Date = 20190602 02/06 12:16:30 Construct from filename date 02/06 12:16:30 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121616_70.mp4 02/06 12:16:30 Destination file not found 02/06 12:16:30 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121616_70.mp4 02/06 12:16:30 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121616_70.mp4 02/06 12:16:33 DownloadFile ok... checking file destination 02/06 12:16:33 URLDownloadToFile ok 02/06 12:16:33 Video .sig downloaded ok! 02/06 12:16:33 Snapshot .sig downloaded ok! 02/06 12:16:33 Elapsed download time: 00:00:03 02/06 12:16:33 UpdateVideoname 02/06 12:16:33 Updating: idalarmcra = 383692 02/06 12:16:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383692 ORDER BY IDALARMCRA DESC 02/06 12:16:33 Just before Update() 02/06 12:16:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:16:43 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:16:43 Alarms with pending videos found! 02/06 12:16:43 Next idalarmcra = 383694 02/06 12:16:43 DownloadVideos::DownloadVideoOfAlarm 02/06 12:16:43 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 42 02/06 12:16:43 SAM|2886 02/06 12:16:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SOMA_B_Cam1_Event2_20190602_121637_67.mp4|78233| 02/06 12:16:43 FilenameSrc = 20190602\\SiteDGS_VA_SOMA_B_Cam1_Event2_20190602_121637_67.mp4 02/06 12:16:43 Date = 20190602 02/06 12:16:43 Construct from filename date 02/06 12:16:43 Destination: c:\Davantis\CRAServer\\SITE_42\\20190602\\SiteDGS_VA_SOMA_B_Cam1_Event2_20190602_121637_67.mp4 02/06 12:16:43 Destination file not found 02/06 12:16:43 http://192.168.35.101:21001/20190602\\SiteDGS_VA_SOMA_B_Cam1_Event2_20190602_121637_67.mp4 02/06 12:16:43 c:\Davantis\CRAServer\\SITE_42\\20190602\\SiteDGS_VA_SOMA_B_Cam1_Event2_20190602_121637_67.mp4 02/06 12:16:44 DownloadFile ok... checking file destination 02/06 12:16:44 URLDownloadToFile ok 02/06 12:16:45 Video .sig downloaded ok! 02/06 12:16:45 Snapshot .sig downloaded ok! 02/06 12:16:45 Elapsed download time: 00:00:02 02/06 12:16:45 UpdateVideoname 02/06 12:16:45 Updating: idalarmcra = 383694 02/06 12:16:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383694 ORDER BY IDALARMCRA DESC 02/06 12:16:45 Just before Update() 02/06 12:16:45 Next idalarmcra = 383693 02/06 12:16:45 DownloadVideos::DownloadVideoOfAlarm 02/06 12:16:45 [D] Query(14ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 12:16:45 SAM|22286 02/06 12:16:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_122115_2.mp4|119207| 02/06 12:16:45 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_122115_2.mp4 02/06 12:16:45 Date = 20190602 02/06 12:16:45 Construct from filename date 02/06 12:16:45 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_122115_2.mp4 02/06 12:16:45 Destination file not found 02/06 12:16:45 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_122115_2.mp4 02/06 12:16:45 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_122115_2.mp4 02/06 12:16:46 DownloadFile ok... checking file destination 02/06 12:16:46 URLDownloadToFile ok 02/06 12:16:47 Video .sig downloaded ok! 02/06 12:16:47 Snapshot .sig downloaded ok! 02/06 12:16:47 Elapsed download time: 00:00:02 02/06 12:16:47 UpdateVideoname 02/06 12:16:47 Updating: idalarmcra = 383693 02/06 12:16:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383693 ORDER BY IDALARMCRA DESC 02/06 12:16:47 Just before Update() 02/06 12:16:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:16:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:16:57 Don't have work. 02/06 12:17:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:17:07 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:17:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:17:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:17:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:17:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:17:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:17:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:17:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:17:48 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:17:48 Alarms with pending videos found! 02/06 12:17:48 Next idalarmcra = 383696 02/06 12:17:48 DownloadVideos::DownloadVideoOfAlarm 02/06 12:17:48 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 12:17:48 SAM|16951 02/06 12:17:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_121736_107.mp4|102273| 02/06 12:17:49 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_121736_107.mp4 02/06 12:17:49 Date = 20190602 02/06 12:17:49 Construct from filename date 02/06 12:17:49 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_121736_107.mp4 02/06 12:17:49 Destination file not found 02/06 12:17:49 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_121736_107.mp4 02/06 12:17:49 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_121736_107.mp4 02/06 12:17:51 DownloadFile ok... checking file destination 02/06 12:17:51 URLDownloadToFile ok 02/06 12:17:51 Video .sig downloaded ok! 02/06 12:17:51 Snapshot .sig downloaded ok! 02/06 12:17:51 Elapsed download time: 00:00:03 02/06 12:17:51 UpdateVideoname 02/06 12:17:51 Updating: idalarmcra = 383696 02/06 12:17:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383696 ORDER BY IDALARMCRA DESC 02/06 12:17:51 Just before Update() 02/06 12:18:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:18:01 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:18:01 Alarms with pending videos found! 02/06 12:18:01 Next idalarmcra = 383697 02/06 12:18:01 DownloadVideos::DownloadVideoOfAlarm 02/06 12:18:01 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:18:01 SAM|1196 02/06 12:18:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121747_71.mp4|92971| 02/06 12:18:01 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121747_71.mp4 02/06 12:18:01 Date = 20190602 02/06 12:18:01 Construct from filename date 02/06 12:18:02 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121747_71.mp4 02/06 12:18:02 Destination file not found 02/06 12:18:02 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121747_71.mp4 02/06 12:18:02 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121747_71.mp4 02/06 12:18:02 DownloadFile ok... checking file destination 02/06 12:18:02 URLDownloadToFile ok 02/06 12:18:02 Video .sig downloaded ok! 02/06 12:18:02 Snapshot .sig downloaded ok! 02/06 12:18:02 Elapsed download time: 00:00:01 02/06 12:18:02 UpdateVideoname 02/06 12:18:02 Updating: idalarmcra = 383697 02/06 12:18:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383697 ORDER BY IDALARMCRA DESC 02/06 12:18:02 Just before Update() 02/06 12:18:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:18:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:18:12 Don't have work. 02/06 12:18:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:18:23 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:18:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:18:33 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:18:33 Alarms with pending videos found! 02/06 12:18:33 Next idalarmcra = 383699 02/06 12:18:33 DownloadVideos::DownloadVideoOfAlarm 02/06 12:18:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 12:18:33 SAM|15967 02/06 12:18:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_121830_7.mp4|100881| 02/06 12:18:33 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_121830_7.mp4 02/06 12:18:33 Date = 20190602 02/06 12:18:33 Construct from filename date 02/06 12:18:33 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_121830_7.mp4 02/06 12:18:33 Destination file not found 02/06 12:18:33 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_121830_7.mp4 02/06 12:18:33 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_121830_7.mp4 02/06 12:18:35 DownloadFile ok... checking file destination 02/06 12:18:35 URLDownloadToFile ok 02/06 12:18:36 Video .sig downloaded ok! 02/06 12:18:36 Snapshot .sig downloaded ok! 02/06 12:18:36 Elapsed download time: 00:00:03 02/06 12:18:36 UpdateVideoname 02/06 12:18:36 Updating: idalarmcra = 383699 02/06 12:18:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383699 ORDER BY IDALARMCRA DESC 02/06 12:18:36 Just before Update() 02/06 12:18:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:18:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:18:46 Don't have work. 02/06 12:18:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:18:56 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:18:56 Alarms with pending videos found! 02/06 12:18:56 Next idalarmcra = 383701 02/06 12:18:56 DownloadVideos::DownloadVideoOfAlarm 02/06 12:18:56 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:18:56 SAM|1198 02/06 12:18:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:18:57 NOK answer received 02/06 12:18:57 UpdateVideoname 02/06 12:18:57 Updating: idalarmcra = 383701 02/06 12:18:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383701 ORDER BY IDALARMCRA DESC 02/06 12:18:57 Just before Update() 02/06 12:18:57 Next idalarmcra = 383700 02/06 12:18:57 DownloadVideos::DownloadVideoOfAlarm 02/06 12:18:57 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:18:57 SAM|1197 02/06 12:18:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121850_147.mp4|102646| 02/06 12:18:57 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121850_147.mp4 02/06 12:18:57 Date = 20190602 02/06 12:18:57 Construct from filename date 02/06 12:18:57 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121850_147.mp4 02/06 12:18:57 Destination file not found 02/06 12:18:57 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121850_147.mp4 02/06 12:18:57 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121850_147.mp4 02/06 12:18:58 DownloadFile ok... checking file destination 02/06 12:18:58 URLDownloadToFile ok 02/06 12:18:58 Video .sig downloaded ok! 02/06 12:18:58 Snapshot .sig downloaded ok! 02/06 12:18:58 Elapsed download time: 00:00:01 02/06 12:18:58 UpdateVideoname 02/06 12:18:58 Updating: idalarmcra = 383700 02/06 12:18:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383700 ORDER BY IDALARMCRA DESC 02/06 12:18:58 Just before Update() 02/06 12:19:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:19:08 [D] Query(36ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:19:08 Don't have work. 02/06 12:19:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:19:18 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:19:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:19:28 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:19:28 Alarms with pending videos found! 02/06 12:19:28 Next idalarmcra = 383703 02/06 12:19:28 DownloadVideos::DownloadVideoOfAlarm 02/06 12:19:28 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:19:28 SAM|1199 02/06 12:19:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:19:28 NOK answer received 02/06 12:19:28 UpdateVideoname 02/06 12:19:28 Updating: idalarmcra = 383703 02/06 12:19:28 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383703 ORDER BY IDALARMCRA DESC 02/06 12:19:28 Just before Update() 02/06 12:19:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:19:38 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:19:38 Alarms with pending videos found! 02/06 12:19:38 Next idalarmcra = 383703 02/06 12:19:38 DownloadVideos::DownloadVideoOfAlarm 02/06 12:19:39 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:19:39 SAM|1199 02/06 12:19:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121926_73.mp4|98467| 02/06 12:19:39 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121926_73.mp4 02/06 12:19:39 Date = 20190602 02/06 12:19:39 Construct from filename date 02/06 12:19:39 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121926_73.mp4 02/06 12:19:39 Destination file not found 02/06 12:19:39 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121926_73.mp4 02/06 12:19:39 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_121926_73.mp4 02/06 12:19:39 DownloadFile ok... checking file destination 02/06 12:19:39 URLDownloadToFile ok 02/06 12:19:39 Video .sig downloaded ok! 02/06 12:19:39 Snapshot .sig downloaded ok! 02/06 12:19:39 Elapsed download time: 00:00:00 02/06 12:19:39 UpdateVideoname 02/06 12:19:39 Updating: idalarmcra = 383703 02/06 12:19:39 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383703 ORDER BY IDALARMCRA DESC 02/06 12:19:39 Just before Update() 02/06 12:19:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:19:50 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:19:50 Don't have work. 02/06 12:20:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:20:00 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:20:00 Alarms with pending videos found! 02/06 12:20:00 Next idalarmcra = 383706 02/06 12:20:00 DownloadVideos::DownloadVideoOfAlarm 02/06 12:20:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:20:00 SAM|1200 02/06 12:20:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121954_148.mp4|103489| 02/06 12:20:00 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121954_148.mp4 02/06 12:20:00 Date = 20190602 02/06 12:20:00 Construct from filename date 02/06 12:20:00 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121954_148.mp4 02/06 12:20:00 Destination file not found 02/06 12:20:00 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121954_148.mp4 02/06 12:20:00 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_121954_148.mp4 02/06 12:20:00 DownloadFile ok... checking file destination 02/06 12:20:00 URLDownloadToFile ok 02/06 12:20:00 Video .sig downloaded ok! 02/06 12:20:01 Snapshot .sig downloaded ok! 02/06 12:20:01 Elapsed download time: 00:00:01 02/06 12:20:01 UpdateVideoname 02/06 12:20:01 Updating: idalarmcra = 383706 02/06 12:20:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383706 ORDER BY IDALARMCRA DESC 02/06 12:20:01 Just before Update() 02/06 12:20:01 Next idalarmcra = 383705 02/06 12:20:01 DownloadVideos::DownloadVideoOfAlarm 02/06 12:20:01 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:20:01 SAM|22937 02/06 12:20:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_122006_32.mp4|115261| 02/06 12:20:01 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_122006_32.mp4 02/06 12:20:01 Date = 20190602 02/06 12:20:01 Construct from filename date 02/06 12:20:01 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_122006_32.mp4 02/06 12:20:01 Destination file not found 02/06 12:20:01 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_122006_32.mp4 02/06 12:20:01 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_122006_32.mp4 02/06 12:20:03 DownloadFile ok... checking file destination 02/06 12:20:03 URLDownloadToFile ok 02/06 12:20:03 Video .sig downloaded ok! 02/06 12:20:03 Snapshot .sig downloaded ok! 02/06 12:20:03 Elapsed download time: 00:00:02 02/06 12:20:03 UpdateVideoname 02/06 12:20:03 Updating: idalarmcra = 383705 02/06 12:20:03 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383705 ORDER BY IDALARMCRA DESC 02/06 12:20:03 Just before Update() 02/06 12:20:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:20:13 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:20:13 Alarms with pending videos found! 02/06 12:20:13 Next idalarmcra = 383707 02/06 12:20:13 DownloadVideos::DownloadVideoOfAlarm 02/06 12:20:13 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:20:13 SAM|22938 02/06 12:20:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_122021_33.mp4|113696| 02/06 12:20:14 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_122021_33.mp4 02/06 12:20:14 Date = 20190602 02/06 12:20:14 Construct from filename date 02/06 12:20:14 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_122021_33.mp4 02/06 12:20:14 Destination file not found 02/06 12:20:14 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_122021_33.mp4 02/06 12:20:14 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_122021_33.mp4 02/06 12:20:16 DownloadFile ok... checking file destination 02/06 12:20:16 URLDownloadToFile ok 02/06 12:20:16 Video .sig downloaded ok! 02/06 12:20:16 Snapshot .sig downloaded ok! 02/06 12:20:16 Elapsed download time: 00:00:03 02/06 12:20:16 UpdateVideoname 02/06 12:20:16 Updating: idalarmcra = 383707 02/06 12:20:16 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383707 ORDER BY IDALARMCRA DESC 02/06 12:20:16 Just before Update() 02/06 12:20:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:20:26 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:20:26 Alarms with pending videos found! 02/06 12:20:26 Next idalarmcra = 383708 02/06 12:20:26 DownloadVideos::DownloadVideoOfAlarm 02/06 12:20:26 [D] Query(14ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:20:26 SAM|1201 02/06 12:20:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122018_74.mp4|96990| 02/06 12:20:26 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122018_74.mp4 02/06 12:20:26 Date = 20190602 02/06 12:20:26 Construct from filename date 02/06 12:20:26 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122018_74.mp4 02/06 12:20:26 Destination file not found 02/06 12:20:26 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122018_74.mp4 02/06 12:20:26 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122018_74.mp4 02/06 12:20:27 DownloadFile ok... checking file destination 02/06 12:20:27 URLDownloadToFile ok 02/06 12:20:27 Video .sig downloaded ok! 02/06 12:20:27 Snapshot .sig downloaded ok! 02/06 12:20:27 Elapsed download time: 00:00:01 02/06 12:20:27 UpdateVideoname 02/06 12:20:27 Updating: idalarmcra = 383708 02/06 12:20:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383708 ORDER BY IDALARMCRA DESC 02/06 12:20:27 Just before Update() 02/06 12:20:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:20:37 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:20:37 Don't have work. 02/06 12:20:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:20:47 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:20:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:20:57 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:21:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:21:07 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:21:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:21:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:21:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:21:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:21:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:21:38 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:21:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:21:48 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:21:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:21:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:22:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:22:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 12:22:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:22:18 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:22:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:22:28 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:22:38 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:22:38 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:22:48 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:22:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:22:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:22:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:23:08 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:23:09 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:23:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:23:19 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:23:19 Alarms with pending videos found! 02/06 12:23:19 Next idalarmcra = 383710 02/06 12:23:19 DownloadVideos::DownloadVideoOfAlarm 02/06 12:23:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 12:23:19 SAM|15968 02/06 12:23:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_122318_8.mp4|93702| 02/06 12:23:19 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_122318_8.mp4 02/06 12:23:19 Date = 20190602 02/06 12:23:19 Construct from filename date 02/06 12:23:19 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_122318_8.mp4 02/06 12:23:19 Destination file not found 02/06 12:23:19 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_122318_8.mp4 02/06 12:23:19 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_122318_8.mp4 02/06 12:23:20 DownloadFile ok... checking file destination 02/06 12:23:20 URLDownloadToFile ok 02/06 12:23:21 Video .sig downloaded ok! 02/06 12:23:21 Snapshot .sig downloaded ok! 02/06 12:23:21 Elapsed download time: 00:00:02 02/06 12:23:21 UpdateVideoname 02/06 12:23:21 Updating: idalarmcra = 383710 02/06 12:23:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383710 ORDER BY IDALARMCRA DESC 02/06 12:23:21 Just before Update() 02/06 12:23:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:23:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:23:31 Don't have work. 02/06 12:23:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:23:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:23:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:23:52 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:24:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:24:02 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:24:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:24:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:24:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:24:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:24:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:24:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:24:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:24:42 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:24:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:24:52 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:25:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:25:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 12:25:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:25:12 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:25:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:25:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:25:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:25:32 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:25:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:25:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:25:53 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:25:53 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:26:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:26:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:26:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:26:13 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:26:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:26:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:26:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:26:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:26:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:26:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 12:26:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:26:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:27:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:27:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:27:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:27:13 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:27:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:27:24 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:27:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:27:34 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:27:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:27:44 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:27:44 Alarms with pending videos found! 02/06 12:27:44 Next idalarmcra = 383715 02/06 12:27:44 DownloadVideos::DownloadVideoOfAlarm 02/06 12:27:44 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:27:44 SAM|1203 02/06 12:27:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_122738_149.mp4|101343| 02/06 12:27:44 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_122738_149.mp4 02/06 12:27:44 Date = 20190602 02/06 12:27:44 Construct from filename date 02/06 12:27:44 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_122738_149.mp4 02/06 12:27:44 Destination file not found 02/06 12:27:44 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_122738_149.mp4 02/06 12:27:44 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_122738_149.mp4 02/06 12:27:51 DownloadFile ok... checking file destination 02/06 12:27:51 URLDownloadToFile ok 02/06 12:27:51 Video .sig downloaded ok! 02/06 12:27:51 Snapshot .sig downloaded ok! 02/06 12:27:51 Elapsed download time: 00:00:07 02/06 12:27:52 UpdateVideoname 02/06 12:27:52 Updating: idalarmcra = 383715 02/06 12:27:52 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383715 ORDER BY IDALARMCRA DESC 02/06 12:27:52 Just before Update() 02/06 12:27:52 Next idalarmcra = 383714 02/06 12:27:52 DownloadVideos::DownloadVideoOfAlarm 02/06 12:27:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:27:52 SAM|1202 02/06 12:27:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122735_75.mp4|99538| 02/06 12:27:52 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122735_75.mp4 02/06 12:27:52 Date = 20190602 02/06 12:27:52 Construct from filename date 02/06 12:27:52 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122735_75.mp4 02/06 12:27:52 Destination file not found 02/06 12:27:52 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122735_75.mp4 02/06 12:27:52 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122735_75.mp4 02/06 12:27:55 DownloadFile ok... checking file destination 02/06 12:27:55 URLDownloadToFile ok 02/06 12:27:55 Video .sig downloaded ok! 02/06 12:27:56 Snapshot .sig downloaded ok! 02/06 12:27:56 Elapsed download time: 00:00:04 02/06 12:27:56 UpdateVideoname 02/06 12:27:56 Updating: idalarmcra = 383714 02/06 12:27:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383714 ORDER BY IDALARMCRA DESC 02/06 12:27:56 Just before Update() 02/06 12:28:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:28:06 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:28:06 Don't have work. 02/06 12:28:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:28:16 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:28:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:28:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:28:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:28:36 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:28:36 Alarms with pending videos found! 02/06 12:28:36 Next idalarmcra = 383717 02/06 12:28:36 DownloadVideos::DownloadVideoOfAlarm 02/06 12:28:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:28:36 SAM|732 02/06 12:28:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_122829_24.mp4|107205| 02/06 12:28:36 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_122829_24.mp4 02/06 12:28:36 Date = 20190602 02/06 12:28:36 Construct from filename date 02/06 12:28:36 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_122829_24.mp4 02/06 12:28:36 Destination file not found 02/06 12:28:36 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_122829_24.mp4 02/06 12:28:36 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_122829_24.mp4 02/06 12:28:37 DownloadFile ok... checking file destination 02/06 12:28:37 URLDownloadToFile ok 02/06 12:28:37 Video .sig downloaded ok! 02/06 12:28:37 Snapshot .sig downloaded ok! 02/06 12:28:37 Elapsed download time: 00:00:01 02/06 12:28:38 UpdateVideoname 02/06 12:28:38 Updating: idalarmcra = 383717 02/06 12:28:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383717 ORDER BY IDALARMCRA DESC 02/06 12:28:38 Just before Update() 02/06 12:28:38 Next idalarmcra = 383716 02/06 12:28:38 DownloadVideos::DownloadVideoOfAlarm 02/06 12:28:38 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:28:38 SAM|1204 02/06 12:28:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122826_76.mp4|101576| 02/06 12:28:38 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122826_76.mp4 02/06 12:28:38 Date = 20190602 02/06 12:28:38 Construct from filename date 02/06 12:28:38 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122826_76.mp4 02/06 12:28:38 Destination file not found 02/06 12:28:38 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122826_76.mp4 02/06 12:28:38 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122826_76.mp4 02/06 12:28:40 DownloadFile ok... checking file destination 02/06 12:28:40 URLDownloadToFile ok 02/06 12:28:40 Video .sig downloaded ok! 02/06 12:28:40 Snapshot .sig downloaded ok! 02/06 12:28:40 Elapsed download time: 00:00:02 02/06 12:28:40 UpdateVideoname 02/06 12:28:40 Updating: idalarmcra = 383716 02/06 12:28:40 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383716 ORDER BY IDALARMCRA DESC 02/06 12:28:40 Just before Update() 02/06 12:28:50 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:28:50 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:28:50 Alarms with pending videos found! 02/06 12:28:50 Next idalarmcra = 383719 02/06 12:28:50 DownloadVideos::DownloadVideoOfAlarm 02/06 12:28:50 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:28:50 SAM|1206 02/06 12:28:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_122845_150.mp4|104738| 02/06 12:28:51 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_122845_150.mp4 02/06 12:28:51 Date = 20190602 02/06 12:28:51 Construct from filename date 02/06 12:28:51 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_122845_150.mp4 02/06 12:28:51 Destination file not found 02/06 12:28:51 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_122845_150.mp4 02/06 12:28:51 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_122845_150.mp4 02/06 12:28:53 DownloadFile ok... checking file destination 02/06 12:28:53 URLDownloadToFile ok 02/06 12:28:53 Video .sig downloaded ok! 02/06 12:28:53 Snapshot .sig downloaded ok! 02/06 12:28:53 Elapsed download time: 00:00:03 02/06 12:28:54 UpdateVideoname 02/06 12:28:54 Updating: idalarmcra = 383719 02/06 12:28:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383719 ORDER BY IDALARMCRA DESC 02/06 12:28:54 Just before Update() 02/06 12:28:54 Next idalarmcra = 383718 02/06 12:28:54 DownloadVideos::DownloadVideoOfAlarm 02/06 12:28:54 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:28:54 SAM|1205 02/06 12:28:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122843_77.mp4|100026| 02/06 12:28:54 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122843_77.mp4 02/06 12:28:54 Date = 20190602 02/06 12:28:54 Construct from filename date 02/06 12:28:54 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122843_77.mp4 02/06 12:28:54 Destination file not found 02/06 12:28:54 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122843_77.mp4 02/06 12:28:54 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_122843_77.mp4 02/06 12:28:57 DownloadFile ok... checking file destination 02/06 12:28:57 URLDownloadToFile ok 02/06 12:28:57 Video .sig downloaded ok! 02/06 12:28:57 Snapshot .sig downloaded ok! 02/06 12:28:57 Elapsed download time: 00:00:03 02/06 12:28:57 UpdateVideoname 02/06 12:28:57 Updating: idalarmcra = 383718 02/06 12:28:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383718 ORDER BY IDALARMCRA DESC 02/06 12:28:57 Just before Update() 02/06 12:29:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:29:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:29:07 Don't have work. 02/06 12:29:17 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:29:17 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:29:17 Alarms with pending videos found! 02/06 12:29:17 Next idalarmcra = 383721 02/06 12:29:17 DownloadVideos::DownloadVideoOfAlarm 02/06 12:29:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:29:17 SAM|1207 02/06 12:29:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_122912_72.mp4|105914| 02/06 12:29:17 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_122912_72.mp4 02/06 12:29:17 Date = 20190602 02/06 12:29:17 Construct from filename date 02/06 12:29:17 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_122912_72.mp4 02/06 12:29:17 Destination file not found 02/06 12:29:17 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_122912_72.mp4 02/06 12:29:17 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_122912_72.mp4 02/06 12:29:21 DownloadFile ok... checking file destination 02/06 12:29:21 URLDownloadToFile ok 02/06 12:29:21 Video .sig downloaded ok! 02/06 12:29:21 Snapshot .sig downloaded ok! 02/06 12:29:21 Elapsed download time: 00:00:04 02/06 12:29:21 UpdateVideoname 02/06 12:29:21 Updating: idalarmcra = 383721 02/06 12:29:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383721 ORDER BY IDALARMCRA DESC 02/06 12:29:21 Just before Update() 02/06 12:29:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:29:31 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:29:31 Don't have work. 02/06 12:29:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:29:41 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:29:41 Alarms with pending videos found! 02/06 12:29:41 Next idalarmcra = 383722 02/06 12:29:41 DownloadVideos::DownloadVideoOfAlarm 02/06 12:29:41 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:29:41 SAM|1208 02/06 12:29:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_122931_73.mp4|103875| 02/06 12:29:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_122931_73.mp4 02/06 12:29:41 Date = 20190602 02/06 12:29:41 Construct from filename date 02/06 12:29:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_122931_73.mp4 02/06 12:29:41 Destination file not found 02/06 12:29:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_122931_73.mp4 02/06 12:29:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_122931_73.mp4 02/06 12:29:43 DownloadFile ok... checking file destination 02/06 12:29:43 URLDownloadToFile ok 02/06 12:29:45 Video .sig downloaded ok! 02/06 12:29:46 Snapshot .sig downloaded ok! 02/06 12:29:46 Elapsed download time: 00:00:05 02/06 12:29:46 UpdateVideoname 02/06 12:29:46 Updating: idalarmcra = 383722 02/06 12:29:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383722 ORDER BY IDALARMCRA DESC 02/06 12:29:46 Just before Update() 02/06 12:29:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:29:56 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:29:56 Don't have work. 02/06 12:30:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:30:06 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:30:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:30:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:30:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:30:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:30:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:30:36 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:30:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:30:46 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:30:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:30:56 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:30:56 Alarms with pending videos found! 02/06 12:30:56 Next idalarmcra = 383724 02/06 12:30:56 DownloadVideos::DownloadVideoOfAlarm 02/06 12:30:56 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:30:56 SAM|1209 02/06 12:30:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123050_151.mp4|101411| 02/06 12:30:57 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123050_151.mp4 02/06 12:30:57 Date = 20190602 02/06 12:30:57 Construct from filename date 02/06 12:30:57 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123050_151.mp4 02/06 12:30:57 Destination file not found 02/06 12:30:57 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123050_151.mp4 02/06 12:30:57 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123050_151.mp4 02/06 12:30:57 DownloadFile ok... checking file destination 02/06 12:30:57 URLDownloadToFile ok 02/06 12:30:58 Video .sig downloaded ok! 02/06 12:30:58 Snapshot .sig downloaded ok! 02/06 12:30:58 Elapsed download time: 00:00:02 02/06 12:30:58 UpdateVideoname 02/06 12:30:58 Updating: idalarmcra = 383724 02/06 12:30:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383724 ORDER BY IDALARMCRA DESC 02/06 12:30:58 Just before Update() 02/06 12:31:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:31:08 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:31:08 Don't have work. 02/06 12:31:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:31:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:31:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:31:28 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:31:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:31:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:31:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:31:48 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:31:48 Alarms with pending videos found! 02/06 12:31:48 Next idalarmcra = 383727 02/06 12:31:48 DownloadVideos::DownloadVideoOfAlarm 02/06 12:31:48 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:31:48 SAM|1211 02/06 12:31:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123141_152.mp4|99285| 02/06 12:31:49 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123141_152.mp4 02/06 12:31:49 Date = 20190602 02/06 12:31:49 Construct from filename date 02/06 12:31:49 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123141_152.mp4 02/06 12:31:49 Destination file not found 02/06 12:31:49 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123141_152.mp4 02/06 12:31:49 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123141_152.mp4 02/06 12:31:49 DownloadFile ok... checking file destination 02/06 12:31:49 URLDownloadToFile ok 02/06 12:31:49 Video .sig downloaded ok! 02/06 12:31:49 Snapshot .sig downloaded ok! 02/06 12:31:49 Elapsed download time: 00:00:01 02/06 12:31:49 UpdateVideoname 02/06 12:31:49 Updating: idalarmcra = 383727 02/06 12:31:49 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383727 ORDER BY IDALARMCRA DESC 02/06 12:31:49 Just before Update() 02/06 12:31:49 Next idalarmcra = 383726 02/06 12:31:49 DownloadVideos::DownloadVideoOfAlarm 02/06 12:31:49 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:31:49 SAM|1210 02/06 12:31:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123138_78.mp4|98393| 02/06 12:31:50 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123138_78.mp4 02/06 12:31:50 Date = 20190602 02/06 12:31:50 Construct from filename date 02/06 12:31:50 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123138_78.mp4 02/06 12:31:50 Destination file not found 02/06 12:31:50 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123138_78.mp4 02/06 12:31:50 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123138_78.mp4 02/06 12:31:50 DownloadFile ok... checking file destination 02/06 12:31:50 URLDownloadToFile ok 02/06 12:31:50 Video .sig downloaded ok! 02/06 12:31:50 Snapshot .sig downloaded ok! 02/06 12:31:50 Elapsed download time: 00:00:01 02/06 12:31:51 UpdateVideoname 02/06 12:31:51 Updating: idalarmcra = 383726 02/06 12:31:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383726 ORDER BY IDALARMCRA DESC 02/06 12:31:51 Just before Update() 02/06 12:32:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:32:01 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:32:01 Don't have work. 02/06 12:32:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:32:11 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:32:11 Alarms with pending videos found! 02/06 12:32:11 Next idalarmcra = 383728 02/06 12:32:11 DownloadVideos::DownloadVideoOfAlarm 02/06 12:32:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:32:11 SAM|1212 02/06 12:32:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123200_74.mp4|102572| 02/06 12:32:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123200_74.mp4 02/06 12:32:11 Date = 20190602 02/06 12:32:11 Construct from filename date 02/06 12:32:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123200_74.mp4 02/06 12:32:11 Destination file not found 02/06 12:32:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123200_74.mp4 02/06 12:32:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123200_74.mp4 02/06 12:32:11 DownloadFile ok... checking file destination 02/06 12:32:11 URLDownloadToFile ok 02/06 12:32:11 Video .sig downloaded ok! 02/06 12:32:11 Snapshot .sig downloaded ok! 02/06 12:32:11 Elapsed download time: 00:00:00 02/06 12:32:12 UpdateVideoname 02/06 12:32:12 Updating: idalarmcra = 383728 02/06 12:32:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383728 ORDER BY IDALARMCRA DESC 02/06 12:32:12 Just before Update() 02/06 12:32:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:32:22 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:32:22 Alarms with pending videos found! 02/06 12:32:22 Next idalarmcra = 383729 02/06 12:32:22 DownloadVideos::DownloadVideoOfAlarm 02/06 12:32:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:32:22 SAM|1213 02/06 12:32:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123215_153.mp4|103158| 02/06 12:32:22 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123215_153.mp4 02/06 12:32:22 Date = 20190602 02/06 12:32:22 Construct from filename date 02/06 12:32:22 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123215_153.mp4 02/06 12:32:22 Destination file not found 02/06 12:32:22 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123215_153.mp4 02/06 12:32:22 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123215_153.mp4 02/06 12:32:22 DownloadFile ok... checking file destination 02/06 12:32:22 URLDownloadToFile ok 02/06 12:32:22 Video .sig downloaded ok! 02/06 12:32:22 Snapshot .sig downloaded ok! 02/06 12:32:22 Elapsed download time: 00:00:00 02/06 12:32:22 UpdateVideoname 02/06 12:32:22 Updating: idalarmcra = 383729 02/06 12:32:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383729 ORDER BY IDALARMCRA DESC 02/06 12:32:22 Just before Update() 02/06 12:32:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:32:32 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:32:32 Alarms with pending videos found! 02/06 12:32:32 Next idalarmcra = 383730 02/06 12:32:32 DownloadVideos::DownloadVideoOfAlarm 02/06 12:32:32 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:32:32 SAM|1214 02/06 12:32:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123218_79.mp4|98530| 02/06 12:32:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123218_79.mp4 02/06 12:32:33 Date = 20190602 02/06 12:32:33 Construct from filename date 02/06 12:32:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123218_79.mp4 02/06 12:32:33 Destination file not found 02/06 12:32:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123218_79.mp4 02/06 12:32:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123218_79.mp4 02/06 12:32:33 DownloadFile ok... checking file destination 02/06 12:32:33 URLDownloadToFile ok 02/06 12:32:33 Video .sig downloaded ok! 02/06 12:32:33 Snapshot .sig downloaded ok! 02/06 12:32:33 Elapsed download time: 00:00:01 02/06 12:32:34 UpdateVideoname 02/06 12:32:34 Updating: idalarmcra = 383730 02/06 12:32:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383730 ORDER BY IDALARMCRA DESC 02/06 12:32:34 Just before Update() 02/06 12:32:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:32:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:32:44 Don't have work. 02/06 12:32:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:32:54 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:32:54 Alarms with pending videos found! 02/06 12:32:54 Next idalarmcra = 383732 02/06 12:32:54 DownloadVideos::DownloadVideoOfAlarm 02/06 12:32:54 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:32:54 SAM|1215 02/06 12:32:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123245_80.mp4|104649| 02/06 12:32:54 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123245_80.mp4 02/06 12:32:54 Date = 20190602 02/06 12:32:54 Construct from filename date 02/06 12:32:54 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123245_80.mp4 02/06 12:32:54 Destination file not found 02/06 12:32:54 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123245_80.mp4 02/06 12:32:54 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123245_80.mp4 02/06 12:32:54 DownloadFile ok... checking file destination 02/06 12:32:54 URLDownloadToFile ok 02/06 12:32:54 Video .sig downloaded ok! 02/06 12:32:55 Snapshot .sig downloaded ok! 02/06 12:32:55 Elapsed download time: 00:00:01 02/06 12:32:55 UpdateVideoname 02/06 12:32:55 Updating: idalarmcra = 383732 02/06 12:32:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383732 ORDER BY IDALARMCRA DESC 02/06 12:32:55 Just before Update() 02/06 12:33:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:33:05 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:33:05 Alarms with pending videos found! 02/06 12:33:05 Next idalarmcra = 383733 02/06 12:33:05 DownloadVideos::DownloadVideoOfAlarm 02/06 12:33:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:33:05 SAM|1216 02/06 12:33:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123248_154.mp4|101986| 02/06 12:33:05 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123248_154.mp4 02/06 12:33:05 Date = 20190602 02/06 12:33:05 Construct from filename date 02/06 12:33:05 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123248_154.mp4 02/06 12:33:05 Destination file not found 02/06 12:33:05 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123248_154.mp4 02/06 12:33:05 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123248_154.mp4 02/06 12:33:05 DownloadFile ok... checking file destination 02/06 12:33:05 URLDownloadToFile ok 02/06 12:33:05 Video .sig downloaded ok! 02/06 12:33:05 Snapshot .sig downloaded ok! 02/06 12:33:05 Elapsed download time: 00:00:00 02/06 12:33:05 UpdateVideoname 02/06 12:33:05 Updating: idalarmcra = 383733 02/06 12:33:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383733 ORDER BY IDALARMCRA DESC 02/06 12:33:05 Just before Update() 02/06 12:33:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:33:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:33:16 Don't have work. 02/06 12:33:26 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:33:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:33:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:33:36 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:33:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:33:46 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:33:46 Alarms with pending videos found! 02/06 12:33:46 Next idalarmcra = 383736 02/06 12:33:46 DownloadVideos::DownloadVideoOfAlarm 02/06 12:33:46 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 12:33:46 SAM|4692 02/06 12:33:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:33:46 NOK answer received 02/06 12:33:46 UpdateVideoname 02/06 12:33:46 Updating: idalarmcra = 383736 02/06 12:33:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383736 ORDER BY IDALARMCRA DESC 02/06 12:33:46 Just before Update() 02/06 12:33:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:33:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:33:57 Don't have work. 02/06 12:34:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:34:07 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:34:07 Alarms with pending videos found! 02/06 12:34:07 Next idalarmcra = 383738 02/06 12:34:07 DownloadVideos::DownloadVideoOfAlarm 02/06 12:34:07 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:34:07 SAM|1218 02/06 12:34:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123359_155.mp4|101120| 02/06 12:34:07 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123359_155.mp4 02/06 12:34:07 Date = 20190602 02/06 12:34:07 Construct from filename date 02/06 12:34:07 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123359_155.mp4 02/06 12:34:07 Destination file not found 02/06 12:34:07 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123359_155.mp4 02/06 12:34:07 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123359_155.mp4 02/06 12:34:07 DownloadFile ok... checking file destination 02/06 12:34:07 URLDownloadToFile ok 02/06 12:34:07 Video .sig downloaded ok! 02/06 12:34:07 Snapshot .sig downloaded ok! 02/06 12:34:07 Elapsed download time: 00:00:00 02/06 12:34:08 UpdateVideoname 02/06 12:34:08 Updating: idalarmcra = 383738 02/06 12:34:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383738 ORDER BY IDALARMCRA DESC 02/06 12:34:08 Just before Update() 02/06 12:34:08 Next idalarmcra = 383737 02/06 12:34:08 DownloadVideos::DownloadVideoOfAlarm 02/06 12:34:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:34:08 SAM|1217 02/06 12:34:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123355_81.mp4|101487| 02/06 12:34:08 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123355_81.mp4 02/06 12:34:08 Date = 20190602 02/06 12:34:08 Construct from filename date 02/06 12:34:08 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123355_81.mp4 02/06 12:34:08 Destination file not found 02/06 12:34:08 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123355_81.mp4 02/06 12:34:08 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123355_81.mp4 02/06 12:34:08 DownloadFile ok... checking file destination 02/06 12:34:08 URLDownloadToFile ok 02/06 12:34:08 Video .sig downloaded ok! 02/06 12:34:08 Snapshot .sig downloaded ok! 02/06 12:34:08 Elapsed download time: 00:00:00 02/06 12:34:08 UpdateVideoname 02/06 12:34:08 Updating: idalarmcra = 383737 02/06 12:34:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383737 ORDER BY IDALARMCRA DESC 02/06 12:34:08 Just before Update() 02/06 12:34:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:34:18 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:34:18 Alarms with pending videos found! 02/06 12:34:18 Next idalarmcra = 383739 02/06 12:34:18 DownloadVideos::DownloadVideoOfAlarm 02/06 12:34:18 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:34:18 SAM|1058 02/06 12:34:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_123321_406.mp4|100743| 02/06 12:34:19 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_123321_406.mp4 02/06 12:34:19 Date = 20190602 02/06 12:34:19 Construct from filename date 02/06 12:34:19 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_123321_406.mp4 02/06 12:34:19 Destination file not found 02/06 12:34:19 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_123321_406.mp4 02/06 12:34:19 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_123321_406.mp4 02/06 12:34:19 DownloadFile ok... checking file destination 02/06 12:34:19 URLDownloadToFile ok 02/06 12:34:19 Video .sig downloaded ok! 02/06 12:34:19 Snapshot .sig downloaded ok! 02/06 12:34:19 Elapsed download time: 00:00:01 02/06 12:34:20 UpdateVideoname 02/06 12:34:20 Updating: idalarmcra = 383739 02/06 12:34:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383739 ORDER BY IDALARMCRA DESC 02/06 12:34:20 Just before Update() 02/06 12:34:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:34:30 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:34:30 Don't have work. 02/06 12:34:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:34:40 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:34:50 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:34:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:35:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:35:00 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:35:00 Alarms with pending videos found! 02/06 12:35:00 Next idalarmcra = 383741 02/06 12:35:00 DownloadVideos::DownloadVideoOfAlarm 02/06 12:35:00 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:35:00 SAM|1219 02/06 12:35:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123454_82.mp4|98431| 02/06 12:35:00 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123454_82.mp4 02/06 12:35:00 Date = 20190602 02/06 12:35:00 Construct from filename date 02/06 12:35:00 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123454_82.mp4 02/06 12:35:00 Destination file not found 02/06 12:35:00 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123454_82.mp4 02/06 12:35:00 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123454_82.mp4 02/06 12:35:01 DownloadFile ok... checking file destination 02/06 12:35:01 URLDownloadToFile ok 02/06 12:35:01 Video .sig downloaded ok! 02/06 12:35:01 Snapshot .sig downloaded ok! 02/06 12:35:01 Elapsed download time: 00:00:01 02/06 12:35:01 UpdateVideoname 02/06 12:35:01 Updating: idalarmcra = 383741 02/06 12:35:01 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383741 ORDER BY IDALARMCRA DESC 02/06 12:35:01 Just before Update() 02/06 12:35:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:35:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:35:11 Don't have work. 02/06 12:35:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:35:21 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:35:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:35:31 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:35:31 Alarms with pending videos found! 02/06 12:35:31 Next idalarmcra = 383742 02/06 12:35:31 DownloadVideos::DownloadVideoOfAlarm 02/06 12:35:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:35:31 SAM|1220 02/06 12:35:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123517_83.mp4|103728| 02/06 12:35:32 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123517_83.mp4 02/06 12:35:32 Date = 20190602 02/06 12:35:32 Construct from filename date 02/06 12:35:32 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123517_83.mp4 02/06 12:35:32 Destination file not found 02/06 12:35:32 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123517_83.mp4 02/06 12:35:32 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123517_83.mp4 02/06 12:35:32 DownloadFile ok... checking file destination 02/06 12:35:32 URLDownloadToFile ok 02/06 12:35:32 Video .sig downloaded ok! 02/06 12:35:32 Snapshot .sig downloaded ok! 02/06 12:35:32 Elapsed download time: 00:00:01 02/06 12:35:32 UpdateVideoname 02/06 12:35:32 Updating: idalarmcra = 383742 02/06 12:35:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383742 ORDER BY IDALARMCRA DESC 02/06 12:35:32 Just before Update() 02/06 12:35:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:35:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:35:42 Don't have work. 02/06 12:35:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:35:53 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:35:53 Alarms with pending videos found! 02/06 12:35:53 Next idalarmcra = 383745 02/06 12:35:53 DownloadVideos::DownloadVideoOfAlarm 02/06 12:35:53 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:35:53 SAM|1221 02/06 12:35:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123545_84.mp4|98985| 02/06 12:35:53 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123545_84.mp4 02/06 12:35:53 Date = 20190602 02/06 12:35:53 Construct from filename date 02/06 12:35:53 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123545_84.mp4 02/06 12:35:53 Destination file not found 02/06 12:35:53 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123545_84.mp4 02/06 12:35:53 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_123545_84.mp4 02/06 12:35:54 DownloadFile ok... checking file destination 02/06 12:35:54 URLDownloadToFile ok 02/06 12:35:54 Video .sig downloaded ok! 02/06 12:35:54 Snapshot .sig downloaded ok! 02/06 12:35:54 Elapsed download time: 00:00:01 02/06 12:35:54 UpdateVideoname 02/06 12:35:54 Updating: idalarmcra = 383745 02/06 12:35:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383745 ORDER BY IDALARMCRA DESC 02/06 12:35:54 Just before Update() 02/06 12:35:54 Next idalarmcra = 383744 02/06 12:35:54 DownloadVideos::DownloadVideoOfAlarm 02/06 12:35:54 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:35:54 SAM|1222 02/06 12:35:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123545_156.mp4|101126| 02/06 12:35:55 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123545_156.mp4 02/06 12:35:55 Date = 20190602 02/06 12:35:55 Construct from filename date 02/06 12:35:55 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123545_156.mp4 02/06 12:35:55 Destination file not found 02/06 12:35:55 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123545_156.mp4 02/06 12:35:55 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_123545_156.mp4 02/06 12:35:55 DownloadFile ok... checking file destination 02/06 12:35:55 URLDownloadToFile ok 02/06 12:35:55 Video .sig downloaded ok! 02/06 12:35:55 Snapshot .sig downloaded ok! 02/06 12:35:55 Elapsed download time: 00:00:01 02/06 12:35:55 UpdateVideoname 02/06 12:35:55 Updating: idalarmcra = 383744 02/06 12:35:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383744 ORDER BY IDALARMCRA DESC 02/06 12:35:55 Just before Update() 02/06 12:36:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:36:05 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:36:05 Alarms with pending videos found! 02/06 12:36:05 Next idalarmcra = 383746 02/06 12:36:05 DownloadVideos::DownloadVideoOfAlarm 02/06 12:36:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 16 02/06 12:36:05 SAM|4654 02/06 12:36:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_B_Cam3_Event2_20190602_123555_98.mp4|112645| 02/06 12:36:06 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_B_Cam3_Event2_20190602_123555_98.mp4 02/06 12:36:06 Date = 20190602 02/06 12:36:06 Construct from filename date 02/06 12:36:06 Destination: c:\Davantis\CRAServer\\SITE_16\\20190602\\SiteDGS_VA_ACIPAYAM_B_Cam3_Event2_20190602_123555_98.mp4 02/06 12:36:06 Destination file not found 02/06 12:36:06 http://192.168.19.101:21001/20190602\\SiteDGS_VA_ACIPAYAM_B_Cam3_Event2_20190602_123555_98.mp4 02/06 12:36:06 c:\Davantis\CRAServer\\SITE_16\\20190602\\SiteDGS_VA_ACIPAYAM_B_Cam3_Event2_20190602_123555_98.mp4 02/06 12:36:07 DownloadFile ok... checking file destination 02/06 12:36:07 URLDownloadToFile ok 02/06 12:36:08 Video .sig downloaded ok! 02/06 12:36:08 Snapshot .sig downloaded ok! 02/06 12:36:08 Elapsed download time: 00:00:03 02/06 12:36:08 UpdateVideoname 02/06 12:36:08 Updating: idalarmcra = 383746 02/06 12:36:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383746 ORDER BY IDALARMCRA DESC 02/06 12:36:08 Just before Update() 02/06 12:36:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:36:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:36:18 Don't have work. 02/06 12:36:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:36:28 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:36:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:36:38 [D] Query(33ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:36:38 Alarms with pending videos found! 02/06 12:36:38 Next idalarmcra = 383747 02/06 12:36:38 DownloadVideos::DownloadVideoOfAlarm 02/06 12:36:38 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:36:38 SAM|1223 02/06 12:36:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_123626_41.mp4|112383| 02/06 12:36:39 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_123626_41.mp4 02/06 12:36:39 Date = 20190602 02/06 12:36:39 Construct from filename date 02/06 12:36:39 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_123626_41.mp4 02/06 12:36:39 Destination file not found 02/06 12:36:39 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_123626_41.mp4 02/06 12:36:39 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_123626_41.mp4 02/06 12:36:39 DownloadFile ok... checking file destination 02/06 12:36:39 URLDownloadToFile ok 02/06 12:36:39 Video .sig downloaded ok! 02/06 12:36:39 Snapshot .sig downloaded ok! 02/06 12:36:39 Elapsed download time: 00:00:01 02/06 12:36:39 UpdateVideoname 02/06 12:36:39 Updating: idalarmcra = 383747 02/06 12:36:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383747 ORDER BY IDALARMCRA DESC 02/06 12:36:39 Just before Update() 02/06 12:36:49 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:36:49 [D] Query(28ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:36:49 Alarms with pending videos found! 02/06 12:36:49 Next idalarmcra = 383748 02/06 12:36:49 DownloadVideos::DownloadVideoOfAlarm 02/06 12:36:49 [D] Query(14ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:36:49 SAM|1224 02/06 12:36:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123639_75.mp4|108649| 02/06 12:36:50 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123639_75.mp4 02/06 12:36:50 Date = 20190602 02/06 12:36:50 Construct from filename date 02/06 12:36:50 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123639_75.mp4 02/06 12:36:50 Destination file not found 02/06 12:36:50 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123639_75.mp4 02/06 12:36:50 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123639_75.mp4 02/06 12:36:50 DownloadFile ok... checking file destination 02/06 12:36:50 URLDownloadToFile ok 02/06 12:36:50 Video .sig downloaded ok! 02/06 12:36:50 Snapshot .sig downloaded ok! 02/06 12:36:50 Elapsed download time: 00:00:01 02/06 12:36:50 UpdateVideoname 02/06 12:36:50 Updating: idalarmcra = 383748 02/06 12:36:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383748 ORDER BY IDALARMCRA DESC 02/06 12:36:50 Just before Update() 02/06 12:37:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:37:00 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:37:00 Don't have work. 02/06 12:37:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:37:10 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:37:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:37:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:37:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:37:30 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:37:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:37:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:37:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:37:51 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:38:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:38:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:38:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:38:11 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:38:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:38:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:38:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:38:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 12:38:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:38:41 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:38:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:38:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:39:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:39:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:39:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:39:11 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:39:12 Alarms with pending videos found! 02/06 12:39:12 Next idalarmcra = 383752 02/06 12:39:12 DownloadVideos::DownloadVideoOfAlarm 02/06 12:39:12 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 17 02/06 12:39:12 SAM|24366 02/06 12:39:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:39:12 NOK answer received 02/06 12:39:12 UpdateVideoname 02/06 12:39:12 Updating: idalarmcra = 383752 02/06 12:39:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383752 ORDER BY IDALARMCRA DESC 02/06 12:39:12 Just before Update() 02/06 12:39:12 Next idalarmcra = 383751 02/06 12:39:12 DownloadVideos::DownloadVideoOfAlarm 02/06 12:39:12 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:39:12 SAM|1225 02/06 12:39:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123903_76.mp4|101159| 02/06 12:39:12 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123903_76.mp4 02/06 12:39:12 Date = 20190602 02/06 12:39:12 Construct from filename date 02/06 12:39:12 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123903_76.mp4 02/06 12:39:12 Destination file not found 02/06 12:39:12 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123903_76.mp4 02/06 12:39:12 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_123903_76.mp4 02/06 12:39:14 DownloadFile ok... checking file destination 02/06 12:39:14 URLDownloadToFile ok 02/06 12:39:14 Video .sig downloaded ok! 02/06 12:39:15 Snapshot .sig downloaded ok! 02/06 12:39:15 Elapsed download time: 00:00:03 02/06 12:39:15 UpdateVideoname 02/06 12:39:15 Updating: idalarmcra = 383751 02/06 12:39:15 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383751 ORDER BY IDALARMCRA DESC 02/06 12:39:15 Just before Update() 02/06 12:39:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:39:25 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:39:25 Alarms with pending videos found! 02/06 12:39:25 Next idalarmcra = 383753 02/06 12:39:25 DownloadVideos::DownloadVideoOfAlarm 02/06 12:39:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:39:25 SAM|733 02/06 12:39:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_123919_25.mp4|106791| 02/06 12:39:25 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_123919_25.mp4 02/06 12:39:25 Date = 20190602 02/06 12:39:25 Construct from filename date 02/06 12:39:25 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_123919_25.mp4 02/06 12:39:25 Destination file not found 02/06 12:39:25 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_123919_25.mp4 02/06 12:39:25 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_123919_25.mp4 02/06 12:39:29 DownloadFile ok... checking file destination 02/06 12:39:29 URLDownloadToFile ok 02/06 12:39:30 Video .sig downloaded ok! 02/06 12:39:30 Snapshot .sig downloaded ok! 02/06 12:39:30 Elapsed download time: 00:00:05 02/06 12:39:30 UpdateVideoname 02/06 12:39:30 Updating: idalarmcra = 383753 02/06 12:39:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383753 ORDER BY IDALARMCRA DESC 02/06 12:39:30 Just before Update() 02/06 12:39:30 Next idalarmcra = 383752 02/06 12:39:30 DownloadVideos::DownloadVideoOfAlarm 02/06 12:39:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 17 02/06 12:39:30 SAM|24366 02/06 12:39:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DENIZLI_A_Cam1_Event2_20190602_123909_144.mp4|81889| 02/06 12:39:30 FilenameSrc = 20190602\\SiteDGS_VA_DENIZLI_A_Cam1_Event2_20190602_123909_144.mp4 02/06 12:39:30 Date = 20190602 02/06 12:39:30 Construct from filename date 02/06 12:39:30 Destination: c:\Davantis\CRAServer\\SITE_17\\20190602\\SiteDGS_VA_DENIZLI_A_Cam1_Event2_20190602_123909_144.mp4 02/06 12:39:30 Destination file not found 02/06 12:39:30 http://192.168.21.100:21000/20190602\\SiteDGS_VA_DENIZLI_A_Cam1_Event2_20190602_123909_144.mp4 02/06 12:39:30 c:\Davantis\CRAServer\\SITE_17\\20190602\\SiteDGS_VA_DENIZLI_A_Cam1_Event2_20190602_123909_144.mp4 02/06 12:39:31 DownloadFile ok... checking file destination 02/06 12:39:31 URLDownloadToFile ok 02/06 12:39:31 Video .sig downloaded ok! 02/06 12:39:31 Snapshot .sig downloaded ok! 02/06 12:39:31 Elapsed download time: 00:00:01 02/06 12:39:32 UpdateVideoname 02/06 12:39:32 Updating: idalarmcra = 383752 02/06 12:39:32 [D] Query(0ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383752 ORDER BY IDALARMCRA DESC 02/06 12:39:32 Rollback executed. 02/06 12:39:32 RecordSet closed. 02/06 12:39:32 CheckDDBB 02/06 12:39:32 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 12:39:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:39:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:39:42 Don't have work. 02/06 12:39:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:39:52 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:40:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:40:02 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:40:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:40:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:40:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:40:22 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:40:22 Alarms with pending videos found! 02/06 12:40:22 Next idalarmcra = 383754 02/06 12:40:22 DownloadVideos::DownloadVideoOfAlarm 02/06 12:40:22 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:40:22 SAM|1226 02/06 12:40:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124015_42.mp4|113946| 02/06 12:40:23 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124015_42.mp4 02/06 12:40:23 Date = 20190602 02/06 12:40:23 Construct from filename date 02/06 12:40:23 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124015_42.mp4 02/06 12:40:23 Destination file not found 02/06 12:40:23 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124015_42.mp4 02/06 12:40:23 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124015_42.mp4 02/06 12:40:23 DownloadFile ok... checking file destination 02/06 12:40:23 URLDownloadToFile ok 02/06 12:40:24 Video .sig downloaded ok! 02/06 12:40:24 Snapshot .sig downloaded ok! 02/06 12:40:24 Elapsed download time: 00:00:02 02/06 12:40:24 UpdateVideoname 02/06 12:40:24 Updating: idalarmcra = 383754 02/06 12:40:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383754 ORDER BY IDALARMCRA DESC 02/06 12:40:24 Just before Update() 02/06 12:40:34 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:40:34 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:40:34 Alarms with pending videos found! 02/06 12:40:34 Next idalarmcra = 383756 02/06 12:40:34 DownloadVideos::DownloadVideoOfAlarm 02/06 12:40:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:40:34 SAM|1059 02/06 12:40:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:40:34 NOK answer received 02/06 12:40:34 UpdateVideoname 02/06 12:40:34 Updating: idalarmcra = 383756 02/06 12:40:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383756 ORDER BY IDALARMCRA DESC 02/06 12:40:34 Just before Update() 02/06 12:40:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:40:44 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:40:44 Alarms with pending videos found! 02/06 12:40:44 Next idalarmcra = 383756 02/06 12:40:44 DownloadVideos::DownloadVideoOfAlarm 02/06 12:40:44 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:40:44 SAM|1059 02/06 12:40:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_123942_18.mp4|100399| 02/06 12:40:45 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_123942_18.mp4 02/06 12:40:45 Date = 20190602 02/06 12:40:45 Construct from filename date 02/06 12:40:45 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_123942_18.mp4 02/06 12:40:45 Destination file not found 02/06 12:40:45 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_123942_18.mp4 02/06 12:40:45 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_123942_18.mp4 02/06 12:40:45 DownloadFile ok... checking file destination 02/06 12:40:45 URLDownloadToFile ok 02/06 12:40:45 Video .sig downloaded ok! 02/06 12:40:46 Snapshot .sig downloaded ok! 02/06 12:40:46 Elapsed download time: 00:00:02 02/06 12:40:46 UpdateVideoname 02/06 12:40:46 Updating: idalarmcra = 383756 02/06 12:40:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383756 ORDER BY IDALARMCRA DESC 02/06 12:40:46 Just before Update() 02/06 12:40:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:40:56 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:40:56 Don't have work. 02/06 12:41:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:41:06 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:41:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:41:16 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:41:26 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:41:26 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:41:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:41:36 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:41:46 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:41:46 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:41:46 Alarms with pending videos found! 02/06 12:41:46 Next idalarmcra = 383760 02/06 12:41:46 DownloadVideos::DownloadVideoOfAlarm 02/06 12:41:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 12:41:46 SAM|15969 02/06 12:41:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124148_9.mp4|90442| 02/06 12:41:47 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124148_9.mp4 02/06 12:41:47 Date = 20190602 02/06 12:41:47 Construct from filename date 02/06 12:41:47 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124148_9.mp4 02/06 12:41:47 Destination file not found 02/06 12:41:47 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124148_9.mp4 02/06 12:41:47 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124148_9.mp4 02/06 12:41:48 DownloadFile ok... checking file destination 02/06 12:41:48 URLDownloadToFile ok 02/06 12:41:49 Video .sig downloaded ok! 02/06 12:41:49 Snapshot .sig downloaded ok! 02/06 12:41:49 Elapsed download time: 00:00:03 02/06 12:41:49 UpdateVideoname 02/06 12:41:49 Updating: idalarmcra = 383760 02/06 12:41:49 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383760 ORDER BY IDALARMCRA DESC 02/06 12:41:49 Just before Update() 02/06 12:41:49 Next idalarmcra = 383759 02/06 12:41:49 DownloadVideos::DownloadVideoOfAlarm 02/06 12:41:49 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:41:49 SAM|1228 02/06 12:41:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_124137_157.mp4|104838| 02/06 12:41:49 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_124137_157.mp4 02/06 12:41:49 Date = 20190602 02/06 12:41:49 Construct from filename date 02/06 12:41:49 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_124137_157.mp4 02/06 12:41:49 Destination file not found 02/06 12:41:49 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_124137_157.mp4 02/06 12:41:49 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_124137_157.mp4 02/06 12:41:53 DownloadFile ok... checking file destination 02/06 12:41:53 URLDownloadToFile ok 02/06 12:41:53 Video .sig downloaded ok! 02/06 12:41:53 Snapshot .sig downloaded ok! 02/06 12:41:53 Elapsed download time: 00:00:04 02/06 12:41:54 UpdateVideoname 02/06 12:41:54 Updating: idalarmcra = 383759 02/06 12:41:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383759 ORDER BY IDALARMCRA DESC 02/06 12:41:54 Just before Update() 02/06 12:41:54 Next idalarmcra = 383758 02/06 12:41:54 DownloadVideos::DownloadVideoOfAlarm 02/06 12:41:54 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:41:54 SAM|1227 02/06 12:41:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_124134_85.mp4|98093| 02/06 12:41:54 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_124134_85.mp4 02/06 12:41:54 Date = 20190602 02/06 12:41:54 Construct from filename date 02/06 12:41:54 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_124134_85.mp4 02/06 12:41:54 Destination file not found 02/06 12:41:54 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_124134_85.mp4 02/06 12:41:54 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_124134_85.mp4 02/06 12:41:59 DownloadFile ok... checking file destination 02/06 12:41:59 URLDownloadToFile ok 02/06 12:41:59 Video .sig downloaded ok! 02/06 12:41:59 Snapshot .sig downloaded ok! 02/06 12:41:59 Elapsed download time: 00:00:05 02/06 12:41:59 UpdateVideoname 02/06 12:41:59 Updating: idalarmcra = 383758 02/06 12:41:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383758 ORDER BY IDALARMCRA DESC 02/06 12:41:59 Just before Update() 02/06 12:42:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:42:09 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:42:09 Don't have work. 02/06 12:42:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:42:19 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:42:19 Alarms with pending videos found! 02/06 12:42:19 Next idalarmcra = 383761 02/06 12:42:19 DownloadVideos::DownloadVideoOfAlarm 02/06 12:42:19 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:42:19 SAM|1229 02/06 12:42:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124207_43.mp4|114521| 02/06 12:42:19 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124207_43.mp4 02/06 12:42:19 Date = 20190602 02/06 12:42:19 Construct from filename date 02/06 12:42:19 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124207_43.mp4 02/06 12:42:19 Destination file not found 02/06 12:42:19 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124207_43.mp4 02/06 12:42:19 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124207_43.mp4 02/06 12:42:22 DownloadFile ok... checking file destination 02/06 12:42:22 URLDownloadToFile ok 02/06 12:42:23 Video .sig downloaded ok! 02/06 12:42:23 Snapshot .sig downloaded ok! 02/06 12:42:23 Elapsed download time: 00:00:04 02/06 12:42:23 UpdateVideoname 02/06 12:42:23 Updating: idalarmcra = 383761 02/06 12:42:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383761 ORDER BY IDALARMCRA DESC 02/06 12:42:23 Just before Update() 02/06 12:42:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:42:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:42:33 Don't have work. 02/06 12:42:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:42:43 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:42:43 Alarms with pending videos found! 02/06 12:42:43 Next idalarmcra = 383763 02/06 12:42:43 DownloadVideos::DownloadVideoOfAlarm 02/06 12:42:43 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 12:42:43 SAM|15970 02/06 12:42:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124245_10.mp4|99028| 02/06 12:42:43 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124245_10.mp4 02/06 12:42:43 Date = 20190602 02/06 12:42:43 Construct from filename date 02/06 12:42:43 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124245_10.mp4 02/06 12:42:43 Destination file not found 02/06 12:42:43 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124245_10.mp4 02/06 12:42:43 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124245_10.mp4 02/06 12:42:45 DownloadFile ok... checking file destination 02/06 12:42:45 URLDownloadToFile ok 02/06 12:42:45 Video .sig downloaded ok! 02/06 12:42:45 Snapshot .sig downloaded ok! 02/06 12:42:45 Elapsed download time: 00:00:02 02/06 12:42:45 UpdateVideoname 02/06 12:42:45 Updating: idalarmcra = 383763 02/06 12:42:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383763 ORDER BY IDALARMCRA DESC 02/06 12:42:45 Just before Update() 02/06 12:42:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:42:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:42:55 Don't have work. 02/06 12:43:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:43:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:43:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:43:15 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:43:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:43:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:43:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:43:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:43:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:43:46 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:43:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:43:56 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:43:56 Alarms with pending videos found! 02/06 12:43:56 Next idalarmcra = 383766 02/06 12:43:56 DownloadVideos::DownloadVideoOfAlarm 02/06 12:43:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:43:56 SAM|1231 02/06 12:43:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:43:56 NOK answer received 02/06 12:43:56 UpdateVideoname 02/06 12:43:56 Updating: idalarmcra = 383766 02/06 12:43:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383766 ORDER BY IDALARMCRA DESC 02/06 12:43:56 Just before Update() 02/06 12:43:56 Next idalarmcra = 383765 02/06 12:43:56 DownloadVideos::DownloadVideoOfAlarm 02/06 12:43:56 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:43:56 SAM|1230 02/06 12:43:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_124350_158.mp4|105795| 02/06 12:43:56 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_124350_158.mp4 02/06 12:43:56 Date = 20190602 02/06 12:43:56 Construct from filename date 02/06 12:43:56 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_124350_158.mp4 02/06 12:43:56 Destination file not found 02/06 12:43:56 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_124350_158.mp4 02/06 12:43:56 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_124350_158.mp4 02/06 12:43:59 DownloadFile ok... checking file destination 02/06 12:43:59 URLDownloadToFile ok 02/06 12:43:59 Video .sig downloaded ok! 02/06 12:43:59 Snapshot .sig downloaded ok! 02/06 12:43:59 Elapsed download time: 00:00:03 02/06 12:43:59 UpdateVideoname 02/06 12:43:59 Updating: idalarmcra = 383765 02/06 12:43:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383765 ORDER BY IDALARMCRA DESC 02/06 12:43:59 Just before Update() 02/06 12:44:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:44:10 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:44:10 Alarms with pending videos found! 02/06 12:44:10 Next idalarmcra = 383766 02/06 12:44:10 DownloadVideos::DownloadVideoOfAlarm 02/06 12:44:10 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:44:10 SAM|1231 02/06 12:44:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_124353_86.mp4|95538| 02/06 12:44:10 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_124353_86.mp4 02/06 12:44:10 Date = 20190602 02/06 12:44:10 Construct from filename date 02/06 12:44:10 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_124353_86.mp4 02/06 12:44:10 Destination file not found 02/06 12:44:10 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_124353_86.mp4 02/06 12:44:10 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_124353_86.mp4 02/06 12:44:13 DownloadFile ok... checking file destination 02/06 12:44:13 URLDownloadToFile ok 02/06 12:44:13 Video .sig downloaded ok! 02/06 12:44:13 Snapshot .sig downloaded ok! 02/06 12:44:13 Elapsed download time: 00:00:03 02/06 12:44:13 UpdateVideoname 02/06 12:44:13 Updating: idalarmcra = 383766 02/06 12:44:13 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383766 ORDER BY IDALARMCRA DESC 02/06 12:44:13 Just before Update() 02/06 12:44:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:44:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:44:24 Don't have work. 02/06 12:44:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:44:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:44:44 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:44:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:44:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:44:54 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:45:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:45:04 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:45:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:45:14 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:45:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:45:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:45:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:45:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:45:44 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:45:44 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:45:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:45:54 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:45:54 Alarms with pending videos found! 02/06 12:45:54 Next idalarmcra = 383768 02/06 12:45:54 DownloadVideos::DownloadVideoOfAlarm 02/06 12:45:55 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:45:55 SAM|22939 02/06 12:45:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:45:55 NOK answer received 02/06 12:45:55 UpdateVideoname 02/06 12:45:55 Updating: idalarmcra = 383768 02/06 12:45:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383768 ORDER BY IDALARMCRA DESC 02/06 12:45:55 Just before Update() 02/06 12:46:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:46:05 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:46:05 Alarms with pending videos found! 02/06 12:46:05 Next idalarmcra = 383768 02/06 12:46:05 DownloadVideos::DownloadVideoOfAlarm 02/06 12:46:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:46:05 SAM|22939 02/06 12:46:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_124606_34.mp4|114532| 02/06 12:46:05 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_124606_34.mp4 02/06 12:46:05 Date = 20190602 02/06 12:46:05 Construct from filename date 02/06 12:46:05 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_124606_34.mp4 02/06 12:46:05 Destination file not found 02/06 12:46:05 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_124606_34.mp4 02/06 12:46:05 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_124606_34.mp4 02/06 12:46:07 DownloadFile ok... checking file destination 02/06 12:46:07 URLDownloadToFile ok 02/06 12:46:08 Video .sig downloaded ok! 02/06 12:46:08 Snapshot .sig downloaded ok! 02/06 12:46:08 Elapsed download time: 00:00:03 02/06 12:46:08 UpdateVideoname 02/06 12:46:08 Updating: idalarmcra = 383768 02/06 12:46:08 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383768 ORDER BY IDALARMCRA DESC 02/06 12:46:08 Just before Update() 02/06 12:46:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:46:18 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:46:18 Don't have work. 02/06 12:46:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:46:28 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:46:38 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:46:38 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:46:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:46:48 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:46:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:46:59 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:47:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:47:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:47:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:47:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:47:29 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:47:29 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:47:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:47:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:47:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:47:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 12:47:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:47:59 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:47:59 Alarms with pending videos found! 02/06 12:47:59 Next idalarmcra = 383774 02/06 12:47:59 DownloadVideos::DownloadVideoOfAlarm 02/06 12:47:59 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 12:47:59 SAM|4693 02/06 12:47:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_124919_134.mp4|112590| 02/06 12:48:00 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_124919_134.mp4 02/06 12:48:00 Date = 20190602 02/06 12:48:00 Construct from filename date 02/06 12:48:00 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_124919_134.mp4 02/06 12:48:00 Destination file not found 02/06 12:48:00 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_124919_134.mp4 02/06 12:48:00 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_124919_134.mp4 02/06 12:48:03 DownloadFile ok... checking file destination 02/06 12:48:03 URLDownloadToFile ok 02/06 12:48:03 Video .sig downloaded ok! 02/06 12:48:03 Snapshot .sig downloaded ok! 02/06 12:48:03 Elapsed download time: 00:00:04 02/06 12:48:03 UpdateVideoname 02/06 12:48:03 Updating: idalarmcra = 383774 02/06 12:48:03 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383774 ORDER BY IDALARMCRA DESC 02/06 12:48:03 Just before Update() 02/06 12:48:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:48:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:48:14 Don't have work. 02/06 12:48:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:48:24 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:48:24 Alarms with pending videos found! 02/06 12:48:24 Next idalarmcra = 383775 02/06 12:48:24 DownloadVideos::DownloadVideoOfAlarm 02/06 12:48:24 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:48:24 SAM|1232 02/06 12:48:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:48:24 NOK answer received 02/06 12:48:24 UpdateVideoname 02/06 12:48:24 Updating: idalarmcra = 383775 02/06 12:48:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383775 ORDER BY IDALARMCRA DESC 02/06 12:48:24 Just before Update() 02/06 12:48:34 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:48:34 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:48:34 Alarms with pending videos found! 02/06 12:48:34 Next idalarmcra = 383776 02/06 12:48:34 DownloadVideos::DownloadVideoOfAlarm 02/06 12:48:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:48:34 SAM|1233 02/06 12:48:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_124828_77.mp4|107561| 02/06 12:48:34 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_124828_77.mp4 02/06 12:48:34 Date = 20190602 02/06 12:48:34 Construct from filename date 02/06 12:48:34 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_124828_77.mp4 02/06 12:48:34 Destination file not found 02/06 12:48:34 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_124828_77.mp4 02/06 12:48:34 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_124828_77.mp4 02/06 12:48:41 DownloadFile ok... checking file destination 02/06 12:48:41 URLDownloadToFile ok 02/06 12:48:41 Video .sig downloaded ok! 02/06 12:48:41 Snapshot .sig downloaded ok! 02/06 12:48:41 Elapsed download time: 00:00:07 02/06 12:48:41 UpdateVideoname 02/06 12:48:41 Updating: idalarmcra = 383776 02/06 12:48:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383776 ORDER BY IDALARMCRA DESC 02/06 12:48:41 Just before Update() 02/06 12:48:41 Next idalarmcra = 383775 02/06 12:48:41 DownloadVideos::DownloadVideoOfAlarm 02/06 12:48:41 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:48:41 SAM|1232 02/06 12:48:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124819_44.mp4|114694| 02/06 12:48:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124819_44.mp4 02/06 12:48:41 Date = 20190602 02/06 12:48:41 Construct from filename date 02/06 12:48:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124819_44.mp4 02/06 12:48:41 Destination file not found 02/06 12:48:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124819_44.mp4 02/06 12:48:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_124819_44.mp4 02/06 12:48:45 DownloadFile ok... checking file destination 02/06 12:48:45 URLDownloadToFile ok 02/06 12:48:45 Video .sig downloaded ok! 02/06 12:48:45 Snapshot .sig downloaded ok! 02/06 12:48:45 Elapsed download time: 00:00:04 02/06 12:48:46 UpdateVideoname 02/06 12:48:46 Updating: idalarmcra = 383775 02/06 12:48:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383775 ORDER BY IDALARMCRA DESC 02/06 12:48:46 Just before Update() 02/06 12:48:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:48:56 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:48:56 Don't have work. 02/06 12:49:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:49:06 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:49:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:49:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:49:26 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:49:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:49:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:49:36 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:49:36 Alarms with pending videos found! 02/06 12:49:36 Next idalarmcra = 383780 02/06 12:49:36 DownloadVideos::DownloadVideoOfAlarm 02/06 12:49:36 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 12:49:36 SAM|15971 02/06 12:49:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124932_11.mp4|76662| 02/06 12:49:37 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124932_11.mp4 02/06 12:49:37 Date = 20190602 02/06 12:49:37 Construct from filename date 02/06 12:49:37 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124932_11.mp4 02/06 12:49:37 Destination file not found 02/06 12:49:37 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124932_11.mp4 02/06 12:49:37 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_124932_11.mp4 02/06 12:49:38 DownloadFile ok... checking file destination 02/06 12:49:38 URLDownloadToFile ok 02/06 12:49:38 Video .sig downloaded ok! 02/06 12:49:38 Snapshot .sig downloaded ok! 02/06 12:49:38 Elapsed download time: 00:00:02 02/06 12:49:38 UpdateVideoname 02/06 12:49:38 Updating: idalarmcra = 383780 02/06 12:49:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383780 ORDER BY IDALARMCRA DESC 02/06 12:49:38 Just before Update() 02/06 12:49:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:49:49 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:49:49 Alarms with pending videos found! 02/06 12:49:49 Next idalarmcra = 383781 02/06 12:49:49 DownloadVideos::DownloadVideoOfAlarm 02/06 12:49:49 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:49:49 SAM|1234 02/06 12:49:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_124935_78.mp4|111127| 02/06 12:49:49 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_124935_78.mp4 02/06 12:49:49 Date = 20190602 02/06 12:49:49 Construct from filename date 02/06 12:49:49 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_124935_78.mp4 02/06 12:49:49 Destination file not found 02/06 12:49:49 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_124935_78.mp4 02/06 12:49:49 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_124935_78.mp4 02/06 12:49:49 DownloadFile ok... checking file destination 02/06 12:49:49 URLDownloadToFile ok 02/06 12:49:49 Video .sig downloaded ok! 02/06 12:49:50 Snapshot .sig downloaded ok! 02/06 12:49:50 Elapsed download time: 00:00:01 02/06 12:49:50 UpdateVideoname 02/06 12:49:50 Updating: idalarmcra = 383781 02/06 12:49:50 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383781 ORDER BY IDALARMCRA DESC 02/06 12:49:50 Just before Update() 02/06 12:50:00 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:50:00 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:50:00 Don't have work. 02/06 12:50:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:50:10 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:50:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:50:20 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:50:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:50:30 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:50:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:50:40 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:50:40 Alarms with pending videos found! 02/06 12:50:40 Next idalarmcra = 383783 02/06 12:50:40 DownloadVideos::DownloadVideoOfAlarm 02/06 12:50:40 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:50:40 SAM|1060 02/06 12:50:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:50:41 NOK answer received 02/06 12:50:41 UpdateVideoname 02/06 12:50:41 Updating: idalarmcra = 383783 02/06 12:50:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383783 ORDER BY IDALARMCRA DESC 02/06 12:50:41 Just before Update() 02/06 12:50:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:50:51 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:50:51 Alarms with pending videos found! 02/06 12:50:51 Next idalarmcra = 383785 02/06 12:50:51 DownloadVideos::DownloadVideoOfAlarm 02/06 12:50:51 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:50:51 SAM|1062 02/06 12:50:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_124954_19.mp4|108345| 02/06 12:50:51 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_124954_19.mp4 02/06 12:50:51 Date = 20190602 02/06 12:50:51 Construct from filename date 02/06 12:50:51 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_124954_19.mp4 02/06 12:50:51 Destination file not found 02/06 12:50:51 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_124954_19.mp4 02/06 12:50:51 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_124954_19.mp4 02/06 12:50:51 DownloadFile ok... checking file destination 02/06 12:50:51 URLDownloadToFile ok 02/06 12:50:51 Video .sig downloaded ok! 02/06 12:50:52 Snapshot .sig downloaded ok! 02/06 12:50:52 Elapsed download time: 00:00:01 02/06 12:50:52 UpdateVideoname 02/06 12:50:52 Updating: idalarmcra = 383785 02/06 12:50:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383785 ORDER BY IDALARMCRA DESC 02/06 12:50:52 Just before Update() 02/06 12:50:52 Next idalarmcra = 383784 02/06 12:50:52 DownloadVideos::DownloadVideoOfAlarm 02/06 12:50:52 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:50:52 SAM|1061 02/06 12:50:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_124953_407.mp4|110288| 02/06 12:50:52 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_124953_407.mp4 02/06 12:50:52 Date = 20190602 02/06 12:50:52 Construct from filename date 02/06 12:50:52 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_124953_407.mp4 02/06 12:50:52 Destination file not found 02/06 12:50:52 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_124953_407.mp4 02/06 12:50:52 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_124953_407.mp4 02/06 12:50:52 DownloadFile ok... checking file destination 02/06 12:50:52 URLDownloadToFile ok 02/06 12:50:52 Video .sig downloaded ok! 02/06 12:50:52 Snapshot .sig downloaded ok! 02/06 12:50:52 Elapsed download time: 00:00:00 02/06 12:50:52 UpdateVideoname 02/06 12:50:52 Updating: idalarmcra = 383784 02/06 12:50:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383784 ORDER BY IDALARMCRA DESC 02/06 12:50:52 Just before Update() 02/06 12:50:52 Next idalarmcra = 383783 02/06 12:50:52 DownloadVideos::DownloadVideoOfAlarm 02/06 12:50:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:50:52 SAM|1060 02/06 12:50:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_124950_159.mp4|107711| 02/06 12:50:52 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_124950_159.mp4 02/06 12:50:52 Date = 20190602 02/06 12:50:52 Construct from filename date 02/06 12:50:52 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_124950_159.mp4 02/06 12:50:52 Destination file not found 02/06 12:50:52 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_124950_159.mp4 02/06 12:50:52 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_124950_159.mp4 02/06 12:50:53 DownloadFile ok... checking file destination 02/06 12:50:53 URLDownloadToFile ok 02/06 12:50:53 Video .sig downloaded ok! 02/06 12:50:53 Snapshot .sig downloaded ok! 02/06 12:50:53 Elapsed download time: 00:00:01 02/06 12:50:53 UpdateVideoname 02/06 12:50:53 Updating: idalarmcra = 383783 02/06 12:50:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383783 ORDER BY IDALARMCRA DESC 02/06 12:50:53 Just before Update() 02/06 12:51:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:51:03 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:51:03 Alarms with pending videos found! 02/06 12:51:03 Next idalarmcra = 383787 02/06 12:51:03 DownloadVideos::DownloadVideoOfAlarm 02/06 12:51:03 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 12:51:03 SAM|163126 02/06 12:51:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_130335_95.mp4|112942| 02/06 12:51:03 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_130335_95.mp4 02/06 12:51:03 Date = 20190602 02/06 12:51:03 Construct from filename date 02/06 12:51:03 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_130335_95.mp4 02/06 12:51:03 Destination file not found 02/06 12:51:03 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_130335_95.mp4 02/06 12:51:03 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_130335_95.mp4 02/06 12:51:04 DownloadFile ok... checking file destination 02/06 12:51:04 URLDownloadToFile ok 02/06 12:51:05 Video .sig downloaded ok! 02/06 12:51:05 Snapshot .sig downloaded ok! 02/06 12:51:05 Elapsed download time: 00:00:02 02/06 12:51:05 UpdateVideoname 02/06 12:51:05 Updating: idalarmcra = 383787 02/06 12:51:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383787 ORDER BY IDALARMCRA DESC 02/06 12:51:05 Just before Update() 02/06 12:51:05 Next idalarmcra = 383786 02/06 12:51:05 DownloadVideos::DownloadVideoOfAlarm 02/06 12:51:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:51:05 SAM|734 02/06 12:51:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125043_100.mp4|102057| 02/06 12:51:05 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125043_100.mp4 02/06 12:51:05 Date = 20190602 02/06 12:51:05 Construct from filename date 02/06 12:51:05 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125043_100.mp4 02/06 12:51:05 Destination file not found 02/06 12:51:05 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125043_100.mp4 02/06 12:51:05 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125043_100.mp4 02/06 12:51:06 DownloadFile ok... checking file destination 02/06 12:51:06 URLDownloadToFile ok 02/06 12:51:06 Video .sig downloaded ok! 02/06 12:51:06 Snapshot .sig downloaded ok! 02/06 12:51:06 Elapsed download time: 00:00:01 02/06 12:51:06 UpdateVideoname 02/06 12:51:06 Updating: idalarmcra = 383786 02/06 12:51:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383786 ORDER BY IDALARMCRA DESC 02/06 12:51:06 Just before Update() 02/06 12:51:16 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:51:16 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:51:16 Alarms with pending videos found! 02/06 12:51:16 Next idalarmcra = 383791 02/06 12:51:16 DownloadVideos::DownloadVideoOfAlarm 02/06 12:51:16 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:51:16 SAM|1065 02/06 12:51:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125024_20.mp4|104601| 02/06 12:51:16 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125024_20.mp4 02/06 12:51:16 Date = 20190602 02/06 12:51:16 Construct from filename date 02/06 12:51:16 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125024_20.mp4 02/06 12:51:16 Destination file not found 02/06 12:51:16 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125024_20.mp4 02/06 12:51:16 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125024_20.mp4 02/06 12:51:17 DownloadFile ok... checking file destination 02/06 12:51:17 URLDownloadToFile ok 02/06 12:51:17 Video .sig downloaded ok! 02/06 12:51:17 Snapshot .sig downloaded ok! 02/06 12:51:17 Elapsed download time: 00:00:01 02/06 12:51:17 UpdateVideoname 02/06 12:51:17 Updating: idalarmcra = 383791 02/06 12:51:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383791 ORDER BY IDALARMCRA DESC 02/06 12:51:17 Just before Update() 02/06 12:51:17 Next idalarmcra = 383790 02/06 12:51:17 DownloadVideos::DownloadVideoOfAlarm 02/06 12:51:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:51:17 SAM|1063 02/06 12:51:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_125020_408.mp4|105405| 02/06 12:51:17 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_125020_408.mp4 02/06 12:51:17 Date = 20190602 02/06 12:51:17 Construct from filename date 02/06 12:51:17 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_125020_408.mp4 02/06 12:51:17 Destination file not found 02/06 12:51:17 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_125020_408.mp4 02/06 12:51:17 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_125020_408.mp4 02/06 12:51:17 DownloadFile ok... checking file destination 02/06 12:51:17 URLDownloadToFile ok 02/06 12:51:17 Video .sig downloaded ok! 02/06 12:51:17 Snapshot .sig downloaded ok! 02/06 12:51:17 Elapsed download time: 00:00:00 02/06 12:51:17 UpdateVideoname 02/06 12:51:17 Updating: idalarmcra = 383790 02/06 12:51:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383790 ORDER BY IDALARMCRA DESC 02/06 12:51:17 Just before Update() 02/06 12:51:17 Next idalarmcra = 383789 02/06 12:51:17 DownloadVideos::DownloadVideoOfAlarm 02/06 12:51:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:51:17 SAM|1064 02/06 12:51:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125020_160.mp4|101044| 02/06 12:51:18 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125020_160.mp4 02/06 12:51:18 Date = 20190602 02/06 12:51:18 Construct from filename date 02/06 12:51:18 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125020_160.mp4 02/06 12:51:18 Destination file not found 02/06 12:51:18 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125020_160.mp4 02/06 12:51:18 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125020_160.mp4 02/06 12:51:18 DownloadFile ok... checking file destination 02/06 12:51:18 URLDownloadToFile ok 02/06 12:51:18 Video .sig downloaded ok! 02/06 12:51:18 Snapshot .sig downloaded ok! 02/06 12:51:18 Elapsed download time: 00:00:01 02/06 12:51:18 UpdateVideoname 02/06 12:51:18 Updating: idalarmcra = 383789 02/06 12:51:18 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383789 ORDER BY IDALARMCRA DESC 02/06 12:51:18 Just before Update() 02/06 12:51:18 Next idalarmcra = 383788 02/06 12:51:18 DownloadVideos::DownloadVideoOfAlarm 02/06 12:51:18 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:51:18 SAM|735 02/06 12:51:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125106_101.mp4|96199| 02/06 12:51:18 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125106_101.mp4 02/06 12:51:18 Date = 20190602 02/06 12:51:18 Construct from filename date 02/06 12:51:18 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125106_101.mp4 02/06 12:51:18 Destination file not found 02/06 12:51:18 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125106_101.mp4 02/06 12:51:18 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125106_101.mp4 02/06 12:51:18 DownloadFile ok... checking file destination 02/06 12:51:18 URLDownloadToFile ok 02/06 12:51:19 Video .sig downloaded ok! 02/06 12:51:19 Snapshot .sig downloaded ok! 02/06 12:51:19 Elapsed download time: 00:00:01 02/06 12:51:19 UpdateVideoname 02/06 12:51:19 Updating: idalarmcra = 383788 02/06 12:51:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383788 ORDER BY IDALARMCRA DESC 02/06 12:51:19 Just before Update() 02/06 12:51:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:51:29 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:51:29 Don't have work. 02/06 12:51:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:51:39 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:51:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:51:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:51:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:51:59 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:52:09 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:52:09 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:52:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:52:19 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:52:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:52:29 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:52:29 Alarms with pending videos found! 02/06 12:52:29 Next idalarmcra = 383794 02/06 12:52:29 DownloadVideos::DownloadVideoOfAlarm 02/06 12:52:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:52:29 SAM|736 02/06 12:52:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125223_102.mp4|104079| 02/06 12:52:30 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125223_102.mp4 02/06 12:52:30 Date = 20190602 02/06 12:52:30 Construct from filename date 02/06 12:52:30 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125223_102.mp4 02/06 12:52:30 Destination file not found 02/06 12:52:30 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125223_102.mp4 02/06 12:52:30 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125223_102.mp4 02/06 12:52:30 DownloadFile ok... checking file destination 02/06 12:52:30 URLDownloadToFile ok 02/06 12:52:30 Video .sig downloaded ok! 02/06 12:52:30 Snapshot .sig downloaded ok! 02/06 12:52:30 Elapsed download time: 00:00:01 02/06 12:52:30 UpdateVideoname 02/06 12:52:30 Updating: idalarmcra = 383794 02/06 12:52:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383794 ORDER BY IDALARMCRA DESC 02/06 12:52:30 Just before Update() 02/06 12:52:30 Next idalarmcra = 383793 02/06 12:52:30 DownloadVideos::DownloadVideoOfAlarm 02/06 12:52:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:52:30 SAM|1067 02/06 12:52:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125132_21.mp4|114266| 02/06 12:52:31 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125132_21.mp4 02/06 12:52:31 Date = 20190602 02/06 12:52:31 Construct from filename date 02/06 12:52:31 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125132_21.mp4 02/06 12:52:31 Destination file not found 02/06 12:52:31 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125132_21.mp4 02/06 12:52:31 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125132_21.mp4 02/06 12:52:31 DownloadFile ok... checking file destination 02/06 12:52:31 URLDownloadToFile ok 02/06 12:52:31 Video .sig downloaded ok! 02/06 12:52:31 Snapshot .sig downloaded ok! 02/06 12:52:31 Elapsed download time: 00:00:01 02/06 12:52:31 UpdateVideoname 02/06 12:52:31 Updating: idalarmcra = 383793 02/06 12:52:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383793 ORDER BY IDALARMCRA DESC 02/06 12:52:31 Just before Update() 02/06 12:52:31 Next idalarmcra = 383792 02/06 12:52:31 DownloadVideos::DownloadVideoOfAlarm 02/06 12:52:31 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:52:31 SAM|1066 02/06 12:52:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125129_161.mp4|113584| 02/06 12:52:32 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125129_161.mp4 02/06 12:52:32 Date = 20190602 02/06 12:52:32 Construct from filename date 02/06 12:52:32 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125129_161.mp4 02/06 12:52:32 Destination file not found 02/06 12:52:32 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125129_161.mp4 02/06 12:52:32 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125129_161.mp4 02/06 12:52:32 DownloadFile ok... checking file destination 02/06 12:52:32 URLDownloadToFile ok 02/06 12:52:32 Video .sig downloaded ok! 02/06 12:52:32 Snapshot .sig downloaded ok! 02/06 12:52:32 Elapsed download time: 00:00:01 02/06 12:52:32 UpdateVideoname 02/06 12:52:32 Updating: idalarmcra = 383792 02/06 12:52:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383792 ORDER BY IDALARMCRA DESC 02/06 12:52:32 Just before Update() 02/06 12:52:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:52:42 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:52:42 Don't have work. 02/06 12:52:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:52:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:53:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:53:02 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:53:02 Alarms with pending videos found! 02/06 12:53:02 Next idalarmcra = 383796 02/06 12:53:02 DownloadVideos::DownloadVideoOfAlarm 02/06 12:53:02 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:53:02 SAM|1235 02/06 12:53:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:53:03 NOK answer received 02/06 12:53:03 UpdateVideoname 02/06 12:53:03 Updating: idalarmcra = 383796 02/06 12:53:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383796 ORDER BY IDALARMCRA DESC 02/06 12:53:03 Just before Update() 02/06 12:53:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:53:13 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:53:13 Alarms with pending videos found! 02/06 12:53:13 Next idalarmcra = 383796 02/06 12:53:13 DownloadVideos::DownloadVideoOfAlarm 02/06 12:53:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:53:13 SAM|1235 02/06 12:53:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_125259_45.mp4|115803| 02/06 12:53:13 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_125259_45.mp4 02/06 12:53:13 Date = 20190602 02/06 12:53:13 Construct from filename date 02/06 12:53:13 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_125259_45.mp4 02/06 12:53:13 Destination file not found 02/06 12:53:13 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_125259_45.mp4 02/06 12:53:13 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_125259_45.mp4 02/06 12:53:14 DownloadFile ok... checking file destination 02/06 12:53:14 URLDownloadToFile ok 02/06 12:53:14 Video .sig downloaded ok! 02/06 12:53:14 Snapshot .sig downloaded ok! 02/06 12:53:14 Elapsed download time: 00:00:01 02/06 12:53:14 UpdateVideoname 02/06 12:53:14 Updating: idalarmcra = 383796 02/06 12:53:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383796 ORDER BY IDALARMCRA DESC 02/06 12:53:14 Just before Update() 02/06 12:53:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:53:24 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:53:24 Alarms with pending videos found! 02/06 12:53:24 Next idalarmcra = 383797 02/06 12:53:24 DownloadVideos::DownloadVideoOfAlarm 02/06 12:53:24 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:53:24 SAM|1236 02/06 12:53:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125318_159.mp4|99595| 02/06 12:53:24 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125318_159.mp4 02/06 12:53:24 Date = 20190602 02/06 12:53:24 Construct from filename date 02/06 12:53:24 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125318_159.mp4 02/06 12:53:24 Destination file not found 02/06 12:53:24 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125318_159.mp4 02/06 12:53:24 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125318_159.mp4 02/06 12:53:25 DownloadFile ok... checking file destination 02/06 12:53:25 URLDownloadToFile ok 02/06 12:53:25 Video .sig downloaded ok! 02/06 12:53:25 Snapshot .sig downloaded ok! 02/06 12:53:25 Elapsed download time: 00:00:01 02/06 12:53:25 UpdateVideoname 02/06 12:53:25 Updating: idalarmcra = 383797 02/06 12:53:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383797 ORDER BY IDALARMCRA DESC 02/06 12:53:25 Just before Update() 02/06 12:53:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:53:35 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:53:35 Don't have work. 02/06 12:53:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:53:45 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:53:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:53:55 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:53:55 Alarms with pending videos found! 02/06 12:53:55 Next idalarmcra = 383798 02/06 12:53:55 DownloadVideos::DownloadVideoOfAlarm 02/06 12:53:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:53:55 SAM|1068 02/06 12:53:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:53:56 NOK answer received 02/06 12:53:56 UpdateVideoname 02/06 12:53:56 Updating: idalarmcra = 383798 02/06 12:53:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383798 ORDER BY IDALARMCRA DESC 02/06 12:53:56 Just before Update() 02/06 12:54:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:54:06 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:54:06 Alarms with pending videos found! 02/06 12:54:06 Next idalarmcra = 383800 02/06 12:54:06 DownloadVideos::DownloadVideoOfAlarm 02/06 12:54:06 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:54:06 SAM|1070 02/06 12:54:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125308_22.mp4|107335| 02/06 12:54:06 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125308_22.mp4 02/06 12:54:06 Date = 20190602 02/06 12:54:06 Construct from filename date 02/06 12:54:06 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125308_22.mp4 02/06 12:54:06 Destination file not found 02/06 12:54:06 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125308_22.mp4 02/06 12:54:06 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_125308_22.mp4 02/06 12:54:06 DownloadFile ok... checking file destination 02/06 12:54:06 URLDownloadToFile ok 02/06 12:54:07 Video .sig downloaded ok! 02/06 12:54:07 Snapshot .sig downloaded ok! 02/06 12:54:07 Elapsed download time: 00:00:01 02/06 12:54:07 UpdateVideoname 02/06 12:54:07 Updating: idalarmcra = 383800 02/06 12:54:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383800 ORDER BY IDALARMCRA DESC 02/06 12:54:07 Just before Update() 02/06 12:54:07 Next idalarmcra = 383799 02/06 12:54:07 DownloadVideos::DownloadVideoOfAlarm 02/06 12:54:07 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:54:07 SAM|1069 02/06 12:54:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125307_162.mp4|100490| 02/06 12:54:08 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125307_162.mp4 02/06 12:54:08 Date = 20190602 02/06 12:54:08 Construct from filename date 02/06 12:54:08 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125307_162.mp4 02/06 12:54:08 Destination file not found 02/06 12:54:08 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125307_162.mp4 02/06 12:54:08 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_125307_162.mp4 02/06 12:54:08 DownloadFile ok... checking file destination 02/06 12:54:08 URLDownloadToFile ok 02/06 12:54:08 Video .sig downloaded ok! 02/06 12:54:08 Snapshot .sig downloaded ok! 02/06 12:54:08 Elapsed download time: 00:00:01 02/06 12:54:08 UpdateVideoname 02/06 12:54:08 Updating: idalarmcra = 383799 02/06 12:54:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383799 ORDER BY IDALARMCRA DESC 02/06 12:54:08 Just before Update() 02/06 12:54:08 Next idalarmcra = 383798 02/06 12:54:08 DownloadVideos::DownloadVideoOfAlarm 02/06 12:54:08 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 12:54:08 SAM|1068 02/06 12:54:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_125304_409.mp4|99848| 02/06 12:54:09 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_125304_409.mp4 02/06 12:54:09 Date = 20190602 02/06 12:54:09 Construct from filename date 02/06 12:54:09 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_125304_409.mp4 02/06 12:54:09 Destination file not found 02/06 12:54:09 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_125304_409.mp4 02/06 12:54:09 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_125304_409.mp4 02/06 12:54:09 DownloadFile ok... checking file destination 02/06 12:54:09 URLDownloadToFile ok 02/06 12:54:09 Video .sig downloaded ok! 02/06 12:54:09 Snapshot .sig downloaded ok! 02/06 12:54:09 Elapsed download time: 00:00:01 02/06 12:54:09 UpdateVideoname 02/06 12:54:09 Updating: idalarmcra = 383798 02/06 12:54:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383798 ORDER BY IDALARMCRA DESC 02/06 12:54:09 Just before Update() 02/06 12:54:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:54:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:54:19 Don't have work. 02/06 12:54:29 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:54:29 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:54:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:54:40 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:54:50 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:54:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:55:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:55:00 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:55:00 Alarms with pending videos found! 02/06 12:55:00 Next idalarmcra = 383801 02/06 12:55:00 DownloadVideos::DownloadVideoOfAlarm 02/06 12:55:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:55:00 SAM|1237 02/06 12:55:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125451_160.mp4|104665| 02/06 12:55:00 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125451_160.mp4 02/06 12:55:00 Date = 20190602 02/06 12:55:00 Construct from filename date 02/06 12:55:00 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125451_160.mp4 02/06 12:55:00 Destination file not found 02/06 12:55:00 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125451_160.mp4 02/06 12:55:00 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125451_160.mp4 02/06 12:55:01 DownloadFile ok... checking file destination 02/06 12:55:01 URLDownloadToFile ok 02/06 12:55:01 Video .sig downloaded ok! 02/06 12:55:01 Snapshot .sig downloaded ok! 02/06 12:55:01 Elapsed download time: 00:00:01 02/06 12:55:01 UpdateVideoname 02/06 12:55:01 Updating: idalarmcra = 383801 02/06 12:55:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383801 ORDER BY IDALARMCRA DESC 02/06 12:55:01 Just before Update() 02/06 12:55:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:55:11 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:55:11 Alarms with pending videos found! 02/06 12:55:11 Next idalarmcra = 383804 02/06 12:55:11 DownloadVideos::DownloadVideoOfAlarm 02/06 12:55:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:55:11 SAM|1238 02/06 12:55:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_125505_87.mp4|105064| 02/06 12:55:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_125505_87.mp4 02/06 12:55:11 Date = 20190602 02/06 12:55:11 Construct from filename date 02/06 12:55:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_125505_87.mp4 02/06 12:55:11 Destination file not found 02/06 12:55:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_125505_87.mp4 02/06 12:55:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_125505_87.mp4 02/06 12:55:12 DownloadFile ok... checking file destination 02/06 12:55:12 URLDownloadToFile ok 02/06 12:55:12 Video .sig downloaded ok! 02/06 12:55:12 Snapshot .sig downloaded ok! 02/06 12:55:12 Elapsed download time: 00:00:01 02/06 12:55:12 UpdateVideoname 02/06 12:55:12 Updating: idalarmcra = 383804 02/06 12:55:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383804 ORDER BY IDALARMCRA DESC 02/06 12:55:12 Just before Update() 02/06 12:55:12 Next idalarmcra = 383803 02/06 12:55:12 DownloadVideos::DownloadVideoOfAlarm 02/06 12:55:12 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 12:55:12 SAM|738 02/06 12:55:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125506_103.mp4|99614| 02/06 12:55:13 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125506_103.mp4 02/06 12:55:13 Date = 20190602 02/06 12:55:13 Construct from filename date 02/06 12:55:13 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125506_103.mp4 02/06 12:55:13 Destination file not found 02/06 12:55:13 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125506_103.mp4 02/06 12:55:13 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_125506_103.mp4 02/06 12:55:13 DownloadFile ok... checking file destination 02/06 12:55:13 URLDownloadToFile ok 02/06 12:55:13 Video .sig downloaded ok! 02/06 12:55:13 Snapshot .sig downloaded ok! 02/06 12:55:13 Elapsed download time: 00:00:01 02/06 12:55:13 UpdateVideoname 02/06 12:55:13 Updating: idalarmcra = 383803 02/06 12:55:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383803 ORDER BY IDALARMCRA DESC 02/06 12:55:13 Just before Update() 02/06 12:55:13 Next idalarmcra = 383802 02/06 12:55:13 DownloadVideos::DownloadVideoOfAlarm 02/06 12:55:13 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 12:55:13 SAM|22940 02/06 12:55:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_125516_35.mp4|116057| 02/06 12:55:14 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_125516_35.mp4 02/06 12:55:14 Date = 20190602 02/06 12:55:14 Construct from filename date 02/06 12:55:14 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_125516_35.mp4 02/06 12:55:14 Destination file not found 02/06 12:55:14 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_125516_35.mp4 02/06 12:55:14 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_125516_35.mp4 02/06 12:55:17 DownloadFile ok... checking file destination 02/06 12:55:17 URLDownloadToFile ok 02/06 12:55:17 Video .sig downloaded ok! 02/06 12:55:17 Snapshot .sig downloaded ok! 02/06 12:55:17 Elapsed download time: 00:00:04 02/06 12:55:17 UpdateVideoname 02/06 12:55:17 Updating: idalarmcra = 383802 02/06 12:55:17 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383802 ORDER BY IDALARMCRA DESC 02/06 12:55:17 Rollback executed. 02/06 12:55:17 RecordSet closed. 02/06 12:55:17 CheckDDBB 02/06 12:55:18 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 12:55:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:55:28 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:55:28 Alarms with pending videos found! 02/06 12:55:28 Next idalarmcra = 383807 02/06 12:55:28 DownloadVideos::DownloadVideoOfAlarm 02/06 12:55:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 12:55:28 SAM|15972 02/06 12:55:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_125529_12.mp4|100099| 02/06 12:55:28 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_125529_12.mp4 02/06 12:55:28 Date = 20190602 02/06 12:55:28 Construct from filename date 02/06 12:55:28 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_125529_12.mp4 02/06 12:55:28 Destination file not found 02/06 12:55:28 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_125529_12.mp4 02/06 12:55:28 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_125529_12.mp4 02/06 12:55:29 DownloadFile ok... checking file destination 02/06 12:55:29 URLDownloadToFile ok 02/06 12:55:29 Video .sig downloaded ok! 02/06 12:55:29 Snapshot .sig downloaded ok! 02/06 12:55:29 Elapsed download time: 00:00:01 02/06 12:55:30 UpdateVideoname 02/06 12:55:30 Updating: idalarmcra = 383807 02/06 12:55:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383807 ORDER BY IDALARMCRA DESC 02/06 12:55:30 Just before Update() 02/06 12:55:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:55:40 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:55:40 Don't have work. 02/06 12:55:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:55:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:56:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:56:00 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:56:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:56:10 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:56:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:56:20 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:56:30 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:56:30 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:56:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:56:40 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:56:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:56:50 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:57:00 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:57:01 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:57:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:57:11 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:57:11 Alarms with pending videos found! 02/06 12:57:11 Next idalarmcra = 383813 02/06 12:57:11 DownloadVideos::DownloadVideoOfAlarm 02/06 12:57:11 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 12:57:11 SAM|2071 02/06 12:57:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_125656_96.mp4|114366| 02/06 12:57:12 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_125656_96.mp4 02/06 12:57:12 Date = 20190602 02/06 12:57:12 Construct from filename date 02/06 12:57:12 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_125656_96.mp4 02/06 12:57:12 Destination file not found 02/06 12:57:12 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_125656_96.mp4 02/06 12:57:12 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_125656_96.mp4 02/06 12:57:13 DownloadFile ok... checking file destination 02/06 12:57:13 URLDownloadToFile ok 02/06 12:57:13 Video .sig downloaded ok! 02/06 12:57:13 Snapshot .sig downloaded ok! 02/06 12:57:13 Elapsed download time: 00:00:02 02/06 12:57:14 UpdateVideoname 02/06 12:57:14 Updating: idalarmcra = 383813 02/06 12:57:14 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383813 ORDER BY IDALARMCRA DESC 02/06 12:57:14 Rollback executed. 02/06 12:57:14 RecordSet closed. 02/06 12:57:14 CheckDDBB 02/06 12:57:14 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 12:57:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:57:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:57:24 Don't have work. 02/06 12:57:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:57:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:57:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:57:44 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:57:44 Alarms with pending videos found! 02/06 12:57:44 Next idalarmcra = 383817 02/06 12:57:44 DownloadVideos::DownloadVideoOfAlarm 02/06 12:57:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 12:57:44 SAM|15973 02/06 12:57:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 12:57:44 NOK answer received 02/06 12:57:45 UpdateVideoname 02/06 12:57:45 Updating: idalarmcra = 383817 02/06 12:57:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383817 ORDER BY IDALARMCRA DESC 02/06 12:57:45 Just before Update() 02/06 12:57:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:57:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:57:55 Don't have work. 02/06 12:58:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:58:05 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:58:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:58:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:58:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:58:25 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:58:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:58:35 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:58:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:58:45 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:58:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:58:55 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:59:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:59:05 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:59:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:59:16 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 12:59:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:59:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 12:59:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:59:36 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:59:36 Alarms with pending videos found! 02/06 12:59:36 Next idalarmcra = 383822 02/06 12:59:36 DownloadVideos::DownloadVideoOfAlarm 02/06 12:59:36 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 12:59:36 SAM|1239 02/06 12:59:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125930_161.mp4|99237| 02/06 12:59:36 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125930_161.mp4 02/06 12:59:36 Date = 20190602 02/06 12:59:36 Construct from filename date 02/06 12:59:36 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125930_161.mp4 02/06 12:59:36 Destination file not found 02/06 12:59:36 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125930_161.mp4 02/06 12:59:36 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_125930_161.mp4 02/06 12:59:37 DownloadFile ok... checking file destination 02/06 12:59:37 URLDownloadToFile ok 02/06 12:59:37 Video .sig downloaded ok! 02/06 12:59:37 Snapshot .sig downloaded ok! 02/06 12:59:37 Elapsed download time: 00:00:01 02/06 12:59:37 UpdateVideoname 02/06 12:59:37 Updating: idalarmcra = 383822 02/06 12:59:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383822 ORDER BY IDALARMCRA DESC 02/06 12:59:37 Just before Update() 02/06 12:59:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:59:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 12:59:47 Don't have work. 02/06 12:59:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 12:59:57 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 11 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:00:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:00:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:00:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:00:17 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:00:17 Alarms with pending videos found! 02/06 13:00:17 Next idalarmcra = 383824 02/06 13:00:17 DownloadVideos::DownloadVideoOfAlarm 02/06 13:00:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 13:00:17 SAM|22942 02/06 13:00:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_130020_37.mp4|114357| 02/06 13:00:18 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_130020_37.mp4 02/06 13:00:18 Date = 20190602 02/06 13:00:18 Construct from filename date 02/06 13:00:18 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_130020_37.mp4 02/06 13:00:18 Destination file not found 02/06 13:00:18 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_130020_37.mp4 02/06 13:00:18 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_130020_37.mp4 02/06 13:00:19 DownloadFile ok... checking file destination 02/06 13:00:19 URLDownloadToFile ok 02/06 13:00:19 Video .sig downloaded ok! 02/06 13:00:20 Snapshot .sig downloaded ok! 02/06 13:00:20 Elapsed download time: 00:00:03 02/06 13:00:20 UpdateVideoname 02/06 13:00:20 Updating: idalarmcra = 383824 02/06 13:00:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383824 ORDER BY IDALARMCRA DESC 02/06 13:00:20 Just before Update() 02/06 13:00:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:00:30 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:00:30 Don't have work. 02/06 13:00:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:00:40 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:00:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:00:50 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:00:50 Alarms with pending videos found! 02/06 13:00:50 Next idalarmcra = 383826 02/06 13:00:50 DownloadVideos::DownloadVideoOfAlarm 02/06 13:00:50 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:00:50 SAM|1241 02/06 13:00:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130044_162.mp4|97428| 02/06 13:00:51 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130044_162.mp4 02/06 13:00:51 Date = 20190602 02/06 13:00:51 Construct from filename date 02/06 13:00:51 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130044_162.mp4 02/06 13:00:51 Destination file not found 02/06 13:00:51 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130044_162.mp4 02/06 13:00:51 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130044_162.mp4 02/06 13:00:53 DownloadFile ok... checking file destination 02/06 13:00:53 URLDownloadToFile ok 02/06 13:00:53 Video .sig downloaded ok! 02/06 13:00:53 Snapshot .sig downloaded ok! 02/06 13:00:53 Elapsed download time: 00:00:03 02/06 13:00:53 UpdateVideoname 02/06 13:00:53 Updating: idalarmcra = 383826 02/06 13:00:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383826 ORDER BY IDALARMCRA DESC 02/06 13:00:53 Just before Update() 02/06 13:00:53 Next idalarmcra = 383825 02/06 13:00:53 DownloadVideos::DownloadVideoOfAlarm 02/06 13:00:53 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:00:53 SAM|1240 02/06 13:00:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130041_88.mp4|110097| 02/06 13:00:54 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130041_88.mp4 02/06 13:00:54 Date = 20190602 02/06 13:00:54 Construct from filename date 02/06 13:00:54 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130041_88.mp4 02/06 13:00:54 Destination file not found 02/06 13:00:54 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130041_88.mp4 02/06 13:00:54 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130041_88.mp4 02/06 13:00:58 DownloadFile ok... checking file destination 02/06 13:00:58 URLDownloadToFile ok 02/06 13:00:58 Video .sig downloaded ok! 02/06 13:00:58 Snapshot .sig downloaded ok! 02/06 13:00:58 Elapsed download time: 00:00:05 02/06 13:00:58 UpdateVideoname 02/06 13:00:58 Updating: idalarmcra = 383825 02/06 13:00:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383825 ORDER BY IDALARMCRA DESC 02/06 13:00:58 Just before Update() 02/06 13:01:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:01:08 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:01:08 Alarms with pending videos found! 02/06 13:01:08 Next idalarmcra = 383830 02/06 13:01:08 DownloadVideos::DownloadVideoOfAlarm 02/06 13:01:08 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:01:08 SAM|1244 02/06 13:01:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130103_90.mp4|102024| 02/06 13:01:09 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130103_90.mp4 02/06 13:01:09 Date = 20190602 02/06 13:01:09 Construct from filename date 02/06 13:01:09 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130103_90.mp4 02/06 13:01:09 Destination file not found 02/06 13:01:09 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130103_90.mp4 02/06 13:01:09 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130103_90.mp4 02/06 13:01:14 DownloadFile ok... checking file destination 02/06 13:01:14 URLDownloadToFile ok 02/06 13:01:14 Video .sig downloaded ok! 02/06 13:01:14 Snapshot .sig downloaded ok! 02/06 13:01:14 Elapsed download time: 00:00:06 02/06 13:01:14 UpdateVideoname 02/06 13:01:14 Updating: idalarmcra = 383830 02/06 13:01:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383830 ORDER BY IDALARMCRA DESC 02/06 13:01:14 Just before Update() 02/06 13:01:14 Next idalarmcra = 383829 02/06 13:01:14 DownloadVideos::DownloadVideoOfAlarm 02/06 13:01:14 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:01:14 SAM|4694 02/06 13:01:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_130226_135.mp4|113497| 02/06 13:01:15 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_130226_135.mp4 02/06 13:01:15 Date = 20190602 02/06 13:01:15 Construct from filename date 02/06 13:01:15 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_130226_135.mp4 02/06 13:01:15 Destination file not found 02/06 13:01:15 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_130226_135.mp4 02/06 13:01:15 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_130226_135.mp4 02/06 13:01:17 DownloadFile ok... checking file destination 02/06 13:01:17 URLDownloadToFile ok 02/06 13:01:17 Video .sig downloaded ok! 02/06 13:01:17 Snapshot .sig downloaded ok! 02/06 13:01:17 Elapsed download time: 00:00:03 02/06 13:01:17 UpdateVideoname 02/06 13:01:17 Updating: idalarmcra = 383829 02/06 13:01:17 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383829 ORDER BY IDALARMCRA DESC 02/06 13:01:17 Just before Update() 02/06 13:01:17 Next idalarmcra = 383828 02/06 13:01:17 DownloadVideos::DownloadVideoOfAlarm 02/06 13:01:17 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:01:17 SAM|1243 02/06 13:01:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130053_79.mp4|100308| 02/06 13:01:18 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130053_79.mp4 02/06 13:01:18 Date = 20190602 02/06 13:01:18 Construct from filename date 02/06 13:01:18 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130053_79.mp4 02/06 13:01:18 Destination file not found 02/06 13:01:18 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130053_79.mp4 02/06 13:01:18 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130053_79.mp4 02/06 13:01:20 DownloadFile ok... checking file destination 02/06 13:01:20 URLDownloadToFile ok 02/06 13:01:20 Video .sig downloaded ok! 02/06 13:01:20 Snapshot .sig downloaded ok! 02/06 13:01:20 Elapsed download time: 00:00:03 02/06 13:01:20 UpdateVideoname 02/06 13:01:20 Updating: idalarmcra = 383828 02/06 13:01:20 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383828 ORDER BY IDALARMCRA DESC 02/06 13:01:20 Rollback executed. 02/06 13:01:20 RecordSet closed. 02/06 13:01:20 CheckDDBB 02/06 13:01:20 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:01:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:01:31 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:01:31 Alarms with pending videos found! 02/06 13:01:31 Next idalarmcra = 383832 02/06 13:01:31 DownloadVideos::DownloadVideoOfAlarm 02/06 13:01:31 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:01:31 SAM|1246 02/06 13:01:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130124_46.mp4|107750| 02/06 13:01:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130124_46.mp4 02/06 13:01:31 Date = 20190602 02/06 13:01:31 Construct from filename date 02/06 13:01:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130124_46.mp4 02/06 13:01:31 Destination file not found 02/06 13:01:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130124_46.mp4 02/06 13:01:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130124_46.mp4 02/06 13:01:34 DownloadFile ok... checking file destination 02/06 13:01:34 URLDownloadToFile ok 02/06 13:01:34 Video .sig downloaded ok! 02/06 13:01:34 Snapshot .sig downloaded ok! 02/06 13:01:34 Elapsed download time: 00:00:03 02/06 13:01:34 UpdateVideoname 02/06 13:01:34 Updating: idalarmcra = 383832 02/06 13:01:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383832 ORDER BY IDALARMCRA DESC 02/06 13:01:34 Just before Update() 02/06 13:01:34 Next idalarmcra = 383831 02/06 13:01:34 DownloadVideos::DownloadVideoOfAlarm 02/06 13:01:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:01:34 SAM|1245 02/06 13:01:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130116_163.mp4|114120| 02/06 13:01:34 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130116_163.mp4 02/06 13:01:34 Date = 20190602 02/06 13:01:34 Construct from filename date 02/06 13:01:34 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130116_163.mp4 02/06 13:01:34 Destination file not found 02/06 13:01:34 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130116_163.mp4 02/06 13:01:34 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130116_163.mp4 02/06 13:01:38 DownloadFile ok... checking file destination 02/06 13:01:38 URLDownloadToFile ok 02/06 13:01:38 Video .sig downloaded ok! 02/06 13:01:38 Snapshot .sig downloaded ok! 02/06 13:01:38 Elapsed download time: 00:00:04 02/06 13:01:38 UpdateVideoname 02/06 13:01:38 Updating: idalarmcra = 383831 02/06 13:01:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383831 ORDER BY IDALARMCRA DESC 02/06 13:01:38 Just before Update() 02/06 13:01:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:01:48 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:01:48 Alarms with pending videos found! 02/06 13:01:48 Next idalarmcra = 383833 02/06 13:01:48 DownloadVideos::DownloadVideoOfAlarm 02/06 13:01:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:01:48 SAM|1247 02/06 13:01:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130137_80.mp4|97799| 02/06 13:01:48 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130137_80.mp4 02/06 13:01:48 Date = 20190602 02/06 13:01:48 Construct from filename date 02/06 13:01:48 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130137_80.mp4 02/06 13:01:48 Destination file not found 02/06 13:01:48 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130137_80.mp4 02/06 13:01:48 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130137_80.mp4 02/06 13:01:51 DownloadFile ok... checking file destination 02/06 13:01:51 URLDownloadToFile ok 02/06 13:01:51 Video .sig downloaded ok! 02/06 13:01:51 Snapshot .sig downloaded ok! 02/06 13:01:51 Elapsed download time: 00:00:03 02/06 13:01:51 UpdateVideoname 02/06 13:01:51 Updating: idalarmcra = 383833 02/06 13:01:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383833 ORDER BY IDALARMCRA DESC 02/06 13:01:51 Just before Update() 02/06 13:02:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:02:01 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:02:01 Don't have work. 02/06 13:02:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:02:11 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:02:11 Alarms with pending videos found! 02/06 13:02:11 Next idalarmcra = 383835 02/06 13:02:11 DownloadVideos::DownloadVideoOfAlarm 02/06 13:02:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:02:11 SAM|4695 02/06 13:02:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:02:12 NOK answer received 02/06 13:02:12 UpdateVideoname 02/06 13:02:12 Updating: idalarmcra = 383835 02/06 13:02:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383835 ORDER BY IDALARMCRA DESC 02/06 13:02:12 Just before Update() 02/06 13:02:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:02:22 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:02:22 Alarms with pending videos found! 02/06 13:02:22 Next idalarmcra = 383835 02/06 13:02:22 DownloadVideos::DownloadVideoOfAlarm 02/06 13:02:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:02:22 SAM|4695 02/06 13:02:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_130334_136.mp4|113034| 02/06 13:02:23 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_130334_136.mp4 02/06 13:02:23 Date = 20190602 02/06 13:02:23 Construct from filename date 02/06 13:02:23 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_130334_136.mp4 02/06 13:02:23 Destination file not found 02/06 13:02:23 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_130334_136.mp4 02/06 13:02:23 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_130334_136.mp4 02/06 13:02:25 DownloadFile ok... checking file destination 02/06 13:02:25 URLDownloadToFile ok 02/06 13:02:25 Video .sig downloaded ok! 02/06 13:02:25 Snapshot .sig downloaded ok! 02/06 13:02:25 Elapsed download time: 00:00:03 02/06 13:02:26 UpdateVideoname 02/06 13:02:26 Updating: idalarmcra = 383835 02/06 13:02:26 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383835 ORDER BY IDALARMCRA DESC 02/06 13:02:26 Rollback executed. 02/06 13:02:26 RecordSet closed. 02/06 13:02:26 CheckDDBB 02/06 13:02:26 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:02:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:02:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:02:36 Don't have work. 02/06 13:02:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:02:46 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:02:46 Alarms with pending videos found! 02/06 13:02:46 Next idalarmcra = 383839 02/06 13:02:46 DownloadVideos::DownloadVideoOfAlarm 02/06 13:02:46 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:02:46 SAM|1249 02/06 13:02:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130238_47.mp4|113256| 02/06 13:02:46 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130238_47.mp4 02/06 13:02:46 Date = 20190602 02/06 13:02:46 Construct from filename date 02/06 13:02:46 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130238_47.mp4 02/06 13:02:46 Destination file not found 02/06 13:02:46 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130238_47.mp4 02/06 13:02:46 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130238_47.mp4 02/06 13:02:49 DownloadFile ok... checking file destination 02/06 13:02:49 URLDownloadToFile ok 02/06 13:02:50 Video .sig downloaded ok! 02/06 13:02:50 Snapshot .sig downloaded ok! 02/06 13:02:50 Elapsed download time: 00:00:04 02/06 13:02:50 UpdateVideoname 02/06 13:02:50 Updating: idalarmcra = 383839 02/06 13:02:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383839 ORDER BY IDALARMCRA DESC 02/06 13:02:50 Just before Update() 02/06 13:02:50 Next idalarmcra = 383838 02/06 13:02:50 DownloadVideos::DownloadVideoOfAlarm 02/06 13:02:50 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:02:50 SAM|1250 02/06 13:02:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130238_164.mp4|101644| 02/06 13:02:50 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130238_164.mp4 02/06 13:02:50 Date = 20190602 02/06 13:02:50 Construct from filename date 02/06 13:02:50 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130238_164.mp4 02/06 13:02:50 Destination file not found 02/06 13:02:50 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130238_164.mp4 02/06 13:02:50 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130238_164.mp4 02/06 13:02:53 DownloadFile ok... checking file destination 02/06 13:02:53 URLDownloadToFile ok 02/06 13:02:53 Video .sig downloaded ok! 02/06 13:02:53 Snapshot .sig downloaded ok! 02/06 13:02:53 Elapsed download time: 00:00:03 02/06 13:02:53 UpdateVideoname 02/06 13:02:53 Updating: idalarmcra = 383838 02/06 13:02:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383838 ORDER BY IDALARMCRA DESC 02/06 13:02:53 Just before Update() 02/06 13:02:53 Next idalarmcra = 383837 02/06 13:02:53 DownloadVideos::DownloadVideoOfAlarm 02/06 13:02:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:02:53 SAM|1248 02/06 13:02:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130237_91.mp4|106601| 02/06 13:02:54 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130237_91.mp4 02/06 13:02:54 Date = 20190602 02/06 13:02:54 Construct from filename date 02/06 13:02:54 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130237_91.mp4 02/06 13:02:54 Destination file not found 02/06 13:02:54 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130237_91.mp4 02/06 13:02:54 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130237_91.mp4 02/06 13:02:58 DownloadFile ok... checking file destination 02/06 13:02:58 URLDownloadToFile ok 02/06 13:02:58 Video .sig downloaded ok! 02/06 13:02:58 Snapshot .sig downloaded ok! 02/06 13:02:58 Elapsed download time: 00:00:05 02/06 13:02:58 UpdateVideoname 02/06 13:02:58 Updating: idalarmcra = 383837 02/06 13:02:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383837 ORDER BY IDALARMCRA DESC 02/06 13:02:58 Just before Update() 02/06 13:03:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:03:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:03:08 Don't have work. 02/06 13:03:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:03:18 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:03:18 Alarms with pending videos found! 02/06 13:03:18 Next idalarmcra = 383840 02/06 13:03:18 DownloadVideos::DownloadVideoOfAlarm 02/06 13:03:18 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:03:18 SAM|1251 02/06 13:03:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130311_92.mp4|107138| 02/06 13:03:19 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130311_92.mp4 02/06 13:03:19 Date = 20190602 02/06 13:03:19 Construct from filename date 02/06 13:03:19 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130311_92.mp4 02/06 13:03:19 Destination file not found 02/06 13:03:19 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130311_92.mp4 02/06 13:03:19 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130311_92.mp4 02/06 13:03:23 DownloadFile ok... checking file destination 02/06 13:03:23 URLDownloadToFile ok 02/06 13:03:23 Video .sig downloaded ok! 02/06 13:03:23 Snapshot .sig downloaded ok! 02/06 13:03:23 Elapsed download time: 00:00:05 02/06 13:03:23 UpdateVideoname 02/06 13:03:23 Updating: idalarmcra = 383840 02/06 13:03:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383840 ORDER BY IDALARMCRA DESC 02/06 13:03:23 Just before Update() 02/06 13:03:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:03:33 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:03:33 Alarms with pending videos found! 02/06 13:03:33 Next idalarmcra = 383841 02/06 13:03:33 DownloadVideos::DownloadVideoOfAlarm 02/06 13:03:33 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:03:33 SAM|1252 02/06 13:03:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130325_81.mp4|108208| 02/06 13:03:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130325_81.mp4 02/06 13:03:33 Date = 20190602 02/06 13:03:33 Construct from filename date 02/06 13:03:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130325_81.mp4 02/06 13:03:33 Destination file not found 02/06 13:03:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130325_81.mp4 02/06 13:03:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130325_81.mp4 02/06 13:03:39 DownloadFile ok... checking file destination 02/06 13:03:39 URLDownloadToFile ok 02/06 13:03:39 Video .sig downloaded ok! 02/06 13:03:39 Snapshot .sig downloaded ok! 02/06 13:03:39 Elapsed download time: 00:00:06 02/06 13:03:39 UpdateVideoname 02/06 13:03:39 Updating: idalarmcra = 383841 02/06 13:03:39 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383841 ORDER BY IDALARMCRA DESC 02/06 13:03:39 Rollback executed. 02/06 13:03:39 RecordSet closed. 02/06 13:03:39 CheckDDBB 02/06 13:03:39 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:03:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:03:49 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:03:49 Alarms with pending videos found! 02/06 13:03:49 Next idalarmcra = 383846 02/06 13:03:49 DownloadVideos::DownloadVideoOfAlarm 02/06 13:03:49 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:03:49 SAM|1073 02/06 13:03:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_130254_23.mp4|107215| 02/06 13:03:49 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_130254_23.mp4 02/06 13:03:49 Date = 20190602 02/06 13:03:49 Construct from filename date 02/06 13:03:49 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_130254_23.mp4 02/06 13:03:49 Destination file not found 02/06 13:03:49 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_130254_23.mp4 02/06 13:03:49 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_130254_23.mp4 02/06 13:03:50 DownloadFile ok... checking file destination 02/06 13:03:50 URLDownloadToFile ok 02/06 13:03:53 Video .sig downloaded ok! 02/06 13:03:53 Snapshot .sig downloaded ok! 02/06 13:03:53 Elapsed download time: 00:00:04 02/06 13:03:53 UpdateVideoname 02/06 13:03:53 Updating: idalarmcra = 383846 02/06 13:03:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383846 ORDER BY IDALARMCRA DESC 02/06 13:03:53 Just before Update() 02/06 13:03:53 Next idalarmcra = 383845 02/06 13:03:53 DownloadVideos::DownloadVideoOfAlarm 02/06 13:03:53 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:03:53 SAM|1072 02/06 13:03:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_130252_163.mp4|108933| 02/06 13:03:54 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_130252_163.mp4 02/06 13:03:54 Date = 20190602 02/06 13:03:54 Construct from filename date 02/06 13:03:54 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_130252_163.mp4 02/06 13:03:54 Destination file not found 02/06 13:03:54 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_130252_163.mp4 02/06 13:03:54 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_130252_163.mp4 02/06 13:03:54 DownloadFile ok... checking file destination 02/06 13:03:54 URLDownloadToFile ok 02/06 13:03:54 Video .sig downloaded ok! 02/06 13:03:54 Snapshot .sig downloaded ok! 02/06 13:03:54 Elapsed download time: 00:00:01 02/06 13:03:54 UpdateVideoname 02/06 13:03:54 Updating: idalarmcra = 383845 02/06 13:03:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383845 ORDER BY IDALARMCRA DESC 02/06 13:03:54 Just before Update() 02/06 13:03:54 Next idalarmcra = 383844 02/06 13:03:54 DownloadVideos::DownloadVideoOfAlarm 02/06 13:03:54 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:03:54 SAM|740 02/06 13:03:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_130335_104.mp4|113484| 02/06 13:03:54 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_130335_104.mp4 02/06 13:03:54 Date = 20190602 02/06 13:03:54 Construct from filename date 02/06 13:03:54 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_130335_104.mp4 02/06 13:03:54 Destination file not found 02/06 13:03:54 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_130335_104.mp4 02/06 13:03:54 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_130335_104.mp4 02/06 13:03:55 DownloadFile ok... checking file destination 02/06 13:03:55 URLDownloadToFile ok 02/06 13:03:55 Video .sig downloaded ok! 02/06 13:03:55 Snapshot .sig downloaded ok! 02/06 13:03:55 Elapsed download time: 00:00:01 02/06 13:03:55 UpdateVideoname 02/06 13:03:55 Updating: idalarmcra = 383844 02/06 13:03:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383844 ORDER BY IDALARMCRA DESC 02/06 13:03:55 Just before Update() 02/06 13:03:55 Next idalarmcra = 383843 02/06 13:03:55 DownloadVideos::DownloadVideoOfAlarm 02/06 13:03:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:03:55 SAM|1253 02/06 13:03:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130333_93.mp4|101001| 02/06 13:03:55 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130333_93.mp4 02/06 13:03:55 Date = 20190602 02/06 13:03:55 Construct from filename date 02/06 13:03:55 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130333_93.mp4 02/06 13:03:55 Destination file not found 02/06 13:03:55 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130333_93.mp4 02/06 13:03:55 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130333_93.mp4 02/06 13:03:58 DownloadFile ok... checking file destination 02/06 13:03:58 URLDownloadToFile ok 02/06 13:03:58 Video .sig downloaded ok! 02/06 13:03:58 Snapshot .sig downloaded ok! 02/06 13:03:58 Elapsed download time: 00:00:03 02/06 13:03:58 UpdateVideoname 02/06 13:03:58 Updating: idalarmcra = 383843 02/06 13:03:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383843 ORDER BY IDALARMCRA DESC 02/06 13:03:58 Just before Update() 02/06 13:03:58 Next idalarmcra = 383842 02/06 13:03:58 DownloadVideos::DownloadVideoOfAlarm 02/06 13:03:58 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:03:58 SAM|1071 02/06 13:03:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_130247_410.mp4|110899| 02/06 13:03:59 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_130247_410.mp4 02/06 13:03:59 Date = 20190602 02/06 13:03:59 Construct from filename date 02/06 13:03:59 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_130247_410.mp4 02/06 13:03:59 Destination file not found 02/06 13:03:59 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_130247_410.mp4 02/06 13:03:59 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_130247_410.mp4 02/06 13:03:59 DownloadFile ok... checking file destination 02/06 13:03:59 URLDownloadToFile ok 02/06 13:03:59 Video .sig downloaded ok! 02/06 13:03:59 Snapshot .sig downloaded ok! 02/06 13:03:59 Elapsed download time: 00:00:01 02/06 13:03:59 UpdateVideoname 02/06 13:03:59 Updating: idalarmcra = 383842 02/06 13:03:59 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383842 ORDER BY IDALARMCRA DESC 02/06 13:03:59 Rollback executed. 02/06 13:03:59 RecordSet closed. 02/06 13:03:59 CheckDDBB 02/06 13:03:59 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:04:09 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:04:09 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:04:09 Don't have work. 02/06 13:04:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:04:19 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:04:19 Alarms with pending videos found! 02/06 13:04:19 Next idalarmcra = 383848 02/06 13:04:19 DownloadVideos::DownloadVideoOfAlarm 02/06 13:04:19 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:04:19 SAM|1254 02/06 13:04:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:04:20 NOK answer received 02/06 13:04:20 UpdateVideoname 02/06 13:04:20 Updating: idalarmcra = 383848 02/06 13:04:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383848 ORDER BY IDALARMCRA DESC 02/06 13:04:20 Just before Update() 02/06 13:04:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:04:30 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:04:30 Alarms with pending videos found! 02/06 13:04:30 Next idalarmcra = 383848 02/06 13:04:30 DownloadVideos::DownloadVideoOfAlarm 02/06 13:04:30 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:04:30 SAM|1254 02/06 13:04:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130415_165.mp4|107429| 02/06 13:04:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130415_165.mp4 02/06 13:04:31 Date = 20190602 02/06 13:04:31 Construct from filename date 02/06 13:04:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130415_165.mp4 02/06 13:04:31 Destination file not found 02/06 13:04:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130415_165.mp4 02/06 13:04:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130415_165.mp4 02/06 13:04:34 DownloadFile ok... checking file destination 02/06 13:04:34 URLDownloadToFile ok 02/06 13:04:34 Video .sig downloaded ok! 02/06 13:04:35 Snapshot .sig downloaded ok! 02/06 13:04:35 Elapsed download time: 00:00:05 02/06 13:04:35 UpdateVideoname 02/06 13:04:35 Updating: idalarmcra = 383848 02/06 13:04:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383848 ORDER BY IDALARMCRA DESC 02/06 13:04:35 Just before Update() 02/06 13:04:45 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:04:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:04:45 Don't have work. 02/06 13:04:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:04:55 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:05:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:05:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:05:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:05:15 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:05:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:05:25 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:05:25 Alarms with pending videos found! 02/06 13:05:25 Next idalarmcra = 383850 02/06 13:05:25 DownloadVideos::DownloadVideoOfAlarm 02/06 13:05:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 13:05:25 SAM|22943 02/06 13:05:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_130526_38.mp4|112103| 02/06 13:05:26 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_130526_38.mp4 02/06 13:05:26 Date = 20190602 02/06 13:05:26 Construct from filename date 02/06 13:05:26 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_130526_38.mp4 02/06 13:05:26 Destination file not found 02/06 13:05:26 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_130526_38.mp4 02/06 13:05:26 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_130526_38.mp4 02/06 13:05:27 DownloadFile ok... checking file destination 02/06 13:05:27 URLDownloadToFile ok 02/06 13:05:27 Video .sig downloaded ok! 02/06 13:05:27 Snapshot .sig downloaded ok! 02/06 13:05:27 Elapsed download time: 00:00:02 02/06 13:05:27 UpdateVideoname 02/06 13:05:27 Updating: idalarmcra = 383850 02/06 13:05:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383850 ORDER BY IDALARMCRA DESC 02/06 13:05:27 Just before Update() 02/06 13:05:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:05:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:05:37 Don't have work. 02/06 13:05:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:05:47 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:05:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:05:57 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:05:57 Alarms with pending videos found! 02/06 13:05:57 Next idalarmcra = 383852 02/06 13:05:57 DownloadVideos::DownloadVideoOfAlarm 02/06 13:05:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:05:57 SAM|1256 02/06 13:05:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130551_94.mp4|98677| 02/06 13:05:58 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130551_94.mp4 02/06 13:05:58 Date = 20190602 02/06 13:05:58 Construct from filename date 02/06 13:05:58 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130551_94.mp4 02/06 13:05:58 Destination file not found 02/06 13:05:58 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130551_94.mp4 02/06 13:05:58 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130551_94.mp4 02/06 13:05:58 DownloadFile ok... checking file destination 02/06 13:05:58 URLDownloadToFile ok 02/06 13:05:58 Video .sig downloaded ok! 02/06 13:05:58 Snapshot .sig downloaded ok! 02/06 13:05:58 Elapsed download time: 00:00:01 02/06 13:05:58 UpdateVideoname 02/06 13:05:58 Updating: idalarmcra = 383852 02/06 13:05:58 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383852 ORDER BY IDALARMCRA DESC 02/06 13:05:58 Just before Update() 02/06 13:05:58 Next idalarmcra = 383851 02/06 13:05:58 DownloadVideos::DownloadVideoOfAlarm 02/06 13:05:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:05:58 SAM|1255 02/06 13:05:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130547_82.mp4|105441| 02/06 13:05:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130547_82.mp4 02/06 13:05:59 Date = 20190602 02/06 13:05:59 Construct from filename date 02/06 13:05:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130547_82.mp4 02/06 13:05:59 Destination file not found 02/06 13:05:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130547_82.mp4 02/06 13:05:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130547_82.mp4 02/06 13:05:59 DownloadFile ok... checking file destination 02/06 13:05:59 URLDownloadToFile ok 02/06 13:05:59 Video .sig downloaded ok! 02/06 13:05:59 Snapshot .sig downloaded ok! 02/06 13:05:59 Elapsed download time: 00:00:01 02/06 13:05:59 UpdateVideoname 02/06 13:05:59 Updating: idalarmcra = 383851 02/06 13:05:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383851 ORDER BY IDALARMCRA DESC 02/06 13:05:59 Just before Update() 02/06 13:06:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:06:09 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:06:09 Alarms with pending videos found! 02/06 13:06:09 Next idalarmcra = 383853 02/06 13:06:09 DownloadVideos::DownloadVideoOfAlarm 02/06 13:06:09 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:06:09 SAM|1257 02/06 13:06:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130604_95.mp4|101489| 02/06 13:06:10 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130604_95.mp4 02/06 13:06:10 Date = 20190602 02/06 13:06:10 Construct from filename date 02/06 13:06:10 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130604_95.mp4 02/06 13:06:10 Destination file not found 02/06 13:06:10 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130604_95.mp4 02/06 13:06:10 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130604_95.mp4 02/06 13:06:10 DownloadFile ok... checking file destination 02/06 13:06:10 URLDownloadToFile ok 02/06 13:06:10 Video .sig downloaded ok! 02/06 13:06:11 Snapshot .sig downloaded ok! 02/06 13:06:11 Elapsed download time: 00:00:02 02/06 13:06:11 UpdateVideoname 02/06 13:06:11 Updating: idalarmcra = 383853 02/06 13:06:11 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383853 ORDER BY IDALARMCRA DESC 02/06 13:06:11 Just before Update() 02/06 13:06:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:06:21 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:06:21 Alarms with pending videos found! 02/06 13:06:21 Next idalarmcra = 383855 02/06 13:06:21 DownloadVideos::DownloadVideoOfAlarm 02/06 13:06:21 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:06:21 SAM|1259 02/06 13:06:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130611_166.mp4|112914| 02/06 13:06:21 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130611_166.mp4 02/06 13:06:21 Date = 20190602 02/06 13:06:21 Construct from filename date 02/06 13:06:21 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130611_166.mp4 02/06 13:06:21 Destination file not found 02/06 13:06:21 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130611_166.mp4 02/06 13:06:21 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130611_166.mp4 02/06 13:06:21 DownloadFile ok... checking file destination 02/06 13:06:21 URLDownloadToFile ok 02/06 13:06:22 Video .sig downloaded ok! 02/06 13:06:22 Snapshot .sig downloaded ok! 02/06 13:06:22 Elapsed download time: 00:00:01 02/06 13:06:22 UpdateVideoname 02/06 13:06:22 Updating: idalarmcra = 383855 02/06 13:06:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383855 ORDER BY IDALARMCRA DESC 02/06 13:06:22 Just before Update() 02/06 13:06:22 Next idalarmcra = 383854 02/06 13:06:22 DownloadVideos::DownloadVideoOfAlarm 02/06 13:06:22 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:06:22 SAM|1258 02/06 13:06:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130609_83.mp4|105381| 02/06 13:06:22 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130609_83.mp4 02/06 13:06:22 Date = 20190602 02/06 13:06:22 Construct from filename date 02/06 13:06:22 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130609_83.mp4 02/06 13:06:22 Destination file not found 02/06 13:06:22 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130609_83.mp4 02/06 13:06:22 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130609_83.mp4 02/06 13:06:23 DownloadFile ok... checking file destination 02/06 13:06:23 URLDownloadToFile ok 02/06 13:06:23 Video .sig downloaded ok! 02/06 13:06:23 Snapshot .sig downloaded ok! 02/06 13:06:23 Elapsed download time: 00:00:01 02/06 13:06:23 UpdateVideoname 02/06 13:06:23 Updating: idalarmcra = 383854 02/06 13:06:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383854 ORDER BY IDALARMCRA DESC 02/06 13:06:23 Just before Update() 02/06 13:06:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:06:33 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:06:33 Alarms with pending videos found! 02/06 13:06:33 Next idalarmcra = 383856 02/06 13:06:33 DownloadVideos::DownloadVideoOfAlarm 02/06 13:06:33 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:06:33 SAM|1260 02/06 13:06:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130621_48.mp4|111370| 02/06 13:06:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130621_48.mp4 02/06 13:06:33 Date = 20190602 02/06 13:06:33 Construct from filename date 02/06 13:06:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130621_48.mp4 02/06 13:06:33 Destination file not found 02/06 13:06:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130621_48.mp4 02/06 13:06:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130621_48.mp4 02/06 13:06:34 DownloadFile ok... checking file destination 02/06 13:06:34 URLDownloadToFile ok 02/06 13:06:34 Video .sig downloaded ok! 02/06 13:06:34 Snapshot .sig downloaded ok! 02/06 13:06:34 Elapsed download time: 00:00:01 02/06 13:06:34 UpdateVideoname 02/06 13:06:34 Updating: idalarmcra = 383856 02/06 13:06:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383856 ORDER BY IDALARMCRA DESC 02/06 13:06:34 Just before Update() 02/06 13:06:44 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:06:44 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:06:44 Don't have work. 02/06 13:06:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:06:54 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:06:54 Alarms with pending videos found! 02/06 13:06:54 Next idalarmcra = 383858 02/06 13:06:54 DownloadVideos::DownloadVideoOfAlarm 02/06 13:06:54 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:06:54 SAM|1074 02/06 13:06:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_130602_411.mp4|108094| 02/06 13:06:54 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_130602_411.mp4 02/06 13:06:54 Date = 20190602 02/06 13:06:54 Construct from filename date 02/06 13:06:54 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_130602_411.mp4 02/06 13:06:54 Destination file not found 02/06 13:06:54 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_130602_411.mp4 02/06 13:06:54 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_130602_411.mp4 02/06 13:06:58 DownloadFile ok... checking file destination 02/06 13:06:58 URLDownloadToFile ok 02/06 13:06:58 Video .sig downloaded ok! 02/06 13:06:58 Snapshot .sig downloaded ok! 02/06 13:06:58 Elapsed download time: 00:00:04 02/06 13:06:58 UpdateVideoname 02/06 13:06:58 Updating: idalarmcra = 383858 02/06 13:06:58 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383858 ORDER BY IDALARMCRA DESC 02/06 13:06:58 Just before Update() 02/06 13:07:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:07:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:07:08 Don't have work. 02/06 13:07:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:07:18 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:07:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:07:28 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:07:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:07:38 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:07:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:07:48 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:07:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:07:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:08:09 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:08:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:08:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:08:19 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:08:19 Alarms with pending videos found! 02/06 13:08:19 Next idalarmcra = 383860 02/06 13:08:19 DownloadVideos::DownloadVideoOfAlarm 02/06 13:08:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:08:19 SAM|1261 02/06 13:08:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130812_84.mp4|108120| 02/06 13:08:19 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130812_84.mp4 02/06 13:08:19 Date = 20190602 02/06 13:08:19 Construct from filename date 02/06 13:08:19 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130812_84.mp4 02/06 13:08:19 Destination file not found 02/06 13:08:19 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130812_84.mp4 02/06 13:08:19 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130812_84.mp4 02/06 13:08:20 DownloadFile ok... checking file destination 02/06 13:08:20 URLDownloadToFile ok 02/06 13:08:20 Video .sig downloaded ok! 02/06 13:08:20 Snapshot .sig downloaded ok! 02/06 13:08:20 Elapsed download time: 00:00:01 02/06 13:08:20 UpdateVideoname 02/06 13:08:20 Updating: idalarmcra = 383860 02/06 13:08:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383860 ORDER BY IDALARMCRA DESC 02/06 13:08:20 Just before Update() 02/06 13:08:20 Next idalarmcra = 383859 02/06 13:08:20 DownloadVideos::DownloadVideoOfAlarm 02/06 13:08:20 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:08:20 SAM|1262 02/06 13:08:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130812_96.mp4|105807| 02/06 13:08:20 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130812_96.mp4 02/06 13:08:20 Date = 20190602 02/06 13:08:20 Construct from filename date 02/06 13:08:20 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130812_96.mp4 02/06 13:08:20 Destination file not found 02/06 13:08:20 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130812_96.mp4 02/06 13:08:20 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130812_96.mp4 02/06 13:08:21 DownloadFile ok... checking file destination 02/06 13:08:21 URLDownloadToFile ok 02/06 13:08:21 Video .sig downloaded ok! 02/06 13:08:21 Snapshot .sig downloaded ok! 02/06 13:08:21 Elapsed download time: 00:00:01 02/06 13:08:21 UpdateVideoname 02/06 13:08:21 Updating: idalarmcra = 383859 02/06 13:08:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383859 ORDER BY IDALARMCRA DESC 02/06 13:08:21 Just before Update() 02/06 13:08:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:08:31 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:08:31 Alarms with pending videos found! 02/06 13:08:31 Next idalarmcra = 383861 02/06 13:08:31 DownloadVideos::DownloadVideoOfAlarm 02/06 13:08:31 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:08:31 SAM|1263 02/06 13:08:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130814_167.mp4|107176| 02/06 13:08:32 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130814_167.mp4 02/06 13:08:32 Date = 20190602 02/06 13:08:32 Construct from filename date 02/06 13:08:32 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130814_167.mp4 02/06 13:08:32 Destination file not found 02/06 13:08:32 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130814_167.mp4 02/06 13:08:32 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_130814_167.mp4 02/06 13:08:32 DownloadFile ok... checking file destination 02/06 13:08:32 URLDownloadToFile ok 02/06 13:08:32 Video .sig downloaded ok! 02/06 13:08:32 Snapshot .sig downloaded ok! 02/06 13:08:32 Elapsed download time: 00:00:01 02/06 13:08:32 UpdateVideoname 02/06 13:08:32 Updating: idalarmcra = 383861 02/06 13:08:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383861 ORDER BY IDALARMCRA DESC 02/06 13:08:32 Just before Update() 02/06 13:08:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:08:42 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:08:42 Alarms with pending videos found! 02/06 13:08:42 Next idalarmcra = 383862 02/06 13:08:42 DownloadVideos::DownloadVideoOfAlarm 02/06 13:08:42 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:08:42 SAM|1264 02/06 13:08:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130825_49.mp4|115207| 02/06 13:08:43 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130825_49.mp4 02/06 13:08:43 Date = 20190602 02/06 13:08:43 Construct from filename date 02/06 13:08:43 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130825_49.mp4 02/06 13:08:43 Destination file not found 02/06 13:08:43 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130825_49.mp4 02/06 13:08:43 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_130825_49.mp4 02/06 13:08:43 DownloadFile ok... checking file destination 02/06 13:08:43 URLDownloadToFile ok 02/06 13:08:43 Video .sig downloaded ok! 02/06 13:08:43 Snapshot .sig downloaded ok! 02/06 13:08:43 Elapsed download time: 00:00:01 02/06 13:08:43 UpdateVideoname 02/06 13:08:43 Updating: idalarmcra = 383862 02/06 13:08:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383862 ORDER BY IDALARMCRA DESC 02/06 13:08:43 Just before Update() 02/06 13:08:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:08:53 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:08:53 Alarms with pending videos found! 02/06 13:08:53 Next idalarmcra = 383863 02/06 13:08:53 DownloadVideos::DownloadVideoOfAlarm 02/06 13:08:53 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 14 02/06 13:08:53 SAM|18041 02/06 13:08:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_130838_8.mp4|91135| 02/06 13:08:54 FilenameSrc = 20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_130838_8.mp4 02/06 13:08:54 Date = 20190602 02/06 13:08:54 Construct from filename date 02/06 13:08:54 Destination: c:\Davantis\CRAServer\\SITE_14\\20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_130838_8.mp4 02/06 13:08:54 Destination file not found 02/06 13:08:54 http://192.168.33.101:21001/20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_130838_8.mp4 02/06 13:08:54 c:\Davantis\CRAServer\\SITE_14\\20190602\\SiteDGS_VA_MANISA_B_Cam4_Event2_20190602_130838_8.mp4 02/06 13:08:55 DownloadFile ok... checking file destination 02/06 13:08:55 URLDownloadToFile ok 02/06 13:08:55 Video .sig downloaded ok! 02/06 13:08:55 Snapshot .sig downloaded ok! 02/06 13:08:55 Elapsed download time: 00:00:02 02/06 13:08:55 UpdateVideoname 02/06 13:08:55 Updating: idalarmcra = 383863 02/06 13:08:55 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383863 ORDER BY IDALARMCRA DESC 02/06 13:08:55 Just before Update() 02/06 13:09:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:09:05 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:09:05 Alarms with pending videos found! 02/06 13:09:05 Next idalarmcra = 383866 02/06 13:09:05 DownloadVideos::DownloadVideoOfAlarm 02/06 13:09:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 13:09:05 SAM|163127 02/06 13:09:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:09:06 NOK answer received 02/06 13:09:06 UpdateVideoname 02/06 13:09:06 Updating: idalarmcra = 383866 02/06 13:09:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383866 ORDER BY IDALARMCRA DESC 02/06 13:09:06 Just before Update() 02/06 13:09:06 Next idalarmcra = 383865 02/06 13:09:06 DownloadVideos::DownloadVideoOfAlarm 02/06 13:09:06 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 54 02/06 13:09:06 SAM|858 02/06 13:09:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_130923_2.mp4|114392| 02/06 13:09:07 FilenameSrc = 20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_130923_2.mp4 02/06 13:09:07 Date = 20190602 02/06 13:09:07 Construct from filename date 02/06 13:09:07 Destination: c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_130923_2.mp4 02/06 13:09:07 Destination file not found 02/06 13:09:07 http://78.189.92.233:21001/20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_130923_2.mp4 02/06 13:09:07 c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_130923_2.mp4 02/06 13:09:10 DownloadFile ok... checking file destination 02/06 13:09:10 URLDownloadToFile ok 02/06 13:09:11 Video .sig downloaded ok! 02/06 13:09:11 Snapshot .sig downloaded ok! 02/06 13:09:11 Elapsed download time: 00:00:05 02/06 13:09:11 UpdateVideoname 02/06 13:09:11 Updating: idalarmcra = 383865 02/06 13:09:11 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383865 ORDER BY IDALARMCRA DESC 02/06 13:09:11 Rollback executed. 02/06 13:09:11 RecordSet closed. 02/06 13:09:11 CheckDDBB 02/06 13:09:11 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:09:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:09:22 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:09:22 Don't have work. 02/06 13:09:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:09:32 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:09:32 Alarms with pending videos found! 02/06 13:09:32 Next idalarmcra = 383867 02/06 13:09:32 DownloadVideos::DownloadVideoOfAlarm 02/06 13:09:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:09:32 SAM|1265 02/06 13:09:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:09:32 NOK answer received 02/06 13:09:32 UpdateVideoname 02/06 13:09:32 Updating: idalarmcra = 383867 02/06 13:09:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383867 ORDER BY IDALARMCRA DESC 02/06 13:09:32 Just before Update() 02/06 13:09:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:09:42 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:09:42 Alarms with pending videos found! 02/06 13:09:42 Next idalarmcra = 383869 02/06 13:09:42 DownloadVideos::DownloadVideoOfAlarm 02/06 13:09:42 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:09:42 SAM|1267 02/06 13:09:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:09:43 NOK answer received 02/06 13:09:43 UpdateVideoname 02/06 13:09:43 Updating: idalarmcra = 383869 02/06 13:09:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383869 ORDER BY IDALARMCRA DESC 02/06 13:09:43 Just before Update() 02/06 13:09:43 Next idalarmcra = 383868 02/06 13:09:43 DownloadVideos::DownloadVideoOfAlarm 02/06 13:09:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:09:43 SAM|1266 02/06 13:09:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130935_85.mp4|109161| 02/06 13:09:43 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130935_85.mp4 02/06 13:09:43 Date = 20190602 02/06 13:09:43 Construct from filename date 02/06 13:09:43 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130935_85.mp4 02/06 13:09:43 Destination file not found 02/06 13:09:43 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130935_85.mp4 02/06 13:09:43 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_130935_85.mp4 02/06 13:09:43 DownloadFile ok... checking file destination 02/06 13:09:43 URLDownloadToFile ok 02/06 13:09:44 Video .sig downloaded ok! 02/06 13:09:44 Snapshot .sig downloaded ok! 02/06 13:09:44 Elapsed download time: 00:00:01 02/06 13:09:44 UpdateVideoname 02/06 13:09:44 Updating: idalarmcra = 383868 02/06 13:09:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383868 ORDER BY IDALARMCRA DESC 02/06 13:09:44 Just before Update() 02/06 13:09:44 Next idalarmcra = 383867 02/06 13:09:44 DownloadVideos::DownloadVideoOfAlarm 02/06 13:09:44 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:09:44 SAM|1265 02/06 13:09:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130928_97.mp4|100914| 02/06 13:09:44 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130928_97.mp4 02/06 13:09:44 Date = 20190602 02/06 13:09:44 Construct from filename date 02/06 13:09:44 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130928_97.mp4 02/06 13:09:44 Destination file not found 02/06 13:09:44 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130928_97.mp4 02/06 13:09:44 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_130928_97.mp4 02/06 13:09:45 DownloadFile ok... checking file destination 02/06 13:09:45 URLDownloadToFile ok 02/06 13:09:45 Video .sig downloaded ok! 02/06 13:09:45 Snapshot .sig downloaded ok! 02/06 13:09:45 Elapsed download time: 00:00:01 02/06 13:09:45 UpdateVideoname 02/06 13:09:45 Updating: idalarmcra = 383867 02/06 13:09:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383867 ORDER BY IDALARMCRA DESC 02/06 13:09:45 Just before Update() 02/06 13:09:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:09:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:09:55 Don't have work. 02/06 13:10:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:10:05 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:10:05 Alarms with pending videos found! 02/06 13:10:05 Next idalarmcra = 383871 02/06 13:10:05 DownloadVideos::DownloadVideoOfAlarm 02/06 13:10:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 13:10:05 SAM|2072 02/06 13:10:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_130959_97.mp4|111004| 02/06 13:10:06 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_130959_97.mp4 02/06 13:10:06 Date = 20190602 02/06 13:10:06 Construct from filename date 02/06 13:10:06 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_130959_97.mp4 02/06 13:10:06 Destination file not found 02/06 13:10:06 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_130959_97.mp4 02/06 13:10:06 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_130959_97.mp4 02/06 13:10:07 DownloadFile ok... checking file destination 02/06 13:10:07 URLDownloadToFile ok 02/06 13:10:08 Video .sig downloaded ok! 02/06 13:10:08 Snapshot .sig downloaded ok! 02/06 13:10:08 Elapsed download time: 00:00:03 02/06 13:10:08 UpdateVideoname 02/06 13:10:08 Updating: idalarmcra = 383871 02/06 13:10:08 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383871 ORDER BY IDALARMCRA DESC 02/06 13:10:08 Just before Update() 02/06 13:10:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:10:18 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:10:18 Alarms with pending videos found! 02/06 13:10:18 Next idalarmcra = 383872 02/06 13:10:18 DownloadVideos::DownloadVideoOfAlarm 02/06 13:10:18 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 54 02/06 13:10:18 SAM|859 02/06 13:10:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_131038_3.mp4|114699| 02/06 13:10:19 FilenameSrc = 20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_131038_3.mp4 02/06 13:10:19 Date = 20190602 02/06 13:10:19 Construct from filename date 02/06 13:10:19 Destination: c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_131038_3.mp4 02/06 13:10:19 Destination file not found 02/06 13:10:19 http://78.189.92.233:21001/20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_131038_3.mp4 02/06 13:10:19 c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_131038_3.mp4 02/06 13:10:25 DownloadFile ok... checking file destination 02/06 13:10:25 URLDownloadToFile ok 02/06 13:10:26 Video .sig downloaded ok! 02/06 13:10:26 Snapshot .sig downloaded ok! 02/06 13:10:26 Elapsed download time: 00:00:08 02/06 13:10:26 UpdateVideoname 02/06 13:10:26 Updating: idalarmcra = 383872 02/06 13:10:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383872 ORDER BY IDALARMCRA DESC 02/06 13:10:26 Just before Update() 02/06 13:10:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:10:36 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:10:36 Alarms with pending videos found! 02/06 13:10:36 Next idalarmcra = 383873 02/06 13:10:36 DownloadVideos::DownloadVideoOfAlarm 02/06 13:10:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:10:37 SAM|1268 02/06 13:10:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_131022_50.mp4|113127| 02/06 13:10:37 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_131022_50.mp4 02/06 13:10:37 Date = 20190602 02/06 13:10:37 Construct from filename date 02/06 13:10:37 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_131022_50.mp4 02/06 13:10:37 Destination file not found 02/06 13:10:37 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_131022_50.mp4 02/06 13:10:37 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_131022_50.mp4 02/06 13:10:37 DownloadFile ok... checking file destination 02/06 13:10:37 URLDownloadToFile ok 02/06 13:10:37 Video .sig downloaded ok! 02/06 13:10:37 Snapshot .sig downloaded ok! 02/06 13:10:37 Elapsed download time: 00:00:00 02/06 13:10:37 UpdateVideoname 02/06 13:10:37 Updating: idalarmcra = 383873 02/06 13:10:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383873 ORDER BY IDALARMCRA DESC 02/06 13:10:37 Just before Update() 02/06 13:10:47 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:10:47 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:10:47 Don't have work. 02/06 13:10:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:10:57 [D] Query(29ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:10:57 Alarms with pending videos found! 02/06 13:10:57 Next idalarmcra = 383874 02/06 13:10:57 DownloadVideos::DownloadVideoOfAlarm 02/06 13:10:57 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:10:58 SAM|1269 02/06 13:10:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131046_98.mp4|100078| 02/06 13:10:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131046_98.mp4 02/06 13:10:59 Date = 20190602 02/06 13:10:59 Construct from filename date 02/06 13:10:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131046_98.mp4 02/06 13:10:59 Destination file not found 02/06 13:10:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131046_98.mp4 02/06 13:10:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131046_98.mp4 02/06 13:10:59 DownloadFile ok... checking file destination 02/06 13:10:59 URLDownloadToFile ok 02/06 13:10:59 Video .sig downloaded ok! 02/06 13:10:59 Snapshot .sig downloaded ok! 02/06 13:10:59 Elapsed download time: 00:00:01 02/06 13:10:59 UpdateVideoname 02/06 13:10:59 Updating: idalarmcra = 383874 02/06 13:10:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383874 ORDER BY IDALARMCRA DESC 02/06 13:10:59 Just before Update() 02/06 13:11:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:11:09 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:11:09 Alarms with pending videos found! 02/06 13:11:09 Next idalarmcra = 383876 02/06 13:11:09 DownloadVideos::DownloadVideoOfAlarm 02/06 13:11:09 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 13:11:09 SAM|22944 02/06 13:11:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_131117_39.mp4|111484| 02/06 13:11:10 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_131117_39.mp4 02/06 13:11:10 Date = 20190602 02/06 13:11:10 Construct from filename date 02/06 13:11:10 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_131117_39.mp4 02/06 13:11:10 Destination file not found 02/06 13:11:10 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_131117_39.mp4 02/06 13:11:10 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_131117_39.mp4 02/06 13:11:11 DownloadFile ok... checking file destination 02/06 13:11:11 URLDownloadToFile ok 02/06 13:11:12 Video .sig downloaded ok! 02/06 13:11:12 Snapshot .sig downloaded ok! 02/06 13:11:12 Elapsed download time: 00:00:03 02/06 13:11:12 UpdateVideoname 02/06 13:11:12 Updating: idalarmcra = 383876 02/06 13:11:12 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383876 ORDER BY IDALARMCRA DESC 02/06 13:11:12 Rollback executed. 02/06 13:11:12 RecordSet closed. 02/06 13:11:12 CheckDDBB 02/06 13:11:12 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:11:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:11:22 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:11:22 Alarms with pending videos found! 02/06 13:11:22 Next idalarmcra = 383877 02/06 13:11:22 DownloadVideos::DownloadVideoOfAlarm 02/06 13:11:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:11:22 SAM|1271 02/06 13:11:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131113_99.mp4|100227| 02/06 13:11:23 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131113_99.mp4 02/06 13:11:23 Date = 20190602 02/06 13:11:23 Construct from filename date 02/06 13:11:23 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131113_99.mp4 02/06 13:11:23 Destination file not found 02/06 13:11:23 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131113_99.mp4 02/06 13:11:23 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131113_99.mp4 02/06 13:11:23 DownloadFile ok... checking file destination 02/06 13:11:23 URLDownloadToFile ok 02/06 13:11:23 Video .sig downloaded ok! 02/06 13:11:23 Snapshot .sig downloaded ok! 02/06 13:11:23 Elapsed download time: 00:00:01 02/06 13:11:23 UpdateVideoname 02/06 13:11:23 Updating: idalarmcra = 383877 02/06 13:11:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383877 ORDER BY IDALARMCRA DESC 02/06 13:11:23 Just before Update() 02/06 13:11:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:11:33 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:11:33 Don't have work. 02/06 13:11:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:11:43 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:11:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:11:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:12:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:12:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:12:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:12:14 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:12:14 Alarms with pending videos found! 02/06 13:12:14 Next idalarmcra = 383881 02/06 13:12:14 DownloadVideos::DownloadVideoOfAlarm 02/06 13:12:14 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:12:14 SAM|4696 02/06 13:12:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:12:14 NOK answer received 02/06 13:12:14 UpdateVideoname 02/06 13:12:14 Updating: idalarmcra = 383881 02/06 13:12:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383881 ORDER BY IDALARMCRA DESC 02/06 13:12:14 Just before Update() 02/06 13:12:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:12:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:12:24 Don't have work. 02/06 13:12:34 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:12:34 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:12:34 Alarms with pending videos found! 02/06 13:12:34 Next idalarmcra = 383882 02/06 13:12:34 DownloadVideos::DownloadVideoOfAlarm 02/06 13:12:34 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:12:34 SAM|4697 02/06 13:12:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_131348_137.mp4|112006| 02/06 13:12:35 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_131348_137.mp4 02/06 13:12:35 Date = 20190602 02/06 13:12:35 Construct from filename date 02/06 13:12:35 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_131348_137.mp4 02/06 13:12:35 Destination file not found 02/06 13:12:35 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_131348_137.mp4 02/06 13:12:35 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_131348_137.mp4 02/06 13:12:37 DownloadFile ok... checking file destination 02/06 13:12:37 URLDownloadToFile ok 02/06 13:12:37 Video .sig downloaded ok! 02/06 13:12:38 Snapshot .sig downloaded ok! 02/06 13:12:38 Elapsed download time: 00:00:04 02/06 13:12:38 UpdateVideoname 02/06 13:12:38 Updating: idalarmcra = 383882 02/06 13:12:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383882 ORDER BY IDALARMCRA DESC 02/06 13:12:38 Just before Update() 02/06 13:12:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:12:48 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:12:48 Alarms with pending videos found! 02/06 13:12:48 Next idalarmcra = 383883 02/06 13:12:48 DownloadVideos::DownloadVideoOfAlarm 02/06 13:12:48 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:12:48 SAM|4698 02/06 13:12:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:12:48 NOK answer received 02/06 13:12:48 UpdateVideoname 02/06 13:12:48 Updating: idalarmcra = 383883 02/06 13:12:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383883 ORDER BY IDALARMCRA DESC 02/06 13:12:48 Just before Update() 02/06 13:12:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:12:58 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:12:58 Alarms with pending videos found! 02/06 13:12:58 Next idalarmcra = 383883 02/06 13:12:58 DownloadVideos::DownloadVideoOfAlarm 02/06 13:12:59 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:12:59 SAM|4698 02/06 13:12:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_131409_138.mp4|115551| 02/06 13:12:59 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_131409_138.mp4 02/06 13:12:59 Date = 20190602 02/06 13:12:59 Construct from filename date 02/06 13:12:59 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_131409_138.mp4 02/06 13:12:59 Destination file not found 02/06 13:12:59 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_131409_138.mp4 02/06 13:12:59 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_131409_138.mp4 02/06 13:13:01 DownloadFile ok... checking file destination 02/06 13:13:01 URLDownloadToFile ok 02/06 13:13:01 Video .sig downloaded ok! 02/06 13:13:01 Snapshot .sig downloaded ok! 02/06 13:13:01 Elapsed download time: 00:00:02 02/06 13:13:01 UpdateVideoname 02/06 13:13:01 Updating: idalarmcra = 383883 02/06 13:13:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383883 ORDER BY IDALARMCRA DESC 02/06 13:13:01 Just before Update() 02/06 13:13:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:13:11 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:13:11 Don't have work. 02/06 13:13:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:13:21 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:13:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:13:31 [D] Query(34ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:13:31 Alarms with pending videos found! 02/06 13:13:31 Next idalarmcra = 383886 02/06 13:13:31 DownloadVideos::DownloadVideoOfAlarm 02/06 13:13:31 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 46 02/06 13:13:31 SAM|870 02/06 13:13:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_131329_1.mp4|116365| 02/06 13:13:32 FilenameSrc = 20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_131329_1.mp4 02/06 13:13:32 Date = 20190602 02/06 13:13:32 Construct from filename date 02/06 13:13:32 Destination: c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_131329_1.mp4 02/06 13:13:32 Destination file not found 02/06 13:13:32 http://5.26.219.116:21001/20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_131329_1.mp4 02/06 13:13:32 c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_131329_1.mp4 02/06 13:13:36 DownloadFile ok... checking file destination 02/06 13:13:36 URLDownloadToFile ok 02/06 13:13:39 Video .sig downloaded ok! 02/06 13:13:40 Snapshot .sig downloaded ok! 02/06 13:13:40 Elapsed download time: 00:00:09 02/06 13:13:40 UpdateVideoname 02/06 13:13:40 Updating: idalarmcra = 383886 02/06 13:13:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383886 ORDER BY IDALARMCRA DESC 02/06 13:13:41 Just before Update() 02/06 13:13:41 Next idalarmcra = 383885 02/06 13:13:41 DownloadVideos::DownloadVideoOfAlarm 02/06 13:13:41 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:13:41 SAM|1272 02/06 13:13:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_131318_87.mp4|109873| 02/06 13:13:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_131318_87.mp4 02/06 13:13:41 Date = 20190602 02/06 13:13:41 Construct from filename date 02/06 13:13:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_131318_87.mp4 02/06 13:13:41 Destination file not found 02/06 13:13:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_131318_87.mp4 02/06 13:13:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_131318_87.mp4 02/06 13:13:45 DownloadFile ok... checking file destination 02/06 13:13:45 URLDownloadToFile ok 02/06 13:13:45 Video .sig downloaded ok! 02/06 13:13:45 Snapshot .sig downloaded ok! 02/06 13:13:45 Elapsed download time: 00:00:04 02/06 13:13:45 UpdateVideoname 02/06 13:13:45 Updating: idalarmcra = 383885 02/06 13:13:45 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383885 ORDER BY IDALARMCRA DESC 02/06 13:13:45 Rollback executed. 02/06 13:13:45 RecordSet closed. 02/06 13:13:45 CheckDDBB 02/06 13:13:45 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:13:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:13:55 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:13:55 Don't have work. 02/06 13:14:05 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:14:05 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:14:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:14:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:14:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:14:25 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:14:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:14:35 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:14:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:14:46 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:14:46 Alarms with pending videos found! 02/06 13:14:46 Next idalarmcra = 383888 02/06 13:14:46 DownloadVideos::DownloadVideoOfAlarm 02/06 13:14:46 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 13:14:46 SAM|3946 02/06 13:14:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:14:46 NOK answer received 02/06 13:14:46 UpdateVideoname 02/06 13:14:46 Updating: idalarmcra = 383888 02/06 13:14:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383888 ORDER BY IDALARMCRA DESC 02/06 13:14:46 Just before Update() 02/06 13:14:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:14:56 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:14:56 Alarms with pending videos found! 02/06 13:14:56 Next idalarmcra = 383888 02/06 13:14:56 DownloadVideos::DownloadVideoOfAlarm 02/06 13:14:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 13:14:56 SAM|3946 02/06 13:14:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_131441_6.mp4|104144| 02/06 13:14:57 FilenameSrc = 20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_131441_6.mp4 02/06 13:14:57 Date = 20190602 02/06 13:14:57 Construct from filename date 02/06 13:14:57 Destination: c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_131441_6.mp4 02/06 13:14:57 Destination file not found 02/06 13:14:57 http://192.168.29.100:21000/20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_131441_6.mp4 02/06 13:14:57 c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_131441_6.mp4 02/06 13:14:58 DownloadFile ok... checking file destination 02/06 13:14:58 URLDownloadToFile ok 02/06 13:14:58 Video .sig downloaded ok! 02/06 13:14:58 Snapshot .sig downloaded ok! 02/06 13:14:58 Elapsed download time: 00:00:02 02/06 13:14:59 UpdateVideoname 02/06 13:14:59 Updating: idalarmcra = 383888 02/06 13:14:59 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383888 ORDER BY IDALARMCRA DESC 02/06 13:14:59 Just before Update() 02/06 13:15:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:15:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:15:09 Don't have work. 02/06 13:15:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:15:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:15:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:15:29 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:15:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:15:39 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:15:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:15:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:15:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:15:59 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:16:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:16:09 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:16:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:16:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:16:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:16:30 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:16:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:16:40 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 13:16:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:16:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:17:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:17:00 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:17:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:17:10 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:17:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:17:20 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:17:20 Alarms with pending videos found! 02/06 13:17:20 Next idalarmcra = 383889 02/06 13:17:20 DownloadVideos::DownloadVideoOfAlarm 02/06 13:17:20 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:17:20 SAM|1274 02/06 13:17:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:17:20 NOK answer received 02/06 13:17:20 UpdateVideoname 02/06 13:17:20 Updating: idalarmcra = 383889 02/06 13:17:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383889 ORDER BY IDALARMCRA DESC 02/06 13:17:20 Just before Update() 02/06 13:17:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:17:31 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:17:31 Alarms with pending videos found! 02/06 13:17:31 Next idalarmcra = 383889 02/06 13:17:31 DownloadVideos::DownloadVideoOfAlarm 02/06 13:17:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:17:31 SAM|1274 02/06 13:17:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131715_169.mp4|103832| 02/06 13:17:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131715_169.mp4 02/06 13:17:31 Date = 20190602 02/06 13:17:31 Construct from filename date 02/06 13:17:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131715_169.mp4 02/06 13:17:31 Destination file not found 02/06 13:17:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131715_169.mp4 02/06 13:17:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131715_169.mp4 02/06 13:17:32 DownloadFile ok... checking file destination 02/06 13:17:32 URLDownloadToFile ok 02/06 13:17:32 Video .sig downloaded ok! 02/06 13:17:32 Snapshot .sig downloaded ok! 02/06 13:17:32 Elapsed download time: 00:00:01 02/06 13:17:32 UpdateVideoname 02/06 13:17:32 Updating: idalarmcra = 383889 02/06 13:17:32 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383889 ORDER BY IDALARMCRA DESC 02/06 13:17:32 Just before Update() 02/06 13:17:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:17:42 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:17:42 Alarms with pending videos found! 02/06 13:17:42 Next idalarmcra = 383892 02/06 13:17:42 DownloadVideos::DownloadVideoOfAlarm 02/06 13:17:42 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 13:17:42 SAM|15974 02/06 13:17:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:17:42 NOK answer received 02/06 13:17:43 UpdateVideoname 02/06 13:17:43 Updating: idalarmcra = 383892 02/06 13:17:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383892 ORDER BY IDALARMCRA DESC 02/06 13:17:43 Just before Update() 02/06 13:17:43 Next idalarmcra = 383890 02/06 13:17:43 DownloadVideos::DownloadVideoOfAlarm 02/06 13:17:43 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:17:43 SAM|1275 02/06 13:17:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131734_170.mp4|98664| 02/06 13:17:43 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131734_170.mp4 02/06 13:17:43 Date = 20190602 02/06 13:17:43 Construct from filename date 02/06 13:17:43 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131734_170.mp4 02/06 13:17:43 Destination file not found 02/06 13:17:43 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131734_170.mp4 02/06 13:17:43 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131734_170.mp4 02/06 13:17:43 DownloadFile ok... checking file destination 02/06 13:17:43 URLDownloadToFile ok 02/06 13:17:43 Video .sig downloaded ok! 02/06 13:17:43 Snapshot .sig downloaded ok! 02/06 13:17:43 Elapsed download time: 00:00:00 02/06 13:17:43 UpdateVideoname 02/06 13:17:43 Updating: idalarmcra = 383890 02/06 13:17:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383890 ORDER BY IDALARMCRA DESC 02/06 13:17:43 Just before Update() 02/06 13:17:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:17:53 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:17:53 Alarms with pending videos found! 02/06 13:17:53 Next idalarmcra = 383893 02/06 13:17:53 DownloadVideos::DownloadVideoOfAlarm 02/06 13:17:53 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 13:17:53 SAM|14788 02/06 13:17:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_131749_556.mp4|112706| 02/06 13:17:55 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_131749_556.mp4 02/06 13:17:55 Date = 20190602 02/06 13:17:55 Construct from filename date 02/06 13:17:55 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_131749_556.mp4 02/06 13:17:55 Destination file not found 02/06 13:17:55 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_131749_556.mp4 02/06 13:17:55 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_131749_556.mp4 02/06 13:17:57 DownloadFile ok... checking file destination 02/06 13:17:57 URLDownloadToFile ok 02/06 13:17:57 Video .sig downloaded ok! 02/06 13:17:57 Snapshot .sig downloaded ok! 02/06 13:17:57 Elapsed download time: 00:00:04 02/06 13:17:57 UpdateVideoname 02/06 13:17:57 Updating: idalarmcra = 383893 02/06 13:17:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383893 ORDER BY IDALARMCRA DESC 02/06 13:17:57 Just before Update() 02/06 13:18:07 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:18:07 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:18:07 Alarms with pending videos found! 02/06 13:18:07 Next idalarmcra = 383894 02/06 13:18:07 DownloadVideos::DownloadVideoOfAlarm 02/06 13:18:07 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 13:18:07 SAM|2073 02/06 13:18:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam2_Event2_20190602_131801_43.mp4|107045| 02/06 13:18:07 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam2_Event2_20190602_131801_43.mp4 02/06 13:18:07 Date = 20190602 02/06 13:18:07 Construct from filename date 02/06 13:18:07 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam2_Event2_20190602_131801_43.mp4 02/06 13:18:07 Destination file not found 02/06 13:18:07 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam2_Event2_20190602_131801_43.mp4 02/06 13:18:07 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam2_Event2_20190602_131801_43.mp4 02/06 13:18:09 DownloadFile ok... checking file destination 02/06 13:18:09 URLDownloadToFile ok 02/06 13:18:10 Video .sig downloaded ok! 02/06 13:18:10 Snapshot .sig downloaded ok! 02/06 13:18:10 Elapsed download time: 00:00:03 02/06 13:18:10 UpdateVideoname 02/06 13:18:10 Updating: idalarmcra = 383894 02/06 13:18:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383894 ORDER BY IDALARMCRA DESC 02/06 13:18:10 Just before Update() 02/06 13:18:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:18:20 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:18:20 Alarms with pending videos found! 02/06 13:18:20 Next idalarmcra = 383896 02/06 13:18:20 DownloadVideos::DownloadVideoOfAlarm 02/06 13:18:20 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:18:20 SAM|1277 02/06 13:18:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:18:20 NOK answer received 02/06 13:18:20 UpdateVideoname 02/06 13:18:20 Updating: idalarmcra = 383896 02/06 13:18:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383896 ORDER BY IDALARMCRA DESC 02/06 13:18:20 Just before Update() 02/06 13:18:20 Next idalarmcra = 383895 02/06 13:18:20 DownloadVideos::DownloadVideoOfAlarm 02/06 13:18:20 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:18:20 SAM|1276 02/06 13:18:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:18:21 NOK answer received 02/06 13:18:21 UpdateVideoname 02/06 13:18:21 Updating: idalarmcra = 383895 02/06 13:18:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383895 ORDER BY IDALARMCRA DESC 02/06 13:18:21 Just before Update() 02/06 13:18:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:18:31 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:18:31 Alarms with pending videos found! 02/06 13:18:31 Next idalarmcra = 383897 02/06 13:18:31 DownloadVideos::DownloadVideoOfAlarm 02/06 13:18:31 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:18:31 SAM|1278 02/06 13:18:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131820_171.mp4|94380| 02/06 13:18:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131820_171.mp4 02/06 13:18:31 Date = 20190602 02/06 13:18:31 Construct from filename date 02/06 13:18:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131820_171.mp4 02/06 13:18:31 Destination file not found 02/06 13:18:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131820_171.mp4 02/06 13:18:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_131820_171.mp4 02/06 13:18:31 DownloadFile ok... checking file destination 02/06 13:18:31 URLDownloadToFile ok 02/06 13:18:31 Video .sig downloaded ok! 02/06 13:18:31 Snapshot .sig downloaded ok! 02/06 13:18:31 Elapsed download time: 00:00:00 02/06 13:18:31 UpdateVideoname 02/06 13:18:31 Updating: idalarmcra = 383897 02/06 13:18:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383897 ORDER BY IDALARMCRA DESC 02/06 13:18:31 Just before Update() 02/06 13:18:31 Next idalarmcra = 383896 02/06 13:18:31 DownloadVideos::DownloadVideoOfAlarm 02/06 13:18:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:18:31 SAM|1277 02/06 13:18:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_131817_88.mp4|102026| 02/06 13:18:32 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_131817_88.mp4 02/06 13:18:32 Date = 20190602 02/06 13:18:32 Construct from filename date 02/06 13:18:32 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_131817_88.mp4 02/06 13:18:32 Destination file not found 02/06 13:18:32 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_131817_88.mp4 02/06 13:18:32 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_131817_88.mp4 02/06 13:18:32 DownloadFile ok... checking file destination 02/06 13:18:32 URLDownloadToFile ok 02/06 13:18:32 Video .sig downloaded ok! 02/06 13:18:32 Snapshot .sig downloaded ok! 02/06 13:18:32 Elapsed download time: 00:00:01 02/06 13:18:32 UpdateVideoname 02/06 13:18:32 Updating: idalarmcra = 383896 02/06 13:18:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383896 ORDER BY IDALARMCRA DESC 02/06 13:18:32 Just before Update() 02/06 13:18:32 Next idalarmcra = 383895 02/06 13:18:32 DownloadVideos::DownloadVideoOfAlarm 02/06 13:18:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:18:32 SAM|1276 02/06 13:18:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131815_101.mp4|102721| 02/06 13:18:32 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131815_101.mp4 02/06 13:18:32 Date = 20190602 02/06 13:18:32 Construct from filename date 02/06 13:18:32 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131815_101.mp4 02/06 13:18:32 Destination file not found 02/06 13:18:32 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131815_101.mp4 02/06 13:18:32 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_131815_101.mp4 02/06 13:18:33 DownloadFile ok... checking file destination 02/06 13:18:33 URLDownloadToFile ok 02/06 13:18:33 Video .sig downloaded ok! 02/06 13:18:33 Snapshot .sig downloaded ok! 02/06 13:18:33 Elapsed download time: 00:00:01 02/06 13:18:33 UpdateVideoname 02/06 13:18:33 Updating: idalarmcra = 383895 02/06 13:18:33 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383895 ORDER BY IDALARMCRA DESC 02/06 13:18:33 Rollback executed. 02/06 13:18:33 RecordSet closed. 02/06 13:18:33 CheckDDBB 02/06 13:18:33 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:18:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:18:43 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:18:43 Don't have work. 02/06 13:18:53 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:18:53 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:19:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:19:03 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:19:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:19:13 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:19:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:19:23 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:19:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:19:33 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:19:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:19:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:19:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:19:54 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:20:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:20:04 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:20:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:20:14 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 13:20:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:20:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:20:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:20:34 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:20:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:20:44 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:20:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:20:54 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:21:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:21:04 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:21:04 Alarms with pending videos found! 02/06 13:21:04 Next idalarmcra = 383902 02/06 13:21:04 DownloadVideos::DownloadVideoOfAlarm 02/06 13:21:04 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:21:04 SAM|4699 02/06 13:21:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_132218_139.mp4|114587| 02/06 13:21:05 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_132218_139.mp4 02/06 13:21:05 Date = 20190602 02/06 13:21:05 Construct from filename date 02/06 13:21:05 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_132218_139.mp4 02/06 13:21:05 Destination file not found 02/06 13:21:05 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_132218_139.mp4 02/06 13:21:05 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_132218_139.mp4 02/06 13:21:07 DownloadFile ok... checking file destination 02/06 13:21:07 URLDownloadToFile ok 02/06 13:21:07 Video .sig downloaded ok! 02/06 13:21:08 Snapshot .sig downloaded ok! 02/06 13:21:08 Elapsed download time: 00:00:04 02/06 13:21:08 UpdateVideoname 02/06 13:21:08 Updating: idalarmcra = 383902 02/06 13:21:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383902 ORDER BY IDALARMCRA DESC 02/06 13:21:08 Just before Update() 02/06 13:21:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:21:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:21:18 Don't have work. 02/06 13:21:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:21:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:21:28 Alarms with pending videos found! 02/06 13:21:28 Next idalarmcra = 383903 02/06 13:21:28 DownloadVideos::DownloadVideoOfAlarm 02/06 13:21:28 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:21:28 SAM|1075 02/06 13:21:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132035_412.mp4|102133| 02/06 13:21:28 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132035_412.mp4 02/06 13:21:28 Date = 20190602 02/06 13:21:28 Construct from filename date 02/06 13:21:28 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132035_412.mp4 02/06 13:21:28 Destination file not found 02/06 13:21:28 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132035_412.mp4 02/06 13:21:28 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132035_412.mp4 02/06 13:21:32 DownloadFile ok... checking file destination 02/06 13:21:32 URLDownloadToFile ok 02/06 13:21:32 Video .sig downloaded ok! 02/06 13:21:32 Snapshot .sig downloaded ok! 02/06 13:21:32 Elapsed download time: 00:00:04 02/06 13:21:32 UpdateVideoname 02/06 13:21:32 Updating: idalarmcra = 383903 02/06 13:21:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383903 ORDER BY IDALARMCRA DESC 02/06 13:21:32 Just before Update() 02/06 13:21:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:21:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:21:42 Don't have work. 02/06 13:21:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:21:52 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:22:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:22:02 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:22:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:22:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:22:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:22:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:22:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:22:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:22:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:22:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:22:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:22:53 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:23:03 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:23:03 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:23:03 Alarms with pending videos found! 02/06 13:23:03 Next idalarmcra = 383907 02/06 13:23:03 DownloadVideos::DownloadVideoOfAlarm 02/06 13:23:03 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:23:03 SAM|1077 02/06 13:23:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132209_164.mp4|103774| 02/06 13:23:03 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132209_164.mp4 02/06 13:23:03 Date = 20190602 02/06 13:23:03 Construct from filename date 02/06 13:23:03 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132209_164.mp4 02/06 13:23:03 Destination file not found 02/06 13:23:03 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132209_164.mp4 02/06 13:23:03 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132209_164.mp4 02/06 13:23:04 DownloadFile ok... checking file destination 02/06 13:23:04 URLDownloadToFile ok 02/06 13:23:04 Video .sig downloaded ok! 02/06 13:23:04 Snapshot .sig downloaded ok! 02/06 13:23:04 Elapsed download time: 00:00:01 02/06 13:23:04 UpdateVideoname 02/06 13:23:04 Updating: idalarmcra = 383907 02/06 13:23:04 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383907 ORDER BY IDALARMCRA DESC 02/06 13:23:04 Just before Update() 02/06 13:23:04 Next idalarmcra = 383906 02/06 13:23:04 DownloadVideos::DownloadVideoOfAlarm 02/06 13:23:04 [D] Query(9ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:23:04 SAM|1076 02/06 13:23:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132205_413.mp4|100111| 02/06 13:23:05 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132205_413.mp4 02/06 13:23:05 Date = 20190602 02/06 13:23:05 Construct from filename date 02/06 13:23:05 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132205_413.mp4 02/06 13:23:05 Destination file not found 02/06 13:23:05 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132205_413.mp4 02/06 13:23:05 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132205_413.mp4 02/06 13:23:05 DownloadFile ok... checking file destination 02/06 13:23:05 URLDownloadToFile ok 02/06 13:23:05 Video .sig downloaded ok! 02/06 13:23:05 Snapshot .sig downloaded ok! 02/06 13:23:05 Elapsed download time: 00:00:01 02/06 13:23:05 UpdateVideoname 02/06 13:23:05 Updating: idalarmcra = 383906 02/06 13:23:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383906 ORDER BY IDALARMCRA DESC 02/06 13:23:05 Just before Update() 02/06 13:23:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:23:15 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:23:15 Alarms with pending videos found! 02/06 13:23:15 Next idalarmcra = 383908 02/06 13:23:15 DownloadVideos::DownloadVideoOfAlarm 02/06 13:23:15 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:23:15 SAM|1078 02/06 13:23:15 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132216_24.mp4|100903| 02/06 13:23:16 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132216_24.mp4 02/06 13:23:16 Date = 20190602 02/06 13:23:16 Construct from filename date 02/06 13:23:16 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132216_24.mp4 02/06 13:23:16 Destination file not found 02/06 13:23:16 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132216_24.mp4 02/06 13:23:16 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132216_24.mp4 02/06 13:23:16 DownloadFile ok... checking file destination 02/06 13:23:16 URLDownloadToFile ok 02/06 13:23:16 Video .sig downloaded ok! 02/06 13:23:16 Snapshot .sig downloaded ok! 02/06 13:23:16 Elapsed download time: 00:00:01 02/06 13:23:16 UpdateVideoname 02/06 13:23:16 Updating: idalarmcra = 383908 02/06 13:23:16 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383908 ORDER BY IDALARMCRA DESC 02/06 13:23:16 Just before Update() 02/06 13:23:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:23:26 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:23:26 Don't have work. 02/06 13:23:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:23:36 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:23:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:23:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:23:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:23:57 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:24:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:24:07 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:24:07 Alarms with pending videos found! 02/06 13:24:07 Next idalarmcra = 383910 02/06 13:24:07 DownloadVideos::DownloadVideoOfAlarm 02/06 13:24:07 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:24:07 SAM|1280 02/06 13:24:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:24:07 NOK answer received 02/06 13:24:07 UpdateVideoname 02/06 13:24:07 Updating: idalarmcra = 383910 02/06 13:24:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383910 ORDER BY IDALARMCRA DESC 02/06 13:24:07 Just before Update() 02/06 13:24:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:24:17 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:24:17 Alarms with pending videos found! 02/06 13:24:17 Next idalarmcra = 383911 02/06 13:24:17 DownloadVideos::DownloadVideoOfAlarm 02/06 13:24:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:24:17 SAM|1281 02/06 13:24:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132405_103.mp4|105741| 02/06 13:24:17 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132405_103.mp4 02/06 13:24:17 Date = 20190602 02/06 13:24:17 Construct from filename date 02/06 13:24:17 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132405_103.mp4 02/06 13:24:17 Destination file not found 02/06 13:24:17 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132405_103.mp4 02/06 13:24:17 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132405_103.mp4 02/06 13:24:22 DownloadFile ok... checking file destination 02/06 13:24:22 URLDownloadToFile ok 02/06 13:24:22 Video .sig downloaded ok! 02/06 13:24:22 Snapshot .sig downloaded ok! 02/06 13:24:22 Elapsed download time: 00:00:05 02/06 13:24:22 UpdateVideoname 02/06 13:24:22 Updating: idalarmcra = 383911 02/06 13:24:22 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383911 ORDER BY IDALARMCRA DESC 02/06 13:24:22 Just before Update() 02/06 13:24:22 Next idalarmcra = 383910 02/06 13:24:22 DownloadVideos::DownloadVideoOfAlarm 02/06 13:24:22 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:24:22 SAM|1280 02/06 13:24:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132402_172.mp4|99713| 02/06 13:24:22 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132402_172.mp4 02/06 13:24:22 Date = 20190602 02/06 13:24:22 Construct from filename date 02/06 13:24:22 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132402_172.mp4 02/06 13:24:22 Destination file not found 02/06 13:24:22 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132402_172.mp4 02/06 13:24:22 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132402_172.mp4 02/06 13:24:26 DownloadFile ok... checking file destination 02/06 13:24:26 URLDownloadToFile ok 02/06 13:24:26 Video .sig downloaded ok! 02/06 13:24:26 Snapshot .sig downloaded ok! 02/06 13:24:26 Elapsed download time: 00:00:04 02/06 13:24:26 UpdateVideoname 02/06 13:24:26 Updating: idalarmcra = 383910 02/06 13:24:26 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383910 ORDER BY IDALARMCRA DESC 02/06 13:24:26 Rollback executed. 02/06 13:24:26 RecordSet closed. 02/06 13:24:26 CheckDDBB 02/06 13:24:26 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:24:36 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:24:36 [D] Query(17ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:24:36 Alarms with pending videos found! 02/06 13:24:36 Next idalarmcra = 383916 02/06 13:24:36 DownloadVideos::DownloadVideoOfAlarm 02/06 13:24:36 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:24:36 SAM|1284 02/06 13:24:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132425_89.mp4|100774| 02/06 13:24:36 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132425_89.mp4 02/06 13:24:36 Date = 20190602 02/06 13:24:36 Construct from filename date 02/06 13:24:36 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132425_89.mp4 02/06 13:24:36 Destination file not found 02/06 13:24:36 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132425_89.mp4 02/06 13:24:36 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132425_89.mp4 02/06 13:24:39 DownloadFile ok... checking file destination 02/06 13:24:39 URLDownloadToFile ok 02/06 13:24:40 Video .sig downloaded ok! 02/06 13:24:40 Snapshot .sig downloaded ok! 02/06 13:24:40 Elapsed download time: 00:00:04 02/06 13:24:40 UpdateVideoname 02/06 13:24:40 Updating: idalarmcra = 383916 02/06 13:24:40 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383916 ORDER BY IDALARMCRA DESC 02/06 13:24:40 Just before Update() 02/06 13:24:40 Next idalarmcra = 383915 02/06 13:24:40 DownloadVideos::DownloadVideoOfAlarm 02/06 13:24:40 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:24:40 SAM|1080 02/06 13:24:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132339_414.mp4|100590| 02/06 13:24:40 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132339_414.mp4 02/06 13:24:40 Date = 20190602 02/06 13:24:40 Construct from filename date 02/06 13:24:40 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132339_414.mp4 02/06 13:24:40 Destination file not found 02/06 13:24:40 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132339_414.mp4 02/06 13:24:40 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132339_414.mp4 02/06 13:24:41 DownloadFile ok... checking file destination 02/06 13:24:41 URLDownloadToFile ok 02/06 13:24:41 Video .sig downloaded ok! 02/06 13:24:42 Snapshot .sig downloaded ok! 02/06 13:24:42 Elapsed download time: 00:00:02 02/06 13:24:42 UpdateVideoname 02/06 13:24:42 Updating: idalarmcra = 383915 02/06 13:24:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383915 ORDER BY IDALARMCRA DESC 02/06 13:24:42 Just before Update() 02/06 13:24:42 Next idalarmcra = 383914 02/06 13:24:42 DownloadVideos::DownloadVideoOfAlarm 02/06 13:24:42 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:24:42 SAM|1283 02/06 13:24:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132422_104.mp4|93247| 02/06 13:24:43 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132422_104.mp4 02/06 13:24:43 Date = 20190602 02/06 13:24:43 Construct from filename date 02/06 13:24:43 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132422_104.mp4 02/06 13:24:43 Destination file not found 02/06 13:24:43 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132422_104.mp4 02/06 13:24:43 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132422_104.mp4 02/06 13:24:45 DownloadFile ok... checking file destination 02/06 13:24:45 URLDownloadToFile ok 02/06 13:24:46 Video .sig downloaded ok! 02/06 13:24:46 Snapshot .sig downloaded ok! 02/06 13:24:46 Elapsed download time: 00:00:04 02/06 13:24:46 UpdateVideoname 02/06 13:24:46 Updating: idalarmcra = 383914 02/06 13:24:46 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383914 ORDER BY IDALARMCRA DESC 02/06 13:24:46 Rollback executed. 02/06 13:24:46 RecordSet closed. 02/06 13:24:46 CheckDDBB 02/06 13:24:46 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:24:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:24:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:24:56 Don't have work. 02/06 13:25:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:25:06 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:25:06 Alarms with pending videos found! 02/06 13:25:06 Next idalarmcra = 383917 02/06 13:25:06 DownloadVideos::DownloadVideoOfAlarm 02/06 13:25:06 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:25:06 SAM|1081 02/06 13:25:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132411_166.mp4|94622| 02/06 13:25:06 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132411_166.mp4 02/06 13:25:06 Date = 20190602 02/06 13:25:06 Construct from filename date 02/06 13:25:06 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132411_166.mp4 02/06 13:25:06 Destination file not found 02/06 13:25:06 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132411_166.mp4 02/06 13:25:06 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132411_166.mp4 02/06 13:25:07 DownloadFile ok... checking file destination 02/06 13:25:07 URLDownloadToFile ok 02/06 13:25:07 Video .sig downloaded ok! 02/06 13:25:07 Snapshot .sig downloaded ok! 02/06 13:25:07 Elapsed download time: 00:00:01 02/06 13:25:07 UpdateVideoname 02/06 13:25:07 Updating: idalarmcra = 383917 02/06 13:25:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383917 ORDER BY IDALARMCRA DESC 02/06 13:25:07 Just before Update() 02/06 13:25:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:25:17 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:25:17 Don't have work. 02/06 13:25:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:25:27 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:25:27 Alarms with pending videos found! 02/06 13:25:27 Next idalarmcra = 383919 02/06 13:25:27 DownloadVideos::DownloadVideoOfAlarm 02/06 13:25:27 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:25:27 SAM|1286 02/06 13:25:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132518_90.mp4|102723| 02/06 13:25:28 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132518_90.mp4 02/06 13:25:28 Date = 20190602 02/06 13:25:28 Construct from filename date 02/06 13:25:28 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132518_90.mp4 02/06 13:25:28 Destination file not found 02/06 13:25:28 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132518_90.mp4 02/06 13:25:28 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132518_90.mp4 02/06 13:25:30 DownloadFile ok... checking file destination 02/06 13:25:30 URLDownloadToFile ok 02/06 13:25:30 Video .sig downloaded ok! 02/06 13:25:30 Snapshot .sig downloaded ok! 02/06 13:25:30 Elapsed download time: 00:00:03 02/06 13:25:30 UpdateVideoname 02/06 13:25:30 Updating: idalarmcra = 383919 02/06 13:25:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383919 ORDER BY IDALARMCRA DESC 02/06 13:25:30 Just before Update() 02/06 13:25:30 Next idalarmcra = 383918 02/06 13:25:30 DownloadVideos::DownloadVideoOfAlarm 02/06 13:25:30 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:25:30 SAM|1285 02/06 13:25:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132512_105.mp4|98914| 02/06 13:25:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132512_105.mp4 02/06 13:25:31 Date = 20190602 02/06 13:25:31 Construct from filename date 02/06 13:25:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132512_105.mp4 02/06 13:25:31 Destination file not found 02/06 13:25:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132512_105.mp4 02/06 13:25:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132512_105.mp4 02/06 13:25:35 DownloadFile ok... checking file destination 02/06 13:25:35 URLDownloadToFile ok 02/06 13:25:35 Video .sig downloaded ok! 02/06 13:25:35 Snapshot .sig downloaded ok! 02/06 13:25:35 Elapsed download time: 00:00:05 02/06 13:25:36 UpdateVideoname 02/06 13:25:36 Updating: idalarmcra = 383918 02/06 13:25:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383918 ORDER BY IDALARMCRA DESC 02/06 13:25:36 Just before Update() 02/06 13:25:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:25:46 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:25:46 Alarms with pending videos found! 02/06 13:25:46 Next idalarmcra = 383920 02/06 13:25:46 DownloadVideos::DownloadVideoOfAlarm 02/06 13:25:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 13:25:46 SAM|22945 02/06 13:25:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_132550_40.mp4|115066| 02/06 13:25:47 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_132550_40.mp4 02/06 13:25:47 Date = 20190602 02/06 13:25:47 Construct from filename date 02/06 13:25:47 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_132550_40.mp4 02/06 13:25:47 Destination file not found 02/06 13:25:47 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_132550_40.mp4 02/06 13:25:47 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_132550_40.mp4 02/06 13:25:48 DownloadFile ok... checking file destination 02/06 13:25:48 URLDownloadToFile ok 02/06 13:25:48 Video .sig downloaded ok! 02/06 13:25:49 Snapshot .sig downloaded ok! 02/06 13:25:49 Elapsed download time: 00:00:03 02/06 13:25:49 UpdateVideoname 02/06 13:25:49 Updating: idalarmcra = 383920 02/06 13:25:49 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383920 ORDER BY IDALARMCRA DESC 02/06 13:25:49 Just before Update() 02/06 13:25:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:25:59 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:25:59 Don't have work. 02/06 13:26:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:26:09 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:26:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:26:19 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:26:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:26:29 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:26:29 Alarms with pending videos found! 02/06 13:26:29 Next idalarmcra = 383921 02/06 13:26:29 DownloadVideos::DownloadVideoOfAlarm 02/06 13:26:29 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:26:29 SAM|1287 02/06 13:26:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:26:30 NOK answer received 02/06 13:26:31 UpdateVideoname 02/06 13:26:31 Updating: idalarmcra = 383921 02/06 13:26:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383921 ORDER BY IDALARMCRA DESC 02/06 13:26:31 Just before Update() 02/06 13:26:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:26:41 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:26:41 Alarms with pending videos found! 02/06 13:26:41 Next idalarmcra = 383922 02/06 13:26:41 DownloadVideos::DownloadVideoOfAlarm 02/06 13:26:41 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:26:41 SAM|1288 02/06 13:26:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132627_173.mp4|102364| 02/06 13:26:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132627_173.mp4 02/06 13:26:41 Date = 20190602 02/06 13:26:41 Construct from filename date 02/06 13:26:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132627_173.mp4 02/06 13:26:41 Destination file not found 02/06 13:26:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132627_173.mp4 02/06 13:26:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132627_173.mp4 02/06 13:26:41 DownloadFile ok... checking file destination 02/06 13:26:41 URLDownloadToFile ok 02/06 13:26:41 Video .sig downloaded ok! 02/06 13:26:42 Snapshot .sig downloaded ok! 02/06 13:26:42 Elapsed download time: 00:00:01 02/06 13:26:42 UpdateVideoname 02/06 13:26:42 Updating: idalarmcra = 383922 02/06 13:26:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383922 ORDER BY IDALARMCRA DESC 02/06 13:26:42 Just before Update() 02/06 13:26:42 Next idalarmcra = 383921 02/06 13:26:42 DownloadVideos::DownloadVideoOfAlarm 02/06 13:26:42 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:26:42 SAM|1287 02/06 13:26:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132625_106.mp4|102863| 02/06 13:26:42 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132625_106.mp4 02/06 13:26:42 Date = 20190602 02/06 13:26:42 Construct from filename date 02/06 13:26:42 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132625_106.mp4 02/06 13:26:42 Destination file not found 02/06 13:26:42 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132625_106.mp4 02/06 13:26:42 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132625_106.mp4 02/06 13:26:42 DownloadFile ok... checking file destination 02/06 13:26:42 URLDownloadToFile ok 02/06 13:26:42 Video .sig downloaded ok! 02/06 13:26:42 Snapshot .sig downloaded ok! 02/06 13:26:42 Elapsed download time: 00:00:00 02/06 13:26:42 UpdateVideoname 02/06 13:26:42 Updating: idalarmcra = 383921 02/06 13:26:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383921 ORDER BY IDALARMCRA DESC 02/06 13:26:42 Just before Update() 02/06 13:26:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:26:52 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:26:52 Alarms with pending videos found! 02/06 13:26:52 Next idalarmcra = 383926 02/06 13:26:52 DownloadVideos::DownloadVideoOfAlarm 02/06 13:26:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 13:26:52 SAM|22946 02/06 13:26:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:26:53 NOK answer received 02/06 13:26:53 UpdateVideoname 02/06 13:26:53 Updating: idalarmcra = 383926 02/06 13:26:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383926 ORDER BY IDALARMCRA DESC 02/06 13:26:53 Just before Update() 02/06 13:26:53 Next idalarmcra = 383925 02/06 13:26:53 DownloadVideos::DownloadVideoOfAlarm 02/06 13:26:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:26:53 SAM|741 02/06 13:26:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:26:53 NOK answer received 02/06 13:26:53 UpdateVideoname 02/06 13:26:53 Updating: idalarmcra = 383925 02/06 13:26:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383925 ORDER BY IDALARMCRA DESC 02/06 13:26:53 Just before Update() 02/06 13:26:53 Next idalarmcra = 383924 02/06 13:26:53 DownloadVideos::DownloadVideoOfAlarm 02/06 13:26:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:26:53 SAM|1083 02/06 13:26:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132600_167.mp4|105817| 02/06 13:26:54 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132600_167.mp4 02/06 13:26:54 Date = 20190602 02/06 13:26:54 Construct from filename date 02/06 13:26:54 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132600_167.mp4 02/06 13:26:54 Destination file not found 02/06 13:26:54 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132600_167.mp4 02/06 13:26:54 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132600_167.mp4 02/06 13:26:55 DownloadFile ok... checking file destination 02/06 13:26:55 URLDownloadToFile ok 02/06 13:26:55 Video .sig downloaded ok! 02/06 13:26:55 Snapshot .sig downloaded ok! 02/06 13:26:55 Elapsed download time: 00:00:02 02/06 13:26:56 UpdateVideoname 02/06 13:26:56 Updating: idalarmcra = 383924 02/06 13:26:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383924 ORDER BY IDALARMCRA DESC 02/06 13:26:56 Just before Update() 02/06 13:26:56 Next idalarmcra = 383923 02/06 13:26:56 DownloadVideos::DownloadVideoOfAlarm 02/06 13:26:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:26:56 SAM|1082 02/06 13:26:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132557_415.mp4|107147| 02/06 13:26:56 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132557_415.mp4 02/06 13:26:56 Date = 20190602 02/06 13:26:56 Construct from filename date 02/06 13:26:56 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132557_415.mp4 02/06 13:26:56 Destination file not found 02/06 13:26:56 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132557_415.mp4 02/06 13:26:56 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132557_415.mp4 02/06 13:26:56 DownloadFile ok... checking file destination 02/06 13:26:56 URLDownloadToFile ok 02/06 13:26:56 Video .sig downloaded ok! 02/06 13:26:56 Snapshot .sig downloaded ok! 02/06 13:26:56 Elapsed download time: 00:00:00 02/06 13:26:57 UpdateVideoname 02/06 13:26:57 Updating: idalarmcra = 383923 02/06 13:26:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383923 ORDER BY IDALARMCRA DESC 02/06 13:26:57 Just before Update() 02/06 13:27:07 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:27:07 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:27:07 Alarms with pending videos found! 02/06 13:27:07 Next idalarmcra = 383929 02/06 13:27:07 DownloadVideos::DownloadVideoOfAlarm 02/06 13:27:07 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:27:07 SAM|1084 02/06 13:27:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132608_25.mp4|99084| 02/06 13:27:07 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132608_25.mp4 02/06 13:27:07 Date = 20190602 02/06 13:27:07 Construct from filename date 02/06 13:27:07 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132608_25.mp4 02/06 13:27:07 Destination file not found 02/06 13:27:07 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132608_25.mp4 02/06 13:27:07 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132608_25.mp4 02/06 13:27:07 DownloadFile ok... checking file destination 02/06 13:27:07 URLDownloadToFile ok 02/06 13:27:07 Video .sig downloaded ok! 02/06 13:27:08 Snapshot .sig downloaded ok! 02/06 13:27:08 Elapsed download time: 00:00:01 02/06 13:27:08 UpdateVideoname 02/06 13:27:08 Updating: idalarmcra = 383929 02/06 13:27:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383929 ORDER BY IDALARMCRA DESC 02/06 13:27:08 Just before Update() 02/06 13:27:08 Next idalarmcra = 383928 02/06 13:27:08 DownloadVideos::DownloadVideoOfAlarm 02/06 13:27:08 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:27:08 SAM|1290 02/06 13:27:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132654_107.mp4|100154| 02/06 13:27:08 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132654_107.mp4 02/06 13:27:08 Date = 20190602 02/06 13:27:08 Construct from filename date 02/06 13:27:08 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132654_107.mp4 02/06 13:27:08 Destination file not found 02/06 13:27:08 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132654_107.mp4 02/06 13:27:08 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_132654_107.mp4 02/06 13:27:08 DownloadFile ok... checking file destination 02/06 13:27:08 URLDownloadToFile ok 02/06 13:27:08 Video .sig downloaded ok! 02/06 13:27:08 Snapshot .sig downloaded ok! 02/06 13:27:08 Elapsed download time: 00:00:00 02/06 13:27:08 UpdateVideoname 02/06 13:27:08 Updating: idalarmcra = 383928 02/06 13:27:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383928 ORDER BY IDALARMCRA DESC 02/06 13:27:08 Just before Update() 02/06 13:27:08 Next idalarmcra = 383927 02/06 13:27:08 DownloadVideos::DownloadVideoOfAlarm 02/06 13:27:08 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:27:08 SAM|1289 02/06 13:27:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132650_174.mp4|107482| 02/06 13:27:09 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132650_174.mp4 02/06 13:27:09 Date = 20190602 02/06 13:27:09 Construct from filename date 02/06 13:27:09 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132650_174.mp4 02/06 13:27:09 Destination file not found 02/06 13:27:09 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132650_174.mp4 02/06 13:27:09 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_132650_174.mp4 02/06 13:27:09 DownloadFile ok... checking file destination 02/06 13:27:09 URLDownloadToFile ok 02/06 13:27:09 Video .sig downloaded ok! 02/06 13:27:09 Snapshot .sig downloaded ok! 02/06 13:27:09 Elapsed download time: 00:00:01 02/06 13:27:09 UpdateVideoname 02/06 13:27:09 Updating: idalarmcra = 383927 02/06 13:27:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383927 ORDER BY IDALARMCRA DESC 02/06 13:27:09 Just before Update() 02/06 13:27:09 Next idalarmcra = 383926 02/06 13:27:09 DownloadVideos::DownloadVideoOfAlarm 02/06 13:27:09 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 13:27:09 SAM|22946 02/06 13:27:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_132703_41.mp4|113394| 02/06 13:27:09 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_132703_41.mp4 02/06 13:27:09 Date = 20190602 02/06 13:27:09 Construct from filename date 02/06 13:27:09 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_132703_41.mp4 02/06 13:27:09 Destination file not found 02/06 13:27:09 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_132703_41.mp4 02/06 13:27:09 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_132703_41.mp4 02/06 13:27:10 DownloadFile ok... checking file destination 02/06 13:27:10 URLDownloadToFile ok 02/06 13:27:11 Video .sig downloaded ok! 02/06 13:27:11 Snapshot .sig downloaded ok! 02/06 13:27:11 Elapsed download time: 00:00:02 02/06 13:27:11 UpdateVideoname 02/06 13:27:11 Updating: idalarmcra = 383926 02/06 13:27:11 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383926 ORDER BY IDALARMCRA DESC 02/06 13:27:11 Just before Update() 02/06 13:27:11 Next idalarmcra = 383925 02/06 13:27:11 DownloadVideos::DownloadVideoOfAlarm 02/06 13:27:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:27:11 SAM|741 02/06 13:27:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_132647_105.mp4|105678| 02/06 13:27:11 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_132647_105.mp4 02/06 13:27:11 Date = 20190602 02/06 13:27:11 Construct from filename date 02/06 13:27:11 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_132647_105.mp4 02/06 13:27:11 Destination file not found 02/06 13:27:11 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_132647_105.mp4 02/06 13:27:11 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_132647_105.mp4 02/06 13:27:12 DownloadFile ok... checking file destination 02/06 13:27:12 URLDownloadToFile ok 02/06 13:27:12 Video .sig downloaded ok! 02/06 13:27:12 Snapshot .sig downloaded ok! 02/06 13:27:12 Elapsed download time: 00:00:01 02/06 13:27:13 UpdateVideoname 02/06 13:27:13 Updating: idalarmcra = 383925 02/06 13:27:13 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383925 ORDER BY IDALARMCRA DESC 02/06 13:27:13 Just before Update() 02/06 13:27:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:27:23 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:27:23 Don't have work. 02/06 13:27:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:27:33 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:27:33 Alarms with pending videos found! 02/06 13:27:33 Next idalarmcra = 383930 02/06 13:27:33 DownloadVideos::DownloadVideoOfAlarm 02/06 13:27:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 13:27:33 SAM|22287 02/06 13:27:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_133200_5.mp4|102690| 02/06 13:27:33 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_133200_5.mp4 02/06 13:27:33 Date = 20190602 02/06 13:27:33 Construct from filename date 02/06 13:27:33 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_133200_5.mp4 02/06 13:27:33 Destination file not found 02/06 13:27:33 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_133200_5.mp4 02/06 13:27:33 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_133200_5.mp4 02/06 13:27:34 DownloadFile ok... checking file destination 02/06 13:27:34 URLDownloadToFile ok 02/06 13:27:35 Video .sig downloaded ok! 02/06 13:27:35 Snapshot .sig downloaded ok! 02/06 13:27:35 Elapsed download time: 00:00:02 02/06 13:27:35 UpdateVideoname 02/06 13:27:35 Updating: idalarmcra = 383930 02/06 13:27:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383930 ORDER BY IDALARMCRA DESC 02/06 13:27:35 Just before Update() 02/06 13:27:45 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:27:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:27:45 Don't have work. 02/06 13:27:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:27:55 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:28:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:28:05 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:28:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:28:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:28:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:28:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:28:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:28:36 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:28:36 Alarms with pending videos found! 02/06 13:28:36 Next idalarmcra = 383932 02/06 13:28:36 DownloadVideos::DownloadVideoOfAlarm 02/06 13:28:36 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:28:36 SAM|1085 02/06 13:28:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132743_168.mp4|97754| 02/06 13:28:36 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132743_168.mp4 02/06 13:28:36 Date = 20190602 02/06 13:28:36 Construct from filename date 02/06 13:28:36 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132743_168.mp4 02/06 13:28:36 Destination file not found 02/06 13:28:36 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132743_168.mp4 02/06 13:28:36 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132743_168.mp4 02/06 13:28:36 DownloadFile ok... checking file destination 02/06 13:28:36 URLDownloadToFile ok 02/06 13:28:37 Video .sig downloaded ok! 02/06 13:28:37 Snapshot .sig downloaded ok! 02/06 13:28:37 Elapsed download time: 00:00:01 02/06 13:28:37 UpdateVideoname 02/06 13:28:37 Updating: idalarmcra = 383932 02/06 13:28:37 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383932 ORDER BY IDALARMCRA DESC 02/06 13:28:37 Just before Update() 02/06 13:28:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:28:47 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:28:47 Alarms with pending videos found! 02/06 13:28:47 Next idalarmcra = 383933 02/06 13:28:47 DownloadVideos::DownloadVideoOfAlarm 02/06 13:28:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:28:47 SAM|1086 02/06 13:28:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132747_26.mp4|98895| 02/06 13:28:47 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132747_26.mp4 02/06 13:28:47 Date = 20190602 02/06 13:28:47 Construct from filename date 02/06 13:28:47 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132747_26.mp4 02/06 13:28:47 Destination file not found 02/06 13:28:47 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132747_26.mp4 02/06 13:28:47 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132747_26.mp4 02/06 13:28:47 DownloadFile ok... checking file destination 02/06 13:28:47 URLDownloadToFile ok 02/06 13:28:47 Video .sig downloaded ok! 02/06 13:28:48 Snapshot .sig downloaded ok! 02/06 13:28:48 Elapsed download time: 00:00:01 02/06 13:28:48 UpdateVideoname 02/06 13:28:48 Updating: idalarmcra = 383933 02/06 13:28:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383933 ORDER BY IDALARMCRA DESC 02/06 13:28:48 Just before Update() 02/06 13:28:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:28:58 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:28:58 Don't have work. 02/06 13:29:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:29:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:29:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:29:18 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:29:18 Alarms with pending videos found! 02/06 13:29:18 Next idalarmcra = 383934 02/06 13:29:18 DownloadVideos::DownloadVideoOfAlarm 02/06 13:29:18 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:29:18 SAM|1291 02/06 13:29:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132909_91.mp4|107740| 02/06 13:29:18 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132909_91.mp4 02/06 13:29:18 Date = 20190602 02/06 13:29:18 Construct from filename date 02/06 13:29:18 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132909_91.mp4 02/06 13:29:18 Destination file not found 02/06 13:29:18 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132909_91.mp4 02/06 13:29:18 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_132909_91.mp4 02/06 13:29:19 DownloadFile ok... checking file destination 02/06 13:29:19 URLDownloadToFile ok 02/06 13:29:19 Video .sig downloaded ok! 02/06 13:29:19 Snapshot .sig downloaded ok! 02/06 13:29:19 Elapsed download time: 00:00:01 02/06 13:29:19 UpdateVideoname 02/06 13:29:19 Updating: idalarmcra = 383934 02/06 13:29:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383934 ORDER BY IDALARMCRA DESC 02/06 13:29:19 Just before Update() 02/06 13:29:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:29:29 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:29:29 Don't have work. 02/06 13:29:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:29:39 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:29:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:29:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:30:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:30:00 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:30:00 Alarms with pending videos found! 02/06 13:30:00 Next idalarmcra = 383935 02/06 13:30:00 DownloadVideos::DownloadVideoOfAlarm 02/06 13:30:00 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 3 02/06 13:30:00 SAM|174302 02/06 13:30:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SARNIC_Cam31_Event2_20190602_132950_1.mp4|178732| 02/06 13:30:00 FilenameSrc = 20190602\\SiteDGS_VA_SARNIC_Cam31_Event2_20190602_132950_1.mp4 02/06 13:30:00 Date = 20190602 02/06 13:30:00 Construct from filename date 02/06 13:30:00 Destination: c:\Davantis\CRAServer\\SITE_3\\20190602\\SiteDGS_VA_SARNIC_Cam31_Event2_20190602_132950_1.mp4 02/06 13:30:00 Destination file not found 02/06 13:30:00 http://192.168.27.100:21000/20190602\\SiteDGS_VA_SARNIC_Cam31_Event2_20190602_132950_1.mp4 02/06 13:30:00 c:\Davantis\CRAServer\\SITE_3\\20190602\\SiteDGS_VA_SARNIC_Cam31_Event2_20190602_132950_1.mp4 02/06 13:30:01 DownloadFile ok... checking file destination 02/06 13:30:01 URLDownloadToFile ok 02/06 13:30:02 Video .sig downloaded ok! 02/06 13:30:02 Snapshot .sig downloaded ok! 02/06 13:30:02 Elapsed download time: 00:00:02 02/06 13:30:02 UpdateVideoname 02/06 13:30:02 Updating: idalarmcra = 383935 02/06 13:30:02 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383935 ORDER BY IDALARMCRA DESC 02/06 13:30:02 Just before Update() 02/06 13:30:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:30:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:30:12 Don't have work. 02/06 13:30:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:30:22 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:30:22 Alarms with pending videos found! 02/06 13:30:22 Next idalarmcra = 383938 02/06 13:30:22 DownloadVideos::DownloadVideoOfAlarm 02/06 13:30:22 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:30:22 SAM|1089 02/06 13:30:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132929_27.mp4|108506| 02/06 13:30:23 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132929_27.mp4 02/06 13:30:23 Date = 20190602 02/06 13:30:23 Construct from filename date 02/06 13:30:23 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132929_27.mp4 02/06 13:30:23 Destination file not found 02/06 13:30:23 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132929_27.mp4 02/06 13:30:23 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_132929_27.mp4 02/06 13:30:23 DownloadFile ok... checking file destination 02/06 13:30:23 URLDownloadToFile ok 02/06 13:30:23 Video .sig downloaded ok! 02/06 13:30:24 Snapshot .sig downloaded ok! 02/06 13:30:24 Elapsed download time: 00:00:02 02/06 13:30:24 UpdateVideoname 02/06 13:30:24 Updating: idalarmcra = 383938 02/06 13:30:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383938 ORDER BY IDALARMCRA DESC 02/06 13:30:24 Just before Update() 02/06 13:30:24 Next idalarmcra = 383937 02/06 13:30:24 DownloadVideos::DownloadVideoOfAlarm 02/06 13:30:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:30:24 SAM|1088 02/06 13:30:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132927_169.mp4|106098| 02/06 13:30:24 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132927_169.mp4 02/06 13:30:24 Date = 20190602 02/06 13:30:24 Construct from filename date 02/06 13:30:24 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132927_169.mp4 02/06 13:30:24 Destination file not found 02/06 13:30:24 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132927_169.mp4 02/06 13:30:24 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_132927_169.mp4 02/06 13:30:24 DownloadFile ok... checking file destination 02/06 13:30:24 URLDownloadToFile ok 02/06 13:30:24 Video .sig downloaded ok! 02/06 13:30:24 Snapshot .sig downloaded ok! 02/06 13:30:24 Elapsed download time: 00:00:00 02/06 13:30:24 UpdateVideoname 02/06 13:30:24 Updating: idalarmcra = 383937 02/06 13:30:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383937 ORDER BY IDALARMCRA DESC 02/06 13:30:24 Just before Update() 02/06 13:30:24 Next idalarmcra = 383936 02/06 13:30:24 DownloadVideos::DownloadVideoOfAlarm 02/06 13:30:24 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:30:24 SAM|1087 02/06 13:30:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132925_416.mp4|102509| 02/06 13:30:24 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132925_416.mp4 02/06 13:30:24 Date = 20190602 02/06 13:30:24 Construct from filename date 02/06 13:30:24 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132925_416.mp4 02/06 13:30:24 Destination file not found 02/06 13:30:24 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132925_416.mp4 02/06 13:30:24 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132925_416.mp4 02/06 13:30:25 DownloadFile ok... checking file destination 02/06 13:30:25 URLDownloadToFile ok 02/06 13:30:25 Video .sig downloaded ok! 02/06 13:30:25 Snapshot .sig downloaded ok! 02/06 13:30:25 Elapsed download time: 00:00:01 02/06 13:30:25 UpdateVideoname 02/06 13:30:25 Updating: idalarmcra = 383936 02/06 13:30:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383936 ORDER BY IDALARMCRA DESC 02/06 13:30:25 Just before Update() 02/06 13:30:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:30:35 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:30:35 Don't have work. 02/06 13:30:45 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:30:45 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:30:45 Alarms with pending videos found! 02/06 13:30:45 Next idalarmcra = 383940 02/06 13:30:45 DownloadVideos::DownloadVideoOfAlarm 02/06 13:30:45 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:30:45 SAM|1090 02/06 13:30:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132951_417.mp4|96406| 02/06 13:30:45 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132951_417.mp4 02/06 13:30:45 Date = 20190602 02/06 13:30:45 Construct from filename date 02/06 13:30:45 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132951_417.mp4 02/06 13:30:45 Destination file not found 02/06 13:30:45 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132951_417.mp4 02/06 13:30:45 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_132951_417.mp4 02/06 13:30:46 DownloadFile ok... checking file destination 02/06 13:30:46 URLDownloadToFile ok 02/06 13:30:46 Video .sig downloaded ok! 02/06 13:30:46 Snapshot .sig downloaded ok! 02/06 13:30:46 Elapsed download time: 00:00:01 02/06 13:30:46 UpdateVideoname 02/06 13:30:46 Updating: idalarmcra = 383940 02/06 13:30:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383940 ORDER BY IDALARMCRA DESC 02/06 13:30:46 Just before Update() 02/06 13:30:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:30:56 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:30:56 Alarms with pending videos found! 02/06 13:30:56 Next idalarmcra = 383941 02/06 13:30:56 DownloadVideos::DownloadVideoOfAlarm 02/06 13:30:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:30:56 SAM|1292 02/06 13:30:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133048_92.mp4|118069| 02/06 13:30:56 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133048_92.mp4 02/06 13:30:56 Date = 20190602 02/06 13:30:56 Construct from filename date 02/06 13:30:56 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133048_92.mp4 02/06 13:30:56 Destination file not found 02/06 13:30:56 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133048_92.mp4 02/06 13:30:56 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133048_92.mp4 02/06 13:30:57 DownloadFile ok... checking file destination 02/06 13:30:57 URLDownloadToFile ok 02/06 13:30:57 Video .sig downloaded ok! 02/06 13:30:57 Snapshot .sig downloaded ok! 02/06 13:30:57 Elapsed download time: 00:00:01 02/06 13:30:57 UpdateVideoname 02/06 13:30:57 Updating: idalarmcra = 383941 02/06 13:30:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383941 ORDER BY IDALARMCRA DESC 02/06 13:30:57 Just before Update() 02/06 13:31:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:31:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:31:07 Don't have work. 02/06 13:31:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:31:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:31:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:31:27 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:31:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:31:37 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:31:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:31:47 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:31:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:31:58 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:31:58 Alarms with pending videos found! 02/06 13:31:58 Next idalarmcra = 383945 02/06 13:31:58 DownloadVideos::DownloadVideoOfAlarm 02/06 13:31:58 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:31:58 SAM|1293 02/06 13:31:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133142_93.mp4|118265| 02/06 13:31:58 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133142_93.mp4 02/06 13:31:58 Date = 20190602 02/06 13:31:58 Construct from filename date 02/06 13:31:58 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133142_93.mp4 02/06 13:31:58 Destination file not found 02/06 13:31:58 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133142_93.mp4 02/06 13:31:58 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133142_93.mp4 02/06 13:31:58 DownloadFile ok... checking file destination 02/06 13:31:58 URLDownloadToFile ok 02/06 13:31:58 Video .sig downloaded ok! 02/06 13:31:58 Snapshot .sig downloaded ok! 02/06 13:31:58 Elapsed download time: 00:00:00 02/06 13:31:58 UpdateVideoname 02/06 13:31:58 Updating: idalarmcra = 383945 02/06 13:31:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383945 ORDER BY IDALARMCRA DESC 02/06 13:31:58 Just before Update() 02/06 13:32:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:32:08 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:32:08 Don't have work. 02/06 13:32:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:32:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:32:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:32:29 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:32:29 Alarms with pending videos found! 02/06 13:32:29 Next idalarmcra = 383949 02/06 13:32:29 DownloadVideos::DownloadVideoOfAlarm 02/06 13:32:29 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 13:32:29 SAM|22947 02/06 13:32:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_133239_42.mp4|114993| 02/06 13:32:29 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_133239_42.mp4 02/06 13:32:29 Date = 20190602 02/06 13:32:29 Construct from filename date 02/06 13:32:29 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_133239_42.mp4 02/06 13:32:29 Destination file not found 02/06 13:32:29 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_133239_42.mp4 02/06 13:32:29 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_133239_42.mp4 02/06 13:32:30 DownloadFile ok... checking file destination 02/06 13:32:30 URLDownloadToFile ok 02/06 13:32:30 Video .sig downloaded ok! 02/06 13:32:31 Snapshot .sig downloaded ok! 02/06 13:32:31 Elapsed download time: 00:00:02 02/06 13:32:31 UpdateVideoname 02/06 13:32:31 Updating: idalarmcra = 383949 02/06 13:32:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383949 ORDER BY IDALARMCRA DESC 02/06 13:32:31 Just before Update() 02/06 13:32:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:32:41 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:32:41 Don't have work. 02/06 13:32:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:32:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:33:01 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:33:01 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:33:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:33:11 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:33:11 Alarms with pending videos found! 02/06 13:33:11 Next idalarmcra = 383954 02/06 13:33:11 DownloadVideos::DownloadVideoOfAlarm 02/06 13:33:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:33:11 SAM|1091 02/06 13:33:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133218_170.mp4|94592| 02/06 13:33:11 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133218_170.mp4 02/06 13:33:11 Date = 20190602 02/06 13:33:11 Construct from filename date 02/06 13:33:11 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133218_170.mp4 02/06 13:33:11 Destination file not found 02/06 13:33:11 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133218_170.mp4 02/06 13:33:11 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133218_170.mp4 02/06 13:33:12 DownloadFile ok... checking file destination 02/06 13:33:12 URLDownloadToFile ok 02/06 13:33:12 Video .sig downloaded ok! 02/06 13:33:12 Snapshot .sig downloaded ok! 02/06 13:33:12 Elapsed download time: 00:00:01 02/06 13:33:12 UpdateVideoname 02/06 13:33:12 Updating: idalarmcra = 383954 02/06 13:33:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383954 ORDER BY IDALARMCRA DESC 02/06 13:33:12 Just before Update() 02/06 13:33:12 Next idalarmcra = 383953 02/06 13:33:12 DownloadVideos::DownloadVideoOfAlarm 02/06 13:33:12 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:33:12 SAM|1294 02/06 13:33:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133303_52.mp4|113733| 02/06 13:33:13 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133303_52.mp4 02/06 13:33:13 Date = 20190602 02/06 13:33:13 Construct from filename date 02/06 13:33:13 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133303_52.mp4 02/06 13:33:13 Destination file not found 02/06 13:33:13 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133303_52.mp4 02/06 13:33:13 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133303_52.mp4 02/06 13:33:13 DownloadFile ok... checking file destination 02/06 13:33:13 URLDownloadToFile ok 02/06 13:33:14 Video .sig downloaded ok! 02/06 13:33:14 Snapshot .sig downloaded ok! 02/06 13:33:14 Elapsed download time: 00:00:02 02/06 13:33:14 UpdateVideoname 02/06 13:33:14 Updating: idalarmcra = 383953 02/06 13:33:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383953 ORDER BY IDALARMCRA DESC 02/06 13:33:14 Just before Update() 02/06 13:33:14 Next idalarmcra = 383952 02/06 13:33:14 DownloadVideos::DownloadVideoOfAlarm 02/06 13:33:14 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:33:14 SAM|742 02/06 13:33:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133258_26.mp4|104484| 02/06 13:33:14 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133258_26.mp4 02/06 13:33:14 Date = 20190602 02/06 13:33:14 Construct from filename date 02/06 13:33:14 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133258_26.mp4 02/06 13:33:14 Destination file not found 02/06 13:33:14 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133258_26.mp4 02/06 13:33:14 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133258_26.mp4 02/06 13:33:15 DownloadFile ok... checking file destination 02/06 13:33:15 URLDownloadToFile ok 02/06 13:33:15 Video .sig downloaded ok! 02/06 13:33:15 Snapshot .sig downloaded ok! 02/06 13:33:15 Elapsed download time: 00:00:01 02/06 13:33:15 UpdateVideoname 02/06 13:33:15 Updating: idalarmcra = 383952 02/06 13:33:15 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383952 ORDER BY IDALARMCRA DESC 02/06 13:33:15 Just before Update() 02/06 13:33:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:33:25 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:33:25 Alarms with pending videos found! 02/06 13:33:25 Next idalarmcra = 383956 02/06 13:33:25 DownloadVideos::DownloadVideoOfAlarm 02/06 13:33:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 13:33:25 SAM|15975 02/06 13:33:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_133320_14.mp4|100478| 02/06 13:33:26 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_133320_14.mp4 02/06 13:33:26 Date = 20190602 02/06 13:33:26 Construct from filename date 02/06 13:33:26 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_133320_14.mp4 02/06 13:33:26 Destination file not found 02/06 13:33:26 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_133320_14.mp4 02/06 13:33:26 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam4_Event2_20190602_133320_14.mp4 02/06 13:33:28 DownloadFile ok... checking file destination 02/06 13:33:28 URLDownloadToFile ok 02/06 13:33:28 Video .sig downloaded ok! 02/06 13:33:28 Snapshot .sig downloaded ok! 02/06 13:33:28 Elapsed download time: 00:00:03 02/06 13:33:28 UpdateVideoname 02/06 13:33:28 Updating: idalarmcra = 383956 02/06 13:33:28 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383956 ORDER BY IDALARMCRA DESC 02/06 13:33:28 Just before Update() 02/06 13:33:28 Next idalarmcra = 383955 02/06 13:33:28 DownloadVideos::DownloadVideoOfAlarm 02/06 13:33:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:33:28 SAM|1092 02/06 13:33:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133226_28.mp4|99875| 02/06 13:33:29 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133226_28.mp4 02/06 13:33:29 Date = 20190602 02/06 13:33:29 Construct from filename date 02/06 13:33:29 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133226_28.mp4 02/06 13:33:29 Destination file not found 02/06 13:33:29 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133226_28.mp4 02/06 13:33:29 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133226_28.mp4 02/06 13:33:29 DownloadFile ok... checking file destination 02/06 13:33:29 URLDownloadToFile ok 02/06 13:33:29 Video .sig downloaded ok! 02/06 13:33:29 Snapshot .sig downloaded ok! 02/06 13:33:29 Elapsed download time: 00:00:01 02/06 13:33:30 UpdateVideoname 02/06 13:33:30 Updating: idalarmcra = 383955 02/06 13:33:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383955 ORDER BY IDALARMCRA DESC 02/06 13:33:30 Just before Update() 02/06 13:33:40 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:33:40 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:33:40 Don't have work. 02/06 13:33:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:33:50 [D] Query(18ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:34:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:34:00 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:34:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:34:10 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:34:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:34:21 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:34:31 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:34:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:34:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:34:41 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:34:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:34:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:35:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:35:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:35:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:35:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 13:35:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:35:21 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:35:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:35:31 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:35:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:35:41 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:35:41 Alarms with pending videos found! 02/06 13:35:41 Next idalarmcra = 383961 02/06 13:35:41 DownloadVideos::DownloadVideoOfAlarm 02/06 13:35:41 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:35:41 SAM|743 02/06 13:35:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_133533_106.mp4|100359| 02/06 13:35:42 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_133533_106.mp4 02/06 13:35:42 Date = 20190602 02/06 13:35:42 Construct from filename date 02/06 13:35:42 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_133533_106.mp4 02/06 13:35:42 Destination file not found 02/06 13:35:42 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_133533_106.mp4 02/06 13:35:42 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_133533_106.mp4 02/06 13:35:42 DownloadFile ok... checking file destination 02/06 13:35:42 URLDownloadToFile ok 02/06 13:35:42 Video .sig downloaded ok! 02/06 13:35:42 Snapshot .sig downloaded ok! 02/06 13:35:42 Elapsed download time: 00:00:01 02/06 13:35:42 UpdateVideoname 02/06 13:35:42 Updating: idalarmcra = 383961 02/06 13:35:42 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383961 ORDER BY IDALARMCRA DESC 02/06 13:35:42 Just before Update() 02/06 13:35:42 Next idalarmcra = 383960 02/06 13:35:42 DownloadVideos::DownloadVideoOfAlarm 02/06 13:35:42 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:35:42 SAM|1093 02/06 13:35:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133443_171.mp4|102805| 02/06 13:35:43 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133443_171.mp4 02/06 13:35:43 Date = 20190602 02/06 13:35:43 Construct from filename date 02/06 13:35:43 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133443_171.mp4 02/06 13:35:43 Destination file not found 02/06 13:35:43 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133443_171.mp4 02/06 13:35:43 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133443_171.mp4 02/06 13:35:43 DownloadFile ok... checking file destination 02/06 13:35:43 URLDownloadToFile ok 02/06 13:35:43 Video .sig downloaded ok! 02/06 13:35:43 Snapshot .sig downloaded ok! 02/06 13:35:43 Elapsed download time: 00:00:01 02/06 13:35:44 UpdateVideoname 02/06 13:35:44 Updating: idalarmcra = 383960 02/06 13:35:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383960 ORDER BY IDALARMCRA DESC 02/06 13:35:44 Just before Update() 02/06 13:35:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:35:54 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:35:54 Don't have work. 02/06 13:36:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:36:04 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:36:04 Alarms with pending videos found! 02/06 13:36:04 Next idalarmcra = 383963 02/06 13:36:04 DownloadVideos::DownloadVideoOfAlarm 02/06 13:36:04 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:36:04 SAM|744 02/06 13:36:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_133552_107.mp4|102853| 02/06 13:36:04 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_133552_107.mp4 02/06 13:36:04 Date = 20190602 02/06 13:36:04 Construct from filename date 02/06 13:36:04 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_133552_107.mp4 02/06 13:36:04 Destination file not found 02/06 13:36:04 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_133552_107.mp4 02/06 13:36:04 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_133552_107.mp4 02/06 13:36:04 DownloadFile ok... checking file destination 02/06 13:36:04 URLDownloadToFile ok 02/06 13:36:04 Video .sig downloaded ok! 02/06 13:36:04 Snapshot .sig downloaded ok! 02/06 13:36:04 Elapsed download time: 00:00:00 02/06 13:36:04 UpdateVideoname 02/06 13:36:04 Updating: idalarmcra = 383963 02/06 13:36:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383963 ORDER BY IDALARMCRA DESC 02/06 13:36:04 Just before Update() 02/06 13:36:04 Next idalarmcra = 383962 02/06 13:36:04 DownloadVideos::DownloadVideoOfAlarm 02/06 13:36:04 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:36:04 SAM|1094 02/06 13:36:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133506_418.mp4|107223| 02/06 13:36:05 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133506_418.mp4 02/06 13:36:05 Date = 20190602 02/06 13:36:05 Construct from filename date 02/06 13:36:05 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133506_418.mp4 02/06 13:36:05 Destination file not found 02/06 13:36:05 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133506_418.mp4 02/06 13:36:05 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133506_418.mp4 02/06 13:36:05 DownloadFile ok... checking file destination 02/06 13:36:05 URLDownloadToFile ok 02/06 13:36:05 Video .sig downloaded ok! 02/06 13:36:05 Snapshot .sig downloaded ok! 02/06 13:36:05 Elapsed download time: 00:00:01 02/06 13:36:05 UpdateVideoname 02/06 13:36:05 Updating: idalarmcra = 383962 02/06 13:36:05 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383962 ORDER BY IDALARMCRA DESC 02/06 13:36:05 Just before Update() 02/06 13:36:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:36:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:36:16 Don't have work. 02/06 13:36:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:36:26 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:36:26 Alarms with pending videos found! 02/06 13:36:26 Next idalarmcra = 383964 02/06 13:36:26 DownloadVideos::DownloadVideoOfAlarm 02/06 13:36:26 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:36:26 SAM|4700 02/06 13:36:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_133740_140.mp4|114790| 02/06 13:36:26 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_133740_140.mp4 02/06 13:36:26 Date = 20190602 02/06 13:36:26 Construct from filename date 02/06 13:36:26 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_133740_140.mp4 02/06 13:36:26 Destination file not found 02/06 13:36:26 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_133740_140.mp4 02/06 13:36:26 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_133740_140.mp4 02/06 13:36:33 DownloadFile ok... checking file destination 02/06 13:36:33 URLDownloadToFile ok 02/06 13:36:34 Video .sig downloaded ok! 02/06 13:36:34 Snapshot .sig downloaded ok! 02/06 13:36:34 Elapsed download time: 00:00:08 02/06 13:36:34 UpdateVideoname 02/06 13:36:34 Updating: idalarmcra = 383964 02/06 13:36:34 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383964 ORDER BY IDALARMCRA DESC 02/06 13:36:34 Rollback executed. 02/06 13:36:34 RecordSet closed. 02/06 13:36:34 CheckDDBB 02/06 13:36:34 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:36:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:36:44 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:36:44 Alarms with pending videos found! 02/06 13:36:44 Next idalarmcra = 383966 02/06 13:36:44 DownloadVideos::DownloadVideoOfAlarm 02/06 13:36:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:36:44 SAM|1096 02/06 13:36:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133540_29.mp4|104983| 02/06 13:36:45 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133540_29.mp4 02/06 13:36:45 Date = 20190602 02/06 13:36:45 Construct from filename date 02/06 13:36:45 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133540_29.mp4 02/06 13:36:45 Destination file not found 02/06 13:36:45 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133540_29.mp4 02/06 13:36:45 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133540_29.mp4 02/06 13:36:45 DownloadFile ok... checking file destination 02/06 13:36:45 URLDownloadToFile ok 02/06 13:36:45 Video .sig downloaded ok! 02/06 13:36:45 Snapshot .sig downloaded ok! 02/06 13:36:45 Elapsed download time: 00:00:01 02/06 13:36:45 UpdateVideoname 02/06 13:36:45 Updating: idalarmcra = 383966 02/06 13:36:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383966 ORDER BY IDALARMCRA DESC 02/06 13:36:45 Just before Update() 02/06 13:36:45 Next idalarmcra = 383965 02/06 13:36:45 DownloadVideos::DownloadVideoOfAlarm 02/06 13:36:45 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:36:45 SAM|1095 02/06 13:36:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133537_419.mp4|107339| 02/06 13:36:45 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133537_419.mp4 02/06 13:36:45 Date = 20190602 02/06 13:36:45 Construct from filename date 02/06 13:36:45 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133537_419.mp4 02/06 13:36:45 Destination file not found 02/06 13:36:45 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133537_419.mp4 02/06 13:36:45 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133537_419.mp4 02/06 13:36:45 DownloadFile ok... checking file destination 02/06 13:36:45 URLDownloadToFile ok 02/06 13:36:46 Video .sig downloaded ok! 02/06 13:36:46 Snapshot .sig downloaded ok! 02/06 13:36:46 Elapsed download time: 00:00:01 02/06 13:36:46 UpdateVideoname 02/06 13:36:46 Updating: idalarmcra = 383965 02/06 13:36:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383965 ORDER BY IDALARMCRA DESC 02/06 13:36:46 Just before Update() 02/06 13:36:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:36:56 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:36:56 Don't have work. 02/06 13:37:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:37:06 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:37:06 Alarms with pending videos found! 02/06 13:37:06 Next idalarmcra = 383969 02/06 13:37:06 DownloadVideos::DownloadVideoOfAlarm 02/06 13:37:06 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 13:37:06 SAM|3947 02/06 13:37:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_133655_7.mp4|102712| 02/06 13:37:06 FilenameSrc = 20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_133655_7.mp4 02/06 13:37:06 Date = 20190602 02/06 13:37:06 Construct from filename date 02/06 13:37:06 Destination: c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_133655_7.mp4 02/06 13:37:06 Destination file not found 02/06 13:37:06 http://192.168.29.100:21000/20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_133655_7.mp4 02/06 13:37:06 c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_133655_7.mp4 02/06 13:37:08 DownloadFile ok... checking file destination 02/06 13:37:08 URLDownloadToFile ok 02/06 13:37:08 Video .sig downloaded ok! 02/06 13:37:08 Snapshot .sig downloaded ok! 02/06 13:37:08 Elapsed download time: 00:00:02 02/06 13:37:09 UpdateVideoname 02/06 13:37:09 Updating: idalarmcra = 383969 02/06 13:37:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383969 ORDER BY IDALARMCRA DESC 02/06 13:37:09 Just before Update() 02/06 13:37:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:37:19 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:37:19 Alarms with pending videos found! 02/06 13:37:19 Next idalarmcra = 383970 02/06 13:37:19 DownloadVideos::DownloadVideoOfAlarm 02/06 13:37:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 31 02/06 13:37:19 SAM|13168 02/06 13:37:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_133704_9.mp4|113633| 02/06 13:37:20 FilenameSrc = 20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_133704_9.mp4 02/06 13:37:20 Date = 20190602 02/06 13:37:20 Construct from filename date 02/06 13:37:20 Destination: c:\Davantis\CRAServer\\SITE_31\\20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_133704_9.mp4 02/06 13:37:20 Destination file not found 02/06 13:37:20 http://192.168.26.100:21000/20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_133704_9.mp4 02/06 13:37:20 c:\Davantis\CRAServer\\SITE_31\\20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_133704_9.mp4 02/06 13:37:22 DownloadFile ok... checking file destination 02/06 13:37:22 URLDownloadToFile ok 02/06 13:37:22 Video .sig downloaded ok! 02/06 13:37:23 Snapshot .sig downloaded ok! 02/06 13:37:23 Elapsed download time: 00:00:04 02/06 13:37:23 UpdateVideoname 02/06 13:37:23 Updating: idalarmcra = 383970 02/06 13:37:23 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383970 ORDER BY IDALARMCRA DESC 02/06 13:37:23 Rollback executed. 02/06 13:37:23 RecordSet closed. 02/06 13:37:23 CheckDDBB 02/06 13:37:23 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:37:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:37:33 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:37:33 Alarms with pending videos found! 02/06 13:37:33 Next idalarmcra = 383972 02/06 13:37:33 DownloadVideos::DownloadVideoOfAlarm 02/06 13:37:33 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:37:33 SAM|1296 02/06 13:37:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133721_53.mp4|113072| 02/06 13:37:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133721_53.mp4 02/06 13:37:33 Date = 20190602 02/06 13:37:33 Construct from filename date 02/06 13:37:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133721_53.mp4 02/06 13:37:33 Destination file not found 02/06 13:37:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133721_53.mp4 02/06 13:37:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133721_53.mp4 02/06 13:37:34 DownloadFile ok... checking file destination 02/06 13:37:34 URLDownloadToFile ok 02/06 13:37:34 Video .sig downloaded ok! 02/06 13:37:34 Snapshot .sig downloaded ok! 02/06 13:37:34 Elapsed download time: 00:00:01 02/06 13:37:34 UpdateVideoname 02/06 13:37:34 Updating: idalarmcra = 383972 02/06 13:37:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383972 ORDER BY IDALARMCRA DESC 02/06 13:37:34 Just before Update() 02/06 13:37:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:37:44 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:37:44 Alarms with pending videos found! 02/06 13:37:44 Next idalarmcra = 383974 02/06 13:37:44 DownloadVideos::DownloadVideoOfAlarm 02/06 13:37:44 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:37:44 SAM|1297 02/06 13:37:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:37:44 NOK answer received 02/06 13:37:44 UpdateVideoname 02/06 13:37:44 Updating: idalarmcra = 383974 02/06 13:37:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383974 ORDER BY IDALARMCRA DESC 02/06 13:37:44 Just before Update() 02/06 13:37:54 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:37:55 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:37:55 Alarms with pending videos found! 02/06 13:37:55 Next idalarmcra = 383975 02/06 13:37:55 DownloadVideos::DownloadVideoOfAlarm 02/06 13:37:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:37:55 SAM|1298 02/06 13:37:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_133746_108.mp4|96513| 02/06 13:37:55 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_133746_108.mp4 02/06 13:37:55 Date = 20190602 02/06 13:37:55 Construct from filename date 02/06 13:37:55 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_133746_108.mp4 02/06 13:37:55 Destination file not found 02/06 13:37:55 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_133746_108.mp4 02/06 13:37:55 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_133746_108.mp4 02/06 13:37:55 DownloadFile ok... checking file destination 02/06 13:37:55 URLDownloadToFile ok 02/06 13:37:55 Video .sig downloaded ok! 02/06 13:37:55 Snapshot .sig downloaded ok! 02/06 13:37:55 Elapsed download time: 00:00:00 02/06 13:37:55 UpdateVideoname 02/06 13:37:55 Updating: idalarmcra = 383975 02/06 13:37:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383975 ORDER BY IDALARMCRA DESC 02/06 13:37:55 Just before Update() 02/06 13:38:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:38:06 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:38:06 Alarms with pending videos found! 02/06 13:38:06 Next idalarmcra = 383976 02/06 13:38:06 DownloadVideos::DownloadVideoOfAlarm 02/06 13:38:06 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:38:06 SAM|1299 02/06 13:38:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133759_95.mp4|104690| 02/06 13:38:06 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133759_95.mp4 02/06 13:38:06 Date = 20190602 02/06 13:38:06 Construct from filename date 02/06 13:38:06 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133759_95.mp4 02/06 13:38:06 Destination file not found 02/06 13:38:06 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133759_95.mp4 02/06 13:38:06 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133759_95.mp4 02/06 13:38:06 DownloadFile ok... checking file destination 02/06 13:38:06 URLDownloadToFile ok 02/06 13:38:06 Video .sig downloaded ok! 02/06 13:38:06 Snapshot .sig downloaded ok! 02/06 13:38:06 Elapsed download time: 00:00:00 02/06 13:38:06 UpdateVideoname 02/06 13:38:06 Updating: idalarmcra = 383976 02/06 13:38:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383976 ORDER BY IDALARMCRA DESC 02/06 13:38:06 Just before Update() 02/06 13:38:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:38:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:38:16 Don't have work. 02/06 13:38:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:38:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:38:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:38:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:38:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:38:47 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:38:47 Alarms with pending videos found! 02/06 13:38:47 Next idalarmcra = 383978 02/06 13:38:47 DownloadVideos::DownloadVideoOfAlarm 02/06 13:38:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:38:47 SAM|1301 02/06 13:38:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_133838_109.mp4|111951| 02/06 13:38:47 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_133838_109.mp4 02/06 13:38:47 Date = 20190602 02/06 13:38:47 Construct from filename date 02/06 13:38:47 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_133838_109.mp4 02/06 13:38:47 Destination file not found 02/06 13:38:47 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_133838_109.mp4 02/06 13:38:47 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_133838_109.mp4 02/06 13:38:47 DownloadFile ok... checking file destination 02/06 13:38:47 URLDownloadToFile ok 02/06 13:38:47 Video .sig downloaded ok! 02/06 13:38:48 Snapshot .sig downloaded ok! 02/06 13:38:48 Elapsed download time: 00:00:01 02/06 13:38:48 UpdateVideoname 02/06 13:38:48 Updating: idalarmcra = 383978 02/06 13:38:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383978 ORDER BY IDALARMCRA DESC 02/06 13:38:48 Just before Update() 02/06 13:38:48 Next idalarmcra = 383977 02/06 13:38:48 DownloadVideos::DownloadVideoOfAlarm 02/06 13:38:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:38:48 SAM|1300 02/06 13:38:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133836_54.mp4|113495| 02/06 13:38:48 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133836_54.mp4 02/06 13:38:48 Date = 20190602 02/06 13:38:48 Construct from filename date 02/06 13:38:48 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133836_54.mp4 02/06 13:38:48 Destination file not found 02/06 13:38:48 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133836_54.mp4 02/06 13:38:48 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_133836_54.mp4 02/06 13:38:48 DownloadFile ok... checking file destination 02/06 13:38:48 URLDownloadToFile ok 02/06 13:38:48 Video .sig downloaded ok! 02/06 13:38:48 Snapshot .sig downloaded ok! 02/06 13:38:48 Elapsed download time: 00:00:00 02/06 13:38:48 UpdateVideoname 02/06 13:38:48 Updating: idalarmcra = 383977 02/06 13:38:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383977 ORDER BY IDALARMCRA DESC 02/06 13:38:48 Just before Update() 02/06 13:38:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:38:59 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:38:59 Alarms with pending videos found! 02/06 13:38:59 Next idalarmcra = 383980 02/06 13:38:59 DownloadVideos::DownloadVideoOfAlarm 02/06 13:38:59 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:38:59 SAM|1303 02/06 13:38:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:38:59 NOK answer received 02/06 13:38:59 UpdateVideoname 02/06 13:38:59 Updating: idalarmcra = 383980 02/06 13:38:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383980 ORDER BY IDALARMCRA DESC 02/06 13:38:59 Just before Update() 02/06 13:38:59 Next idalarmcra = 383979 02/06 13:38:59 DownloadVideos::DownloadVideoOfAlarm 02/06 13:38:59 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:38:59 SAM|1302 02/06 13:38:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_133845_176.mp4|106091| 02/06 13:38:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_133845_176.mp4 02/06 13:38:59 Date = 20190602 02/06 13:38:59 Construct from filename date 02/06 13:38:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_133845_176.mp4 02/06 13:38:59 Destination file not found 02/06 13:38:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_133845_176.mp4 02/06 13:38:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_133845_176.mp4 02/06 13:39:00 DownloadFile ok... checking file destination 02/06 13:39:00 URLDownloadToFile ok 02/06 13:39:00 Video .sig downloaded ok! 02/06 13:39:00 Snapshot .sig downloaded ok! 02/06 13:39:00 Elapsed download time: 00:00:01 02/06 13:39:00 UpdateVideoname 02/06 13:39:00 Updating: idalarmcra = 383979 02/06 13:39:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383979 ORDER BY IDALARMCRA DESC 02/06 13:39:00 Just before Update() 02/06 13:39:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:39:10 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:39:10 Alarms with pending videos found! 02/06 13:39:10 Next idalarmcra = 383980 02/06 13:39:10 DownloadVideos::DownloadVideoOfAlarm 02/06 13:39:10 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:39:10 SAM|1303 02/06 13:39:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133855_96.mp4|108183| 02/06 13:39:10 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133855_96.mp4 02/06 13:39:10 Date = 20190602 02/06 13:39:10 Construct from filename date 02/06 13:39:10 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133855_96.mp4 02/06 13:39:10 Destination file not found 02/06 13:39:10 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133855_96.mp4 02/06 13:39:10 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_133855_96.mp4 02/06 13:39:10 DownloadFile ok... checking file destination 02/06 13:39:10 URLDownloadToFile ok 02/06 13:39:11 Video .sig downloaded ok! 02/06 13:39:11 Snapshot .sig downloaded ok! 02/06 13:39:11 Elapsed download time: 00:00:01 02/06 13:39:11 UpdateVideoname 02/06 13:39:11 Updating: idalarmcra = 383980 02/06 13:39:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383980 ORDER BY IDALARMCRA DESC 02/06 13:39:11 Just before Update() 02/06 13:39:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:39:21 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:39:21 Don't have work. 02/06 13:39:31 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:39:31 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:39:31 Alarms with pending videos found! 02/06 13:39:31 Next idalarmcra = 383981 02/06 13:39:31 DownloadVideos::DownloadVideoOfAlarm 02/06 13:39:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:39:31 SAM|1097 02/06 13:39:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:39:31 NOK answer received 02/06 13:39:31 UpdateVideoname 02/06 13:39:31 Updating: idalarmcra = 383981 02/06 13:39:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383981 ORDER BY IDALARMCRA DESC 02/06 13:39:31 Just before Update() 02/06 13:39:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:39:41 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:39:41 Alarms with pending videos found! 02/06 13:39:41 Next idalarmcra = 383984 02/06 13:39:41 DownloadVideos::DownloadVideoOfAlarm 02/06 13:39:41 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:39:41 SAM|745 02/06 13:39:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133936_27.mp4|105463| 02/06 13:39:42 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133936_27.mp4 02/06 13:39:42 Date = 20190602 02/06 13:39:42 Construct from filename date 02/06 13:39:42 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133936_27.mp4 02/06 13:39:42 Destination file not found 02/06 13:39:42 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133936_27.mp4 02/06 13:39:42 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133936_27.mp4 02/06 13:39:42 DownloadFile ok... checking file destination 02/06 13:39:42 URLDownloadToFile ok 02/06 13:39:42 Video .sig downloaded ok! 02/06 13:39:43 Snapshot .sig downloaded ok! 02/06 13:39:43 Elapsed download time: 00:00:02 02/06 13:39:43 UpdateVideoname 02/06 13:39:43 Updating: idalarmcra = 383984 02/06 13:39:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383984 ORDER BY IDALARMCRA DESC 02/06 13:39:43 Just before Update() 02/06 13:39:43 Next idalarmcra = 383983 02/06 13:39:43 DownloadVideos::DownloadVideoOfAlarm 02/06 13:39:43 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:39:43 SAM|1099 02/06 13:39:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133847_30.mp4|101752| 02/06 13:39:43 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133847_30.mp4 02/06 13:39:43 Date = 20190602 02/06 13:39:43 Construct from filename date 02/06 13:39:43 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133847_30.mp4 02/06 13:39:43 Destination file not found 02/06 13:39:43 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133847_30.mp4 02/06 13:39:43 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_133847_30.mp4 02/06 13:39:43 DownloadFile ok... checking file destination 02/06 13:39:43 URLDownloadToFile ok 02/06 13:39:43 Video .sig downloaded ok! 02/06 13:39:44 Snapshot .sig downloaded ok! 02/06 13:39:44 Elapsed download time: 00:00:01 02/06 13:39:44 UpdateVideoname 02/06 13:39:44 Updating: idalarmcra = 383983 02/06 13:39:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383983 ORDER BY IDALARMCRA DESC 02/06 13:39:44 Just before Update() 02/06 13:39:44 Next idalarmcra = 383982 02/06 13:39:44 DownloadVideos::DownloadVideoOfAlarm 02/06 13:39:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:39:44 SAM|1098 02/06 13:39:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133844_172.mp4|99178| 02/06 13:39:44 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133844_172.mp4 02/06 13:39:44 Date = 20190602 02/06 13:39:44 Construct from filename date 02/06 13:39:44 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133844_172.mp4 02/06 13:39:44 Destination file not found 02/06 13:39:44 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133844_172.mp4 02/06 13:39:44 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_133844_172.mp4 02/06 13:39:44 DownloadFile ok... checking file destination 02/06 13:39:44 URLDownloadToFile ok 02/06 13:39:44 Video .sig downloaded ok! 02/06 13:39:44 Snapshot .sig downloaded ok! 02/06 13:39:44 Elapsed download time: 00:00:00 02/06 13:39:44 UpdateVideoname 02/06 13:39:44 Updating: idalarmcra = 383982 02/06 13:39:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383982 ORDER BY IDALARMCRA DESC 02/06 13:39:44 Just before Update() 02/06 13:39:44 Next idalarmcra = 383981 02/06 13:39:44 DownloadVideos::DownloadVideoOfAlarm 02/06 13:39:44 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:39:44 SAM|1097 02/06 13:39:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133841_420.mp4|107538| 02/06 13:39:44 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133841_420.mp4 02/06 13:39:44 Date = 20190602 02/06 13:39:44 Construct from filename date 02/06 13:39:44 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133841_420.mp4 02/06 13:39:44 Destination file not found 02/06 13:39:44 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133841_420.mp4 02/06 13:39:44 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_133841_420.mp4 02/06 13:39:45 DownloadFile ok... checking file destination 02/06 13:39:45 URLDownloadToFile ok 02/06 13:39:45 Video .sig downloaded ok! 02/06 13:39:45 Snapshot .sig downloaded ok! 02/06 13:39:45 Elapsed download time: 00:00:01 02/06 13:39:45 UpdateVideoname 02/06 13:39:45 Updating: idalarmcra = 383981 02/06 13:39:45 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383981 ORDER BY IDALARMCRA DESC 02/06 13:39:45 Just before Update() 02/06 13:39:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:39:55 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:39:55 Alarms with pending videos found! 02/06 13:39:55 Next idalarmcra = 383985 02/06 13:39:55 DownloadVideos::DownloadVideoOfAlarm 02/06 13:39:55 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:39:55 SAM|746 02/06 13:39:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133945_28.mp4|110634| 02/06 13:39:55 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133945_28.mp4 02/06 13:39:55 Date = 20190602 02/06 13:39:55 Construct from filename date 02/06 13:39:55 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133945_28.mp4 02/06 13:39:55 Destination file not found 02/06 13:39:55 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133945_28.mp4 02/06 13:39:55 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_133945_28.mp4 02/06 13:39:56 DownloadFile ok... checking file destination 02/06 13:39:56 URLDownloadToFile ok 02/06 13:39:56 Video .sig downloaded ok! 02/06 13:39:56 Snapshot .sig downloaded ok! 02/06 13:39:56 Elapsed download time: 00:00:01 02/06 13:39:56 UpdateVideoname 02/06 13:39:56 Updating: idalarmcra = 383985 02/06 13:39:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383985 ORDER BY IDALARMCRA DESC 02/06 13:39:56 Just before Update() 02/06 13:40:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:40:06 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:40:06 Don't have work. 02/06 13:40:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:40:16 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:40:16 Alarms with pending videos found! 02/06 13:40:16 Next idalarmcra = 383986 02/06 13:40:16 DownloadVideos::DownloadVideoOfAlarm 02/06 13:40:16 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:40:16 SAM|1304 02/06 13:40:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134001_97.mp4|102118| 02/06 13:40:17 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134001_97.mp4 02/06 13:40:17 Date = 20190602 02/06 13:40:17 Construct from filename date 02/06 13:40:17 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134001_97.mp4 02/06 13:40:17 Destination file not found 02/06 13:40:17 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134001_97.mp4 02/06 13:40:17 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134001_97.mp4 02/06 13:40:21 DownloadFile ok... checking file destination 02/06 13:40:21 URLDownloadToFile ok 02/06 13:40:22 Video .sig downloaded ok! 02/06 13:40:22 Snapshot .sig downloaded ok! 02/06 13:40:22 Elapsed download time: 00:00:06 02/06 13:40:22 UpdateVideoname 02/06 13:40:22 Updating: idalarmcra = 383986 02/06 13:40:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383986 ORDER BY IDALARMCRA DESC 02/06 13:40:22 Just before Update() 02/06 13:40:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:40:32 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:40:32 Alarms with pending videos found! 02/06 13:40:32 Next idalarmcra = 383988 02/06 13:40:32 DownloadVideos::DownloadVideoOfAlarm 02/06 13:40:32 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 31 02/06 13:40:32 SAM|13169 02/06 13:40:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_134026_10.mp4|111897| 02/06 13:40:32 FilenameSrc = 20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_134026_10.mp4 02/06 13:40:32 Date = 20190602 02/06 13:40:32 Construct from filename date 02/06 13:40:32 Destination: c:\Davantis\CRAServer\\SITE_31\\20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_134026_10.mp4 02/06 13:40:32 Destination file not found 02/06 13:40:32 http://192.168.26.100:21000/20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_134026_10.mp4 02/06 13:40:32 c:\Davantis\CRAServer\\SITE_31\\20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_134026_10.mp4 02/06 13:40:35 DownloadFile ok... checking file destination 02/06 13:40:35 URLDownloadToFile ok 02/06 13:40:35 Video .sig downloaded ok! 02/06 13:40:36 Snapshot .sig downloaded ok! 02/06 13:40:36 Elapsed download time: 00:00:04 02/06 13:40:36 UpdateVideoname 02/06 13:40:36 Updating: idalarmcra = 383988 02/06 13:40:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383988 ORDER BY IDALARMCRA DESC 02/06 13:40:36 Just before Update() 02/06 13:40:36 Next idalarmcra = 383987 02/06 13:40:36 DownloadVideos::DownloadVideoOfAlarm 02/06 13:40:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 13:40:36 SAM|163128 02/06 13:40:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_135306_97.mp4|112723| 02/06 13:40:36 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_135306_97.mp4 02/06 13:40:36 Date = 20190602 02/06 13:40:36 Construct from filename date 02/06 13:40:36 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_135306_97.mp4 02/06 13:40:36 Destination file not found 02/06 13:40:36 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_135306_97.mp4 02/06 13:40:36 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_135306_97.mp4 02/06 13:40:37 DownloadFile ok... checking file destination 02/06 13:40:37 URLDownloadToFile ok 02/06 13:40:37 Video .sig downloaded ok! 02/06 13:40:38 Snapshot .sig downloaded ok! 02/06 13:40:38 Elapsed download time: 00:00:02 02/06 13:40:38 UpdateVideoname 02/06 13:40:38 Updating: idalarmcra = 383987 02/06 13:40:38 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383987 ORDER BY IDALARMCRA DESC 02/06 13:40:38 Rollback executed. 02/06 13:40:38 RecordSet closed. 02/06 13:40:38 CheckDDBB 02/06 13:40:38 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:40:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:40:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:40:48 Don't have work. 02/06 13:40:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:40:58 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:40:58 Alarms with pending videos found! 02/06 13:40:58 Next idalarmcra = 383990 02/06 13:40:58 DownloadVideos::DownloadVideoOfAlarm 02/06 13:40:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:40:58 SAM|1306 02/06 13:40:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:40:58 NOK answer received 02/06 13:40:59 UpdateVideoname 02/06 13:40:59 Updating: idalarmcra = 383990 02/06 13:40:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383990 ORDER BY IDALARMCRA DESC 02/06 13:40:59 Just before Update() 02/06 13:40:59 Next idalarmcra = 383989 02/06 13:40:59 DownloadVideos::DownloadVideoOfAlarm 02/06 13:40:59 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:40:59 SAM|1305 02/06 13:40:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134052_110.mp4|104061| 02/06 13:40:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134052_110.mp4 02/06 13:40:59 Date = 20190602 02/06 13:40:59 Construct from filename date 02/06 13:40:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134052_110.mp4 02/06 13:40:59 Destination file not found 02/06 13:40:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134052_110.mp4 02/06 13:40:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134052_110.mp4 02/06 13:41:03 DownloadFile ok... checking file destination 02/06 13:41:03 URLDownloadToFile ok 02/06 13:41:04 Video .sig downloaded ok! 02/06 13:41:04 Snapshot .sig downloaded ok! 02/06 13:41:04 Elapsed download time: 00:00:05 02/06 13:41:04 UpdateVideoname 02/06 13:41:04 Updating: idalarmcra = 383989 02/06 13:41:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383989 ORDER BY IDALARMCRA DESC 02/06 13:41:04 Just before Update() 02/06 13:41:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:41:14 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:41:14 Alarms with pending videos found! 02/06 13:41:14 Next idalarmcra = 383994 02/06 13:41:14 DownloadVideos::DownloadVideoOfAlarm 02/06 13:41:14 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:41:14 SAM|4701 02/06 13:41:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_134231_141.mp4|112779| 02/06 13:41:15 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_134231_141.mp4 02/06 13:41:15 Date = 20190602 02/06 13:41:15 Construct from filename date 02/06 13:41:15 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_134231_141.mp4 02/06 13:41:15 Destination file not found 02/06 13:41:15 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_134231_141.mp4 02/06 13:41:15 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_134231_141.mp4 02/06 13:41:17 DownloadFile ok... checking file destination 02/06 13:41:17 URLDownloadToFile ok 02/06 13:41:18 Video .sig downloaded ok! 02/06 13:41:18 Snapshot .sig downloaded ok! 02/06 13:41:18 Elapsed download time: 00:00:04 02/06 13:41:19 UpdateVideoname 02/06 13:41:19 Updating: idalarmcra = 383994 02/06 13:41:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383994 ORDER BY IDALARMCRA DESC 02/06 13:41:19 Just before Update() 02/06 13:41:19 Next idalarmcra = 383990 02/06 13:41:19 DownloadVideos::DownloadVideoOfAlarm 02/06 13:41:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:41:19 SAM|1306 02/06 13:41:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134053_98.mp4|103923| 02/06 13:41:19 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134053_98.mp4 02/06 13:41:19 Date = 20190602 02/06 13:41:19 Construct from filename date 02/06 13:41:19 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134053_98.mp4 02/06 13:41:19 Destination file not found 02/06 13:41:19 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134053_98.mp4 02/06 13:41:19 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134053_98.mp4 02/06 13:41:22 DownloadFile ok... checking file destination 02/06 13:41:22 URLDownloadToFile ok 02/06 13:41:22 Video .sig downloaded ok! 02/06 13:41:23 Snapshot .sig downloaded ok! 02/06 13:41:23 Elapsed download time: 00:00:04 02/06 13:41:23 UpdateVideoname 02/06 13:41:23 Updating: idalarmcra = 383990 02/06 13:41:23 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383990 ORDER BY IDALARMCRA DESC 02/06 13:41:23 Just before Update() 02/06 13:41:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:41:33 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:41:33 Alarms with pending videos found! 02/06 13:41:33 Next idalarmcra = 383997 02/06 13:41:33 DownloadVideos::DownloadVideoOfAlarm 02/06 13:41:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:41:33 SAM|1308 02/06 13:41:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134116_111.mp4|101649| 02/06 13:41:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134116_111.mp4 02/06 13:41:33 Date = 20190602 02/06 13:41:33 Construct from filename date 02/06 13:41:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134116_111.mp4 02/06 13:41:33 Destination file not found 02/06 13:41:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134116_111.mp4 02/06 13:41:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134116_111.mp4 02/06 13:41:37 DownloadFile ok... checking file destination 02/06 13:41:37 URLDownloadToFile ok 02/06 13:41:37 Video .sig downloaded ok! 02/06 13:41:37 Snapshot .sig downloaded ok! 02/06 13:41:37 Elapsed download time: 00:00:04 02/06 13:41:37 UpdateVideoname 02/06 13:41:37 Updating: idalarmcra = 383997 02/06 13:41:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383997 ORDER BY IDALARMCRA DESC 02/06 13:41:37 Just before Update() 02/06 13:41:37 Next idalarmcra = 383996 02/06 13:41:37 DownloadVideos::DownloadVideoOfAlarm 02/06 13:41:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 13:41:37 SAM|22948 02/06 13:41:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_134131_43.mp4|113591| 02/06 13:41:38 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_134131_43.mp4 02/06 13:41:38 Date = 20190602 02/06 13:41:38 Construct from filename date 02/06 13:41:38 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_134131_43.mp4 02/06 13:41:38 Destination file not found 02/06 13:41:38 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_134131_43.mp4 02/06 13:41:38 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_134131_43.mp4 02/06 13:41:39 DownloadFile ok... checking file destination 02/06 13:41:39 URLDownloadToFile ok 02/06 13:41:40 Video .sig downloaded ok! 02/06 13:41:40 Snapshot .sig downloaded ok! 02/06 13:41:40 Elapsed download time: 00:00:03 02/06 13:41:40 UpdateVideoname 02/06 13:41:40 Updating: idalarmcra = 383996 02/06 13:41:40 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383996 ORDER BY IDALARMCRA DESC 02/06 13:41:40 Just before Update() 02/06 13:41:40 Next idalarmcra = 383995 02/06 13:41:40 DownloadVideos::DownloadVideoOfAlarm 02/06 13:41:40 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:41:40 SAM|1307 02/06 13:41:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134112_177.mp4|111518| 02/06 13:41:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134112_177.mp4 02/06 13:41:40 Date = 20190602 02/06 13:41:40 Construct from filename date 02/06 13:41:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134112_177.mp4 02/06 13:41:40 Destination file not found 02/06 13:41:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134112_177.mp4 02/06 13:41:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134112_177.mp4 02/06 13:41:44 DownloadFile ok... checking file destination 02/06 13:41:44 URLDownloadToFile ok 02/06 13:41:44 Video .sig downloaded ok! 02/06 13:41:44 Snapshot .sig downloaded ok! 02/06 13:41:44 Elapsed download time: 00:00:04 02/06 13:41:45 UpdateVideoname 02/06 13:41:45 Updating: idalarmcra = 383995 02/06 13:41:45 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 383995 ORDER BY IDALARMCRA DESC 02/06 13:41:45 Rollback executed. 02/06 13:41:45 RecordSet closed. 02/06 13:41:45 CheckDDBB 02/06 13:41:45 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:41:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:41:55 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:41:55 Don't have work. 02/06 13:42:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:42:05 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:42:05 Alarms with pending videos found! 02/06 13:42:05 Next idalarmcra = 384003 02/06 13:42:05 DownloadVideos::DownloadVideoOfAlarm 02/06 13:42:05 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:42:05 SAM|1310 02/06 13:42:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:42:05 NOK answer received 02/06 13:42:05 UpdateVideoname 02/06 13:42:05 Updating: idalarmcra = 384003 02/06 13:42:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384003 ORDER BY IDALARMCRA DESC 02/06 13:42:05 Just before Update() 02/06 13:42:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:42:15 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:42:15 Alarms with pending videos found! 02/06 13:42:15 Next idalarmcra = 384003 02/06 13:42:15 DownloadVideos::DownloadVideoOfAlarm 02/06 13:42:15 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:42:15 SAM|1310 02/06 13:42:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134200_178.mp4|98976| 02/06 13:42:16 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134200_178.mp4 02/06 13:42:16 Date = 20190602 02/06 13:42:16 Construct from filename date 02/06 13:42:16 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134200_178.mp4 02/06 13:42:16 Destination file not found 02/06 13:42:16 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134200_178.mp4 02/06 13:42:16 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134200_178.mp4 02/06 13:42:19 DownloadFile ok... checking file destination 02/06 13:42:19 URLDownloadToFile ok 02/06 13:42:19 Video .sig downloaded ok! 02/06 13:42:20 Snapshot .sig downloaded ok! 02/06 13:42:20 Elapsed download time: 00:00:05 02/06 13:42:20 UpdateVideoname 02/06 13:42:20 Updating: idalarmcra = 384003 02/06 13:42:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384003 ORDER BY IDALARMCRA DESC 02/06 13:42:20 Just before Update() 02/06 13:42:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:42:30 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:42:30 Don't have work. 02/06 13:42:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:42:40 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:42:40 Alarms with pending videos found! 02/06 13:42:40 Next idalarmcra = 384006 02/06 13:42:40 DownloadVideos::DownloadVideoOfAlarm 02/06 13:42:40 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:42:40 SAM|1311 02/06 13:42:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:42:40 NOK answer received 02/06 13:42:41 UpdateVideoname 02/06 13:42:41 Updating: idalarmcra = 384006 02/06 13:42:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384006 ORDER BY IDALARMCRA DESC 02/06 13:42:41 Just before Update() 02/06 13:42:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:42:51 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:42:51 Alarms with pending videos found! 02/06 13:42:51 Next idalarmcra = 384007 02/06 13:42:51 DownloadVideos::DownloadVideoOfAlarm 02/06 13:42:51 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:42:51 SAM|1312 02/06 13:42:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134244_99.mp4|105109| 02/06 13:42:51 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134244_99.mp4 02/06 13:42:51 Date = 20190602 02/06 13:42:51 Construct from filename date 02/06 13:42:51 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134244_99.mp4 02/06 13:42:51 Destination file not found 02/06 13:42:51 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134244_99.mp4 02/06 13:42:51 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134244_99.mp4 02/06 13:42:55 DownloadFile ok... checking file destination 02/06 13:42:55 URLDownloadToFile ok 02/06 13:42:55 Video .sig downloaded ok! 02/06 13:42:55 Snapshot .sig downloaded ok! 02/06 13:42:55 Elapsed download time: 00:00:04 02/06 13:42:55 UpdateVideoname 02/06 13:42:55 Updating: idalarmcra = 384007 02/06 13:42:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384007 ORDER BY IDALARMCRA DESC 02/06 13:42:55 Just before Update() 02/06 13:42:56 Next idalarmcra = 384006 02/06 13:42:56 DownloadVideos::DownloadVideoOfAlarm 02/06 13:42:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:42:56 SAM|1311 02/06 13:42:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134236_113.mp4|104251| 02/06 13:42:56 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134236_113.mp4 02/06 13:42:56 Date = 20190602 02/06 13:42:56 Construct from filename date 02/06 13:42:56 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134236_113.mp4 02/06 13:42:56 Destination file not found 02/06 13:42:56 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134236_113.mp4 02/06 13:42:56 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134236_113.mp4 02/06 13:43:00 DownloadFile ok... checking file destination 02/06 13:43:00 URLDownloadToFile ok 02/06 13:43:00 Video .sig downloaded ok! 02/06 13:43:01 Snapshot .sig downloaded ok! 02/06 13:43:01 Elapsed download time: 00:00:05 02/06 13:43:01 UpdateVideoname 02/06 13:43:01 Updating: idalarmcra = 384006 02/06 13:43:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384006 ORDER BY IDALARMCRA DESC 02/06 13:43:01 Just before Update() 02/06 13:43:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:43:11 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:43:11 Alarms with pending videos found! 02/06 13:43:11 Next idalarmcra = 384008 02/06 13:43:11 DownloadVideos::DownloadVideoOfAlarm 02/06 13:43:11 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:43:11 SAM|1313 02/06 13:43:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134251_179.mp4|104103| 02/06 13:43:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134251_179.mp4 02/06 13:43:11 Date = 20190602 02/06 13:43:11 Construct from filename date 02/06 13:43:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134251_179.mp4 02/06 13:43:11 Destination file not found 02/06 13:43:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134251_179.mp4 02/06 13:43:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134251_179.mp4 02/06 13:43:15 DownloadFile ok... checking file destination 02/06 13:43:15 URLDownloadToFile ok 02/06 13:43:15 Video .sig downloaded ok! 02/06 13:43:15 Snapshot .sig downloaded ok! 02/06 13:43:15 Elapsed download time: 00:00:04 02/06 13:43:15 UpdateVideoname 02/06 13:43:15 Updating: idalarmcra = 384008 02/06 13:43:15 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384008 ORDER BY IDALARMCRA DESC 02/06 13:43:15 Rollback executed. 02/06 13:43:15 RecordSet closed. 02/06 13:43:15 CheckDDBB 02/06 13:43:15 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:43:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:43:25 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:43:25 Alarms with pending videos found! 02/06 13:43:25 Next idalarmcra = 384010 02/06 13:43:25 DownloadVideos::DownloadVideoOfAlarm 02/06 13:43:25 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:43:25 SAM|1315 02/06 13:43:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:43:26 NOK answer received 02/06 13:43:26 UpdateVideoname 02/06 13:43:26 Updating: idalarmcra = 384010 02/06 13:43:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384010 ORDER BY IDALARMCRA DESC 02/06 13:43:26 Just before Update() 02/06 13:43:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:43:36 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:43:36 Alarms with pending videos found! 02/06 13:43:36 Next idalarmcra = 384012 02/06 13:43:36 DownloadVideos::DownloadVideoOfAlarm 02/06 13:43:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:43:36 SAM|1316 02/06 13:43:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134328_115.mp4|105513| 02/06 13:43:36 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134328_115.mp4 02/06 13:43:36 Date = 20190602 02/06 13:43:36 Construct from filename date 02/06 13:43:36 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134328_115.mp4 02/06 13:43:36 Destination file not found 02/06 13:43:36 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134328_115.mp4 02/06 13:43:36 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134328_115.mp4 02/06 13:43:39 DownloadFile ok... checking file destination 02/06 13:43:39 URLDownloadToFile ok 02/06 13:43:39 Video .sig downloaded ok! 02/06 13:43:40 Snapshot .sig downloaded ok! 02/06 13:43:40 Elapsed download time: 00:00:04 02/06 13:43:40 UpdateVideoname 02/06 13:43:40 Updating: idalarmcra = 384012 02/06 13:43:40 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384012 ORDER BY IDALARMCRA DESC 02/06 13:43:40 Just before Update() 02/06 13:43:40 Next idalarmcra = 384010 02/06 13:43:40 DownloadVideos::DownloadVideoOfAlarm 02/06 13:43:40 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:43:40 SAM|1315 02/06 13:43:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134322_100.mp4|107302| 02/06 13:43:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134322_100.mp4 02/06 13:43:40 Date = 20190602 02/06 13:43:40 Construct from filename date 02/06 13:43:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134322_100.mp4 02/06 13:43:40 Destination file not found 02/06 13:43:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134322_100.mp4 02/06 13:43:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134322_100.mp4 02/06 13:43:44 DownloadFile ok... checking file destination 02/06 13:43:44 URLDownloadToFile ok 02/06 13:43:44 Video .sig downloaded ok! 02/06 13:43:44 Snapshot .sig downloaded ok! 02/06 13:43:44 Elapsed download time: 00:00:04 02/06 13:43:44 UpdateVideoname 02/06 13:43:44 Updating: idalarmcra = 384010 02/06 13:43:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384010 ORDER BY IDALARMCRA DESC 02/06 13:43:44 Just before Update() 02/06 13:43:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:43:54 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:43:54 Alarms with pending videos found! 02/06 13:43:54 Next idalarmcra = 384014 02/06 13:43:54 DownloadVideos::DownloadVideoOfAlarm 02/06 13:43:54 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 13:43:54 SAM|4702 02/06 13:43:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_134507_142.mp4|115324| 02/06 13:43:55 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_134507_142.mp4 02/06 13:43:55 Date = 20190602 02/06 13:43:55 Construct from filename date 02/06 13:43:55 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_134507_142.mp4 02/06 13:43:55 Destination file not found 02/06 13:43:55 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_134507_142.mp4 02/06 13:43:55 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_134507_142.mp4 02/06 13:43:57 DownloadFile ok... checking file destination 02/06 13:43:57 URLDownloadToFile ok 02/06 13:43:57 Video .sig downloaded ok! 02/06 13:43:57 Snapshot .sig downloaded ok! 02/06 13:43:57 Elapsed download time: 00:00:03 02/06 13:43:57 UpdateVideoname 02/06 13:43:57 Updating: idalarmcra = 384014 02/06 13:43:57 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384014 ORDER BY IDALARMCRA DESC 02/06 13:43:57 Just before Update() 02/06 13:43:57 Next idalarmcra = 384013 02/06 13:43:57 DownloadVideos::DownloadVideoOfAlarm 02/06 13:43:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:43:57 SAM|1317 02/06 13:43:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134340_180.mp4|110496| 02/06 13:43:58 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134340_180.mp4 02/06 13:43:58 Date = 20190602 02/06 13:43:58 Construct from filename date 02/06 13:43:58 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134340_180.mp4 02/06 13:43:58 Destination file not found 02/06 13:43:58 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134340_180.mp4 02/06 13:43:58 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134340_180.mp4 02/06 13:44:01 DownloadFile ok... checking file destination 02/06 13:44:01 URLDownloadToFile ok 02/06 13:44:02 Video .sig downloaded ok! 02/06 13:44:02 Snapshot .sig downloaded ok! 02/06 13:44:02 Elapsed download time: 00:00:05 02/06 13:44:02 UpdateVideoname 02/06 13:44:02 Updating: idalarmcra = 384013 02/06 13:44:02 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384013 ORDER BY IDALARMCRA DESC 02/06 13:44:02 Rollback executed. 02/06 13:44:02 RecordSet closed. 02/06 13:44:02 CheckDDBB 02/06 13:44:02 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:44:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:44:12 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:44:12 Alarms with pending videos found! 02/06 13:44:12 Next idalarmcra = 384016 02/06 13:44:12 DownloadVideos::DownloadVideoOfAlarm 02/06 13:44:12 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:44:12 SAM|1319 02/06 13:44:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134403_116.mp4|100781| 02/06 13:44:12 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134403_116.mp4 02/06 13:44:12 Date = 20190602 02/06 13:44:12 Construct from filename date 02/06 13:44:12 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134403_116.mp4 02/06 13:44:12 Destination file not found 02/06 13:44:12 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134403_116.mp4 02/06 13:44:12 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134403_116.mp4 02/06 13:44:15 DownloadFile ok... checking file destination 02/06 13:44:15 URLDownloadToFile ok 02/06 13:44:15 Video .sig downloaded ok! 02/06 13:44:16 Snapshot .sig downloaded ok! 02/06 13:44:16 Elapsed download time: 00:00:04 02/06 13:44:16 UpdateVideoname 02/06 13:44:16 Updating: idalarmcra = 384016 02/06 13:44:16 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384016 ORDER BY IDALARMCRA DESC 02/06 13:44:16 Just before Update() 02/06 13:44:26 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:44:26 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:44:26 Alarms with pending videos found! 02/06 13:44:26 Next idalarmcra = 384018 02/06 13:44:26 DownloadVideos::DownloadVideoOfAlarm 02/06 13:44:26 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:44:26 SAM|1321 02/06 13:44:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_134415_55.mp4|113173| 02/06 13:44:26 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_134415_55.mp4 02/06 13:44:26 Date = 20190602 02/06 13:44:26 Construct from filename date 02/06 13:44:26 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_134415_55.mp4 02/06 13:44:26 Destination file not found 02/06 13:44:26 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_134415_55.mp4 02/06 13:44:26 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_134415_55.mp4 02/06 13:44:28 DownloadFile ok... checking file destination 02/06 13:44:28 URLDownloadToFile ok 02/06 13:44:29 Video .sig downloaded ok! 02/06 13:44:29 Snapshot .sig downloaded ok! 02/06 13:44:29 Elapsed download time: 00:00:03 02/06 13:44:29 UpdateVideoname 02/06 13:44:29 Updating: idalarmcra = 384018 02/06 13:44:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384018 ORDER BY IDALARMCRA DESC 02/06 13:44:29 Just before Update() 02/06 13:44:29 Next idalarmcra = 384017 02/06 13:44:29 DownloadVideos::DownloadVideoOfAlarm 02/06 13:44:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:44:29 SAM|1320 02/06 13:44:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134414_181.mp4|97421| 02/06 13:44:29 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134414_181.mp4 02/06 13:44:29 Date = 20190602 02/06 13:44:29 Construct from filename date 02/06 13:44:29 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134414_181.mp4 02/06 13:44:29 Destination file not found 02/06 13:44:29 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134414_181.mp4 02/06 13:44:29 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134414_181.mp4 02/06 13:44:32 DownloadFile ok... checking file destination 02/06 13:44:32 URLDownloadToFile ok 02/06 13:44:33 Video .sig downloaded ok! 02/06 13:44:33 Snapshot .sig downloaded ok! 02/06 13:44:33 Elapsed download time: 00:00:04 02/06 13:44:33 UpdateVideoname 02/06 13:44:33 Updating: idalarmcra = 384017 02/06 13:44:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384017 ORDER BY IDALARMCRA DESC 02/06 13:44:33 Just before Update() 02/06 13:44:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:44:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:44:43 Don't have work. 02/06 13:44:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:44:53 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:44:53 Alarms with pending videos found! 02/06 13:44:53 Next idalarmcra = 384020 02/06 13:44:53 DownloadVideos::DownloadVideoOfAlarm 02/06 13:44:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:44:53 SAM|1322 02/06 13:44:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134438_117.mp4|98317| 02/06 13:44:54 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134438_117.mp4 02/06 13:44:54 Date = 20190602 02/06 13:44:54 Construct from filename date 02/06 13:44:54 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134438_117.mp4 02/06 13:44:54 Destination file not found 02/06 13:44:54 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134438_117.mp4 02/06 13:44:54 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134438_117.mp4 02/06 13:44:56 DownloadFile ok... checking file destination 02/06 13:44:56 URLDownloadToFile ok 02/06 13:44:56 Video .sig downloaded ok! 02/06 13:44:57 Snapshot .sig downloaded ok! 02/06 13:44:57 Elapsed download time: 00:00:04 02/06 13:44:57 UpdateVideoname 02/06 13:44:57 Updating: idalarmcra = 384020 02/06 13:44:57 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384020 ORDER BY IDALARMCRA DESC 02/06 13:44:57 Rollback executed. 02/06 13:44:57 RecordSet closed. 02/06 13:44:57 CheckDDBB 02/06 13:44:57 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:45:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:45:07 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:45:07 Alarms with pending videos found! 02/06 13:45:07 Next idalarmcra = 384022 02/06 13:45:07 DownloadVideos::DownloadVideoOfAlarm 02/06 13:45:07 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 13 02/06 13:45:07 SAM|24927 02/06 13:45:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_MANISA_A_Cam4_Event2_20190602_134454_17.mp4|103120| 02/06 13:45:07 FilenameSrc = 20190602\\SiteDGS_VA_MANISA_A_Cam4_Event2_20190602_134454_17.mp4 02/06 13:45:07 Date = 20190602 02/06 13:45:07 Construct from filename date 02/06 13:45:07 Destination: c:\Davantis\CRAServer\\SITE_13\\20190602\\SiteDGS_VA_MANISA_A_Cam4_Event2_20190602_134454_17.mp4 02/06 13:45:07 Destination file not found 02/06 13:45:07 http://192.168.33.100:21000/20190602\\SiteDGS_VA_MANISA_A_Cam4_Event2_20190602_134454_17.mp4 02/06 13:45:07 c:\Davantis\CRAServer\\SITE_13\\20190602\\SiteDGS_VA_MANISA_A_Cam4_Event2_20190602_134454_17.mp4 02/06 13:45:08 DownloadFile ok... checking file destination 02/06 13:45:08 URLDownloadToFile ok 02/06 13:45:09 Video .sig downloaded ok! 02/06 13:45:09 Snapshot .sig downloaded ok! 02/06 13:45:09 Elapsed download time: 00:00:02 02/06 13:45:09 UpdateVideoname 02/06 13:45:09 Updating: idalarmcra = 384022 02/06 13:45:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384022 ORDER BY IDALARMCRA DESC 02/06 13:45:09 Just before Update() 02/06 13:45:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:45:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:45:19 Don't have work. 02/06 13:45:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:45:29 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:45:29 Alarms with pending videos found! 02/06 13:45:29 Next idalarmcra = 384026 02/06 13:45:29 DownloadVideos::DownloadVideoOfAlarm 02/06 13:45:29 [D] Query(16ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:45:29 SAM|1325 02/06 13:45:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:45:30 NOK answer received 02/06 13:45:30 UpdateVideoname 02/06 13:45:30 Updating: idalarmcra = 384026 02/06 13:45:30 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384026 ORDER BY IDALARMCRA DESC 02/06 13:45:30 Just before Update() 02/06 13:45:30 Next idalarmcra = 384025 02/06 13:45:30 DownloadVideos::DownloadVideoOfAlarm 02/06 13:45:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:45:30 SAM|1324 02/06 13:45:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134521_182.mp4|100016| 02/06 13:45:30 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134521_182.mp4 02/06 13:45:30 Date = 20190602 02/06 13:45:30 Construct from filename date 02/06 13:45:30 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134521_182.mp4 02/06 13:45:30 Destination file not found 02/06 13:45:30 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134521_182.mp4 02/06 13:45:30 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134521_182.mp4 02/06 13:45:34 DownloadFile ok... checking file destination 02/06 13:45:34 URLDownloadToFile ok 02/06 13:45:34 Video .sig downloaded ok! 02/06 13:45:34 Snapshot .sig downloaded ok! 02/06 13:45:34 Elapsed download time: 00:00:04 02/06 13:45:34 UpdateVideoname 02/06 13:45:34 Updating: idalarmcra = 384025 02/06 13:45:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384025 ORDER BY IDALARMCRA DESC 02/06 13:45:34 Just before Update() 02/06 13:45:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:45:44 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:45:44 Alarms with pending videos found! 02/06 13:45:44 Next idalarmcra = 384027 02/06 13:45:44 DownloadVideos::DownloadVideoOfAlarm 02/06 13:45:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:45:44 SAM|1326 02/06 13:45:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134534_102.mp4|103722| 02/06 13:45:45 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134534_102.mp4 02/06 13:45:45 Date = 20190602 02/06 13:45:45 Construct from filename date 02/06 13:45:45 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134534_102.mp4 02/06 13:45:45 Destination file not found 02/06 13:45:45 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134534_102.mp4 02/06 13:45:45 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134534_102.mp4 02/06 13:45:47 DownloadFile ok... checking file destination 02/06 13:45:47 URLDownloadToFile ok 02/06 13:45:47 Video .sig downloaded ok! 02/06 13:45:47 Snapshot .sig downloaded ok! 02/06 13:45:47 Elapsed download time: 00:00:03 02/06 13:45:47 UpdateVideoname 02/06 13:45:47 Updating: idalarmcra = 384027 02/06 13:45:47 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384027 ORDER BY IDALARMCRA DESC 02/06 13:45:47 Rollback executed. 02/06 13:45:47 RecordSet closed. 02/06 13:45:47 CheckDDBB 02/06 13:45:47 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:45:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:45:57 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:45:57 Alarms with pending videos found! 02/06 13:45:57 Next idalarmcra = 384028 02/06 13:45:57 DownloadVideos::DownloadVideoOfAlarm 02/06 13:45:57 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:45:57 SAM|1327 02/06 13:45:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134547_103.mp4|112118| 02/06 13:45:58 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134547_103.mp4 02/06 13:45:58 Date = 20190602 02/06 13:45:58 Construct from filename date 02/06 13:45:58 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134547_103.mp4 02/06 13:45:58 Destination file not found 02/06 13:45:58 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134547_103.mp4 02/06 13:45:58 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134547_103.mp4 02/06 13:46:00 DownloadFile ok... checking file destination 02/06 13:46:00 URLDownloadToFile ok 02/06 13:46:00 Video .sig downloaded ok! 02/06 13:46:00 Snapshot .sig downloaded ok! 02/06 13:46:00 Elapsed download time: 00:00:03 02/06 13:46:00 UpdateVideoname 02/06 13:46:00 Updating: idalarmcra = 384028 02/06 13:46:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384028 ORDER BY IDALARMCRA DESC 02/06 13:46:00 Just before Update() 02/06 13:46:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:46:11 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:46:11 Don't have work. 02/06 13:46:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:46:21 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:46:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:46:31 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:46:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:46:41 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:46:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:46:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:47:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:47:01 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:47:01 Alarms with pending videos found! 02/06 13:47:01 Next idalarmcra = 384030 02/06 13:47:01 DownloadVideos::DownloadVideoOfAlarm 02/06 13:47:01 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:47:01 SAM|747 02/06 13:47:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_134653_29.mp4|110453| 02/06 13:47:01 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_134653_29.mp4 02/06 13:47:01 Date = 20190602 02/06 13:47:01 Construct from filename date 02/06 13:47:01 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_134653_29.mp4 02/06 13:47:01 Destination file not found 02/06 13:47:01 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_134653_29.mp4 02/06 13:47:01 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_134653_29.mp4 02/06 13:47:02 DownloadFile ok... checking file destination 02/06 13:47:02 URLDownloadToFile ok 02/06 13:47:02 Video .sig downloaded ok! 02/06 13:47:02 Snapshot .sig downloaded ok! 02/06 13:47:02 Elapsed download time: 00:00:01 02/06 13:47:02 UpdateVideoname 02/06 13:47:02 Updating: idalarmcra = 384030 02/06 13:47:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384030 ORDER BY IDALARMCRA DESC 02/06 13:47:02 Just before Update() 02/06 13:47:02 Next idalarmcra = 384029 02/06 13:47:02 DownloadVideos::DownloadVideoOfAlarm 02/06 13:47:02 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:47:02 SAM|1328 02/06 13:47:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_134649_56.mp4|112094| 02/06 13:47:02 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_134649_56.mp4 02/06 13:47:02 Date = 20190602 02/06 13:47:02 Construct from filename date 02/06 13:47:02 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_134649_56.mp4 02/06 13:47:02 Destination file not found 02/06 13:47:02 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_134649_56.mp4 02/06 13:47:02 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_134649_56.mp4 02/06 13:47:05 DownloadFile ok... checking file destination 02/06 13:47:05 URLDownloadToFile ok 02/06 13:47:05 Video .sig downloaded ok! 02/06 13:47:05 Snapshot .sig downloaded ok! 02/06 13:47:05 Elapsed download time: 00:00:03 02/06 13:47:05 UpdateVideoname 02/06 13:47:05 Updating: idalarmcra = 384029 02/06 13:47:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384029 ORDER BY IDALARMCRA DESC 02/06 13:47:05 Just before Update() 02/06 13:47:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:47:15 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:47:15 Alarms with pending videos found! 02/06 13:47:15 Next idalarmcra = 384033 02/06 13:47:15 DownloadVideos::DownloadVideoOfAlarm 02/06 13:47:15 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:47:15 SAM|1331 02/06 13:47:15 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:47:15 NOK answer received 02/06 13:47:15 UpdateVideoname 02/06 13:47:15 Updating: idalarmcra = 384033 02/06 13:47:15 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384033 ORDER BY IDALARMCRA DESC 02/06 13:47:15 Just before Update() 02/06 13:47:15 Next idalarmcra = 384032 02/06 13:47:15 DownloadVideos::DownloadVideoOfAlarm 02/06 13:47:16 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:47:16 SAM|1330 02/06 13:47:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134709_183.mp4|111868| 02/06 13:47:16 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134709_183.mp4 02/06 13:47:16 Date = 20190602 02/06 13:47:16 Construct from filename date 02/06 13:47:16 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134709_183.mp4 02/06 13:47:16 Destination file not found 02/06 13:47:16 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134709_183.mp4 02/06 13:47:16 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134709_183.mp4 02/06 13:47:20 DownloadFile ok... checking file destination 02/06 13:47:20 URLDownloadToFile ok 02/06 13:47:20 Video .sig downloaded ok! 02/06 13:47:20 Snapshot .sig downloaded ok! 02/06 13:47:20 Elapsed download time: 00:00:04 02/06 13:47:20 UpdateVideoname 02/06 13:47:20 Updating: idalarmcra = 384032 02/06 13:47:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384032 ORDER BY IDALARMCRA DESC 02/06 13:47:20 Just before Update() 02/06 13:47:20 Next idalarmcra = 384031 02/06 13:47:20 DownloadVideos::DownloadVideoOfAlarm 02/06 13:47:20 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:47:20 SAM|1329 02/06 13:47:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134703_120.mp4|107717| 02/06 13:47:21 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134703_120.mp4 02/06 13:47:21 Date = 20190602 02/06 13:47:21 Construct from filename date 02/06 13:47:21 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134703_120.mp4 02/06 13:47:21 Destination file not found 02/06 13:47:21 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134703_120.mp4 02/06 13:47:21 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134703_120.mp4 02/06 13:47:24 DownloadFile ok... checking file destination 02/06 13:47:24 URLDownloadToFile ok 02/06 13:47:25 Video .sig downloaded ok! 02/06 13:47:25 Snapshot .sig downloaded ok! 02/06 13:47:25 Elapsed download time: 00:00:05 02/06 13:47:25 UpdateVideoname 02/06 13:47:25 Updating: idalarmcra = 384031 02/06 13:47:25 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384031 ORDER BY IDALARMCRA DESC 02/06 13:47:25 Rollback executed. 02/06 13:47:25 RecordSet closed. 02/06 13:47:25 CheckDDBB 02/06 13:47:25 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:47:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:47:35 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:47:35 Alarms with pending videos found! 02/06 13:47:35 Next idalarmcra = 384034 02/06 13:47:35 DownloadVideos::DownloadVideoOfAlarm 02/06 13:47:35 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 13:47:35 SAM|2074 02/06 13:47:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_134729_98.mp4|111027| 02/06 13:47:35 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_134729_98.mp4 02/06 13:47:35 Date = 20190602 02/06 13:47:35 Construct from filename date 02/06 13:47:35 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_134729_98.mp4 02/06 13:47:35 Destination file not found 02/06 13:47:35 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_134729_98.mp4 02/06 13:47:35 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_134729_98.mp4 02/06 13:47:37 DownloadFile ok... checking file destination 02/06 13:47:37 URLDownloadToFile ok 02/06 13:47:37 Video .sig downloaded ok! 02/06 13:47:37 Snapshot .sig downloaded ok! 02/06 13:47:37 Elapsed download time: 00:00:02 02/06 13:47:37 UpdateVideoname 02/06 13:47:37 Updating: idalarmcra = 384034 02/06 13:47:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384034 ORDER BY IDALARMCRA DESC 02/06 13:47:37 Just before Update() 02/06 13:47:37 Next idalarmcra = 384033 02/06 13:47:37 DownloadVideos::DownloadVideoOfAlarm 02/06 13:47:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:47:37 SAM|1331 02/06 13:47:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134711_104.mp4|107949| 02/06 13:47:38 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134711_104.mp4 02/06 13:47:38 Date = 20190602 02/06 13:47:38 Construct from filename date 02/06 13:47:38 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134711_104.mp4 02/06 13:47:38 Destination file not found 02/06 13:47:38 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134711_104.mp4 02/06 13:47:38 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134711_104.mp4 02/06 13:47:43 DownloadFile ok... checking file destination 02/06 13:47:43 URLDownloadToFile ok 02/06 13:47:43 Video .sig downloaded ok! 02/06 13:47:43 Snapshot .sig downloaded ok! 02/06 13:47:43 Elapsed download time: 00:00:06 02/06 13:47:44 UpdateVideoname 02/06 13:47:44 Updating: idalarmcra = 384033 02/06 13:47:44 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384033 ORDER BY IDALARMCRA DESC 02/06 13:47:44 Rollback executed. 02/06 13:47:44 RecordSet closed. 02/06 13:47:44 CheckDDBB 02/06 13:47:44 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:47:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:47:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:47:54 Don't have work. 02/06 13:48:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:48:04 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:48:04 Alarms with pending videos found! 02/06 13:48:04 Next idalarmcra = 384037 02/06 13:48:04 DownloadVideos::DownloadVideoOfAlarm 02/06 13:48:04 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:48:04 SAM|1332 02/06 13:48:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134758_184.mp4|106205| 02/06 13:48:05 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134758_184.mp4 02/06 13:48:05 Date = 20190602 02/06 13:48:05 Construct from filename date 02/06 13:48:05 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134758_184.mp4 02/06 13:48:05 Destination file not found 02/06 13:48:05 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134758_184.mp4 02/06 13:48:05 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134758_184.mp4 02/06 13:48:08 DownloadFile ok... checking file destination 02/06 13:48:08 URLDownloadToFile ok 02/06 13:48:08 Video .sig downloaded ok! 02/06 13:48:08 Snapshot .sig downloaded ok! 02/06 13:48:08 Elapsed download time: 00:00:04 02/06 13:48:08 UpdateVideoname 02/06 13:48:08 Updating: idalarmcra = 384037 02/06 13:48:08 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384037 ORDER BY IDALARMCRA DESC 02/06 13:48:08 Rollback executed. 02/06 13:48:08 RecordSet closed. 02/06 13:48:08 CheckDDBB 02/06 13:48:08 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:48:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:48:19 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:48:19 Alarms with pending videos found! 02/06 13:48:19 Next idalarmcra = 384042 02/06 13:48:19 DownloadVideos::DownloadVideoOfAlarm 02/06 13:48:19 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:48:19 SAM|1335 02/06 13:48:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:48:19 NOK answer received 02/06 13:48:19 UpdateVideoname 02/06 13:48:19 Updating: idalarmcra = 384042 02/06 13:48:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384042 ORDER BY IDALARMCRA DESC 02/06 13:48:19 Just before Update() 02/06 13:48:19 Next idalarmcra = 384041 02/06 13:48:19 DownloadVideos::DownloadVideoOfAlarm 02/06 13:48:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:48:19 SAM|1334 02/06 13:48:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134805_105.mp4|110812| 02/06 13:48:19 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134805_105.mp4 02/06 13:48:19 Date = 20190602 02/06 13:48:19 Construct from filename date 02/06 13:48:19 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134805_105.mp4 02/06 13:48:19 Destination file not found 02/06 13:48:19 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134805_105.mp4 02/06 13:48:19 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_134805_105.mp4 02/06 13:48:22 DownloadFile ok... checking file destination 02/06 13:48:22 URLDownloadToFile ok 02/06 13:48:23 Video .sig downloaded ok! 02/06 13:48:23 Snapshot .sig downloaded ok! 02/06 13:48:23 Elapsed download time: 00:00:04 02/06 13:48:23 UpdateVideoname 02/06 13:48:23 Updating: idalarmcra = 384041 02/06 13:48:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384041 ORDER BY IDALARMCRA DESC 02/06 13:48:23 Just before Update() 02/06 13:48:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:48:33 [D] Query(29ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:48:33 Alarms with pending videos found! 02/06 13:48:33 Next idalarmcra = 384044 02/06 13:48:33 DownloadVideos::DownloadVideoOfAlarm 02/06 13:48:33 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 13:48:33 SAM|22950 02/06 13:48:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_134839_45.mp4|112514| 02/06 13:48:33 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_134839_45.mp4 02/06 13:48:33 Date = 20190602 02/06 13:48:33 Construct from filename date 02/06 13:48:33 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_134839_45.mp4 02/06 13:48:33 Destination file not found 02/06 13:48:33 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_134839_45.mp4 02/06 13:48:33 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_134839_45.mp4 02/06 13:48:35 DownloadFile ok... checking file destination 02/06 13:48:35 URLDownloadToFile ok 02/06 13:48:35 Video .sig downloaded ok! 02/06 13:48:36 Snapshot .sig downloaded ok! 02/06 13:48:36 Elapsed download time: 00:00:03 02/06 13:48:36 UpdateVideoname 02/06 13:48:36 Updating: idalarmcra = 384044 02/06 13:48:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384044 ORDER BY IDALARMCRA DESC 02/06 13:48:36 Just before Update() 02/06 13:48:36 Next idalarmcra = 384042 02/06 13:48:36 DownloadVideos::DownloadVideoOfAlarm 02/06 13:48:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:48:36 SAM|1335 02/06 13:48:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134814_185.mp4|97860| 02/06 13:48:36 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134814_185.mp4 02/06 13:48:36 Date = 20190602 02/06 13:48:36 Construct from filename date 02/06 13:48:36 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134814_185.mp4 02/06 13:48:36 Destination file not found 02/06 13:48:36 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134814_185.mp4 02/06 13:48:36 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134814_185.mp4 02/06 13:48:39 DownloadFile ok... checking file destination 02/06 13:48:39 URLDownloadToFile ok 02/06 13:48:39 Video .sig downloaded ok! 02/06 13:48:39 Snapshot .sig downloaded ok! 02/06 13:48:39 Elapsed download time: 00:00:03 02/06 13:48:39 UpdateVideoname 02/06 13:48:39 Updating: idalarmcra = 384042 02/06 13:48:39 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384042 ORDER BY IDALARMCRA DESC 02/06 13:48:39 Rollback executed. 02/06 13:48:39 RecordSet closed. 02/06 13:48:39 CheckDDBB 02/06 13:48:39 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:48:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:48:49 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:48:49 Don't have work. 02/06 13:48:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:48:59 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:49:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:49:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:49:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:49:19 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:49:19 Alarms with pending videos found! 02/06 13:49:19 Next idalarmcra = 384047 02/06 13:49:19 DownloadVideos::DownloadVideoOfAlarm 02/06 13:49:19 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:49:19 SAM|1337 02/06 13:49:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134912_122.mp4|102113| 02/06 13:49:20 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134912_122.mp4 02/06 13:49:20 Date = 20190602 02/06 13:49:20 Construct from filename date 02/06 13:49:20 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134912_122.mp4 02/06 13:49:20 Destination file not found 02/06 13:49:20 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134912_122.mp4 02/06 13:49:20 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134912_122.mp4 02/06 13:49:24 DownloadFile ok... checking file destination 02/06 13:49:24 URLDownloadToFile ok 02/06 13:49:24 Video .sig downloaded ok! 02/06 13:49:24 Snapshot .sig downloaded ok! 02/06 13:49:24 Elapsed download time: 00:00:05 02/06 13:49:25 UpdateVideoname 02/06 13:49:25 Updating: idalarmcra = 384047 02/06 13:49:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384047 ORDER BY IDALARMCRA DESC 02/06 13:49:25 Just before Update() 02/06 13:49:25 Next idalarmcra = 384046 02/06 13:49:25 DownloadVideos::DownloadVideoOfAlarm 02/06 13:49:25 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:49:25 SAM|1336 02/06 13:49:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134910_186.mp4|104263| 02/06 13:49:25 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134910_186.mp4 02/06 13:49:25 Date = 20190602 02/06 13:49:25 Construct from filename date 02/06 13:49:25 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134910_186.mp4 02/06 13:49:25 Destination file not found 02/06 13:49:25 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134910_186.mp4 02/06 13:49:25 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134910_186.mp4 02/06 13:49:30 DownloadFile ok... checking file destination 02/06 13:49:30 URLDownloadToFile ok 02/06 13:49:30 Video .sig downloaded ok! 02/06 13:49:30 Snapshot .sig downloaded ok! 02/06 13:49:30 Elapsed download time: 00:00:05 02/06 13:49:30 UpdateVideoname 02/06 13:49:30 Updating: idalarmcra = 384046 02/06 13:49:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384046 ORDER BY IDALARMCRA DESC 02/06 13:49:30 Just before Update() 02/06 13:49:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:49:40 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:49:40 Alarms with pending videos found! 02/06 13:49:40 Next idalarmcra = 384050 02/06 13:49:40 DownloadVideos::DownloadVideoOfAlarm 02/06 13:49:40 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:49:40 SAM|1339 02/06 13:49:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134926_187.mp4|103589| 02/06 13:49:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134926_187.mp4 02/06 13:49:41 Date = 20190602 02/06 13:49:41 Construct from filename date 02/06 13:49:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134926_187.mp4 02/06 13:49:41 Destination file not found 02/06 13:49:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134926_187.mp4 02/06 13:49:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_134926_187.mp4 02/06 13:49:43 DownloadFile ok... checking file destination 02/06 13:49:43 URLDownloadToFile ok 02/06 13:49:44 Video .sig downloaded ok! 02/06 13:49:44 Snapshot .sig downloaded ok! 02/06 13:49:44 Elapsed download time: 00:00:04 02/06 13:49:44 UpdateVideoname 02/06 13:49:44 Updating: idalarmcra = 384050 02/06 13:49:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384050 ORDER BY IDALARMCRA DESC 02/06 13:49:44 Just before Update() 02/06 13:49:44 Next idalarmcra = 384049 02/06 13:49:44 DownloadVideos::DownloadVideoOfAlarm 02/06 13:49:44 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:49:44 SAM|1338 02/06 13:49:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134925_123.mp4|98705| 02/06 13:49:44 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134925_123.mp4 02/06 13:49:44 Date = 20190602 02/06 13:49:44 Construct from filename date 02/06 13:49:44 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134925_123.mp4 02/06 13:49:44 Destination file not found 02/06 13:49:44 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134925_123.mp4 02/06 13:49:44 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134925_123.mp4 02/06 13:49:49 DownloadFile ok... checking file destination 02/06 13:49:49 URLDownloadToFile ok 02/06 13:49:49 Video .sig downloaded ok! 02/06 13:49:49 Snapshot .sig downloaded ok! 02/06 13:49:49 Elapsed download time: 00:00:05 02/06 13:49:49 UpdateVideoname 02/06 13:49:49 Updating: idalarmcra = 384049 02/06 13:49:49 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384049 ORDER BY IDALARMCRA DESC 02/06 13:49:49 Rollback executed. 02/06 13:49:49 RecordSet closed. 02/06 13:49:49 CheckDDBB 02/06 13:49:49 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:49:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:49:59 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:49:59 Alarms with pending videos found! 02/06 13:49:59 Next idalarmcra = 384051 02/06 13:49:59 DownloadVideos::DownloadVideoOfAlarm 02/06 13:49:59 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:49:59 SAM|1340 02/06 13:49:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134942_124.mp4|97509| 02/06 13:49:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134942_124.mp4 02/06 13:49:59 Date = 20190602 02/06 13:49:59 Construct from filename date 02/06 13:49:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134942_124.mp4 02/06 13:49:59 Destination file not found 02/06 13:49:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134942_124.mp4 02/06 13:49:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_134942_124.mp4 02/06 13:50:03 DownloadFile ok... checking file destination 02/06 13:50:03 URLDownloadToFile ok 02/06 13:50:04 Video .sig downloaded ok! 02/06 13:50:04 Snapshot .sig downloaded ok! 02/06 13:50:04 Elapsed download time: 00:00:05 02/06 13:50:04 UpdateVideoname 02/06 13:50:04 Updating: idalarmcra = 384051 02/06 13:50:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384051 ORDER BY IDALARMCRA DESC 02/06 13:50:04 Just before Update() 02/06 13:50:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:50:14 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:50:14 Don't have work. 02/06 13:50:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:50:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:50:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:50:34 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:50:34 Alarms with pending videos found! 02/06 13:50:34 Next idalarmcra = 384053 02/06 13:50:34 DownloadVideos::DownloadVideoOfAlarm 02/06 13:50:34 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:50:34 SAM|1341 02/06 13:50:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135024_106.mp4|109336| 02/06 13:50:34 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135024_106.mp4 02/06 13:50:34 Date = 20190602 02/06 13:50:34 Construct from filename date 02/06 13:50:34 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135024_106.mp4 02/06 13:50:34 Destination file not found 02/06 13:50:34 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135024_106.mp4 02/06 13:50:34 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135024_106.mp4 02/06 13:50:37 DownloadFile ok... checking file destination 02/06 13:50:37 URLDownloadToFile ok 02/06 13:50:37 Video .sig downloaded ok! 02/06 13:50:37 Snapshot .sig downloaded ok! 02/06 13:50:37 Elapsed download time: 00:00:03 02/06 13:50:37 UpdateVideoname 02/06 13:50:37 Updating: idalarmcra = 384053 02/06 13:50:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384053 ORDER BY IDALARMCRA DESC 02/06 13:50:37 Just before Update() 02/06 13:50:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:50:48 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:50:48 Alarms with pending videos found! 02/06 13:50:48 Next idalarmcra = 384055 02/06 13:50:48 DownloadVideos::DownloadVideoOfAlarm 02/06 13:50:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:50:48 SAM|1343 02/06 13:50:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135033_107.mp4|116927| 02/06 13:50:48 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135033_107.mp4 02/06 13:50:48 Date = 20190602 02/06 13:50:48 Construct from filename date 02/06 13:50:48 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135033_107.mp4 02/06 13:50:48 Destination file not found 02/06 13:50:48 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135033_107.mp4 02/06 13:50:48 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135033_107.mp4 02/06 13:50:51 DownloadFile ok... checking file destination 02/06 13:50:51 URLDownloadToFile ok 02/06 13:50:51 Video .sig downloaded ok! 02/06 13:50:51 Snapshot .sig downloaded ok! 02/06 13:50:51 Elapsed download time: 00:00:03 02/06 13:50:52 UpdateVideoname 02/06 13:50:52 Updating: idalarmcra = 384055 02/06 13:50:52 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384055 ORDER BY IDALARMCRA DESC 02/06 13:50:52 Rollback executed. 02/06 13:50:52 RecordSet closed. 02/06 13:50:52 CheckDDBB 02/06 13:50:52 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:51:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:51:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:51:02 Don't have work. 02/06 13:51:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:51:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:51:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:51:22 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:51:22 Alarms with pending videos found! 02/06 13:51:22 Next idalarmcra = 384057 02/06 13:51:22 DownloadVideos::DownloadVideoOfAlarm 02/06 13:51:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:51:22 SAM|1344 02/06 13:51:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135114_108.mp4|109472| 02/06 13:51:22 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135114_108.mp4 02/06 13:51:22 Date = 20190602 02/06 13:51:22 Construct from filename date 02/06 13:51:22 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135114_108.mp4 02/06 13:51:22 Destination file not found 02/06 13:51:22 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135114_108.mp4 02/06 13:51:22 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135114_108.mp4 02/06 13:51:25 DownloadFile ok... checking file destination 02/06 13:51:25 URLDownloadToFile ok 02/06 13:51:25 Video .sig downloaded ok! 02/06 13:51:25 Snapshot .sig downloaded ok! 02/06 13:51:25 Elapsed download time: 00:00:03 02/06 13:51:26 UpdateVideoname 02/06 13:51:26 Updating: idalarmcra = 384057 02/06 13:51:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384057 ORDER BY IDALARMCRA DESC 02/06 13:51:26 Just before Update() 02/06 13:51:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:51:36 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:51:36 Don't have work. 02/06 13:51:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:51:46 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:51:46 Alarms with pending videos found! 02/06 13:51:46 Next idalarmcra = 384062 02/06 13:51:46 DownloadVideos::DownloadVideoOfAlarm 02/06 13:51:46 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:51:46 SAM|1102 02/06 13:51:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:51:46 NOK answer received 02/06 13:51:46 UpdateVideoname 02/06 13:51:46 Updating: idalarmcra = 384062 02/06 13:51:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384062 ORDER BY IDALARMCRA DESC 02/06 13:51:46 Just before Update() 02/06 13:51:46 Next idalarmcra = 384061 02/06 13:51:46 DownloadVideos::DownloadVideoOfAlarm 02/06 13:51:46 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:51:46 SAM|1346 02/06 13:51:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:51:46 NOK answer received 02/06 13:51:46 UpdateVideoname 02/06 13:51:46 Updating: idalarmcra = 384061 02/06 13:51:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384061 ORDER BY IDALARMCRA DESC 02/06 13:51:46 Just before Update() 02/06 13:51:46 Next idalarmcra = 384060 02/06 13:51:46 DownloadVideos::DownloadVideoOfAlarm 02/06 13:51:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:51:46 SAM|1101 02/06 13:51:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135051_421.mp4|110945| 02/06 13:51:47 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135051_421.mp4 02/06 13:51:47 Date = 20190602 02/06 13:51:47 Construct from filename date 02/06 13:51:47 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135051_421.mp4 02/06 13:51:47 Destination file not found 02/06 13:51:47 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135051_421.mp4 02/06 13:51:47 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135051_421.mp4 02/06 13:51:47 DownloadFile ok... checking file destination 02/06 13:51:47 URLDownloadToFile ok 02/06 13:51:47 Video .sig downloaded ok! 02/06 13:51:47 Snapshot .sig downloaded ok! 02/06 13:51:47 Elapsed download time: 00:00:01 02/06 13:51:48 UpdateVideoname 02/06 13:51:48 Updating: idalarmcra = 384060 02/06 13:51:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384060 ORDER BY IDALARMCRA DESC 02/06 13:51:48 Just before Update() 02/06 13:51:48 Next idalarmcra = 384059 02/06 13:51:48 DownloadVideos::DownloadVideoOfAlarm 02/06 13:51:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:51:48 SAM|1100 02/06 13:51:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135049_173.mp4|102934| 02/06 13:51:48 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135049_173.mp4 02/06 13:51:48 Date = 20190602 02/06 13:51:48 Construct from filename date 02/06 13:51:48 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135049_173.mp4 02/06 13:51:48 Destination file not found 02/06 13:51:48 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135049_173.mp4 02/06 13:51:48 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135049_173.mp4 02/06 13:51:48 DownloadFile ok... checking file destination 02/06 13:51:48 URLDownloadToFile ok 02/06 13:51:48 Video .sig downloaded ok! 02/06 13:51:48 Snapshot .sig downloaded ok! 02/06 13:51:48 Elapsed download time: 00:00:00 02/06 13:51:48 UpdateVideoname 02/06 13:51:48 Updating: idalarmcra = 384059 02/06 13:51:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384059 ORDER BY IDALARMCRA DESC 02/06 13:51:48 Just before Update() 02/06 13:51:48 Next idalarmcra = 384058 02/06 13:51:48 DownloadVideos::DownloadVideoOfAlarm 02/06 13:51:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:51:48 SAM|1345 02/06 13:51:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135132_109.mp4|114282| 02/06 13:51:49 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135132_109.mp4 02/06 13:51:49 Date = 20190602 02/06 13:51:49 Construct from filename date 02/06 13:51:49 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135132_109.mp4 02/06 13:51:49 Destination file not found 02/06 13:51:49 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135132_109.mp4 02/06 13:51:49 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135132_109.mp4 02/06 13:51:51 DownloadFile ok... checking file destination 02/06 13:51:51 URLDownloadToFile ok 02/06 13:51:52 Video .sig downloaded ok! 02/06 13:51:52 Snapshot .sig downloaded ok! 02/06 13:51:52 Elapsed download time: 00:00:04 02/06 13:51:52 UpdateVideoname 02/06 13:51:52 Updating: idalarmcra = 384058 02/06 13:51:52 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384058 ORDER BY IDALARMCRA DESC 02/06 13:51:52 Rollback executed. 02/06 13:51:52 RecordSet closed. 02/06 13:51:52 CheckDDBB 02/06 13:51:52 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 13:52:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:52:02 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:52:02 Alarms with pending videos found! 02/06 13:52:02 Next idalarmcra = 384063 02/06 13:52:02 DownloadVideos::DownloadVideoOfAlarm 02/06 13:52:02 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:52:02 SAM|1347 02/06 13:52:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135150_125.mp4|103875| 02/06 13:52:02 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135150_125.mp4 02/06 13:52:02 Date = 20190602 02/06 13:52:02 Construct from filename date 02/06 13:52:02 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135150_125.mp4 02/06 13:52:02 Destination file not found 02/06 13:52:02 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135150_125.mp4 02/06 13:52:02 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135150_125.mp4 02/06 13:52:04 DownloadFile ok... checking file destination 02/06 13:52:04 URLDownloadToFile ok 02/06 13:52:05 Video .sig downloaded ok! 02/06 13:52:05 Snapshot .sig downloaded ok! 02/06 13:52:05 Elapsed download time: 00:00:03 02/06 13:52:05 UpdateVideoname 02/06 13:52:05 Updating: idalarmcra = 384063 02/06 13:52:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384063 ORDER BY IDALARMCRA DESC 02/06 13:52:05 Just before Update() 02/06 13:52:05 Next idalarmcra = 384061 02/06 13:52:05 DownloadVideos::DownloadVideoOfAlarm 02/06 13:52:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:52:05 SAM|1346 02/06 13:52:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135145_188.mp4|105636| 02/06 13:52:05 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135145_188.mp4 02/06 13:52:05 Date = 20190602 02/06 13:52:05 Construct from filename date 02/06 13:52:05 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135145_188.mp4 02/06 13:52:05 Destination file not found 02/06 13:52:05 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135145_188.mp4 02/06 13:52:05 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135145_188.mp4 02/06 13:52:08 DownloadFile ok... checking file destination 02/06 13:52:08 URLDownloadToFile ok 02/06 13:52:08 Video .sig downloaded ok! 02/06 13:52:08 Snapshot .sig downloaded ok! 02/06 13:52:08 Elapsed download time: 00:00:03 02/06 13:52:08 UpdateVideoname 02/06 13:52:08 Updating: idalarmcra = 384061 02/06 13:52:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384061 ORDER BY IDALARMCRA DESC 02/06 13:52:08 Just before Update() 02/06 13:52:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:52:18 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:52:18 Don't have work. 02/06 13:52:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:52:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:52:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:52:38 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:52:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:52:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:52:58 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:52:58 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:53:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:53:08 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:53:08 Alarms with pending videos found! 02/06 13:53:08 Next idalarmcra = 384068 02/06 13:53:08 DownloadVideos::DownloadVideoOfAlarm 02/06 13:53:09 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:53:09 SAM|1104 02/06 13:53:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135214_174.mp4|104756| 02/06 13:53:09 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135214_174.mp4 02/06 13:53:09 Date = 20190602 02/06 13:53:09 Construct from filename date 02/06 13:53:09 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135214_174.mp4 02/06 13:53:09 Destination file not found 02/06 13:53:09 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135214_174.mp4 02/06 13:53:09 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135214_174.mp4 02/06 13:53:09 DownloadFile ok... checking file destination 02/06 13:53:09 URLDownloadToFile ok 02/06 13:53:09 Video .sig downloaded ok! 02/06 13:53:10 Snapshot .sig downloaded ok! 02/06 13:53:10 Elapsed download time: 00:00:01 02/06 13:53:10 UpdateVideoname 02/06 13:53:10 Updating: idalarmcra = 384068 02/06 13:53:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384068 ORDER BY IDALARMCRA DESC 02/06 13:53:10 Just before Update() 02/06 13:53:10 Next idalarmcra = 384067 02/06 13:53:10 DownloadVideos::DownloadVideoOfAlarm 02/06 13:53:10 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:53:10 SAM|1103 02/06 13:53:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135212_422.mp4|108692| 02/06 13:53:10 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135212_422.mp4 02/06 13:53:10 Date = 20190602 02/06 13:53:10 Construct from filename date 02/06 13:53:10 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135212_422.mp4 02/06 13:53:10 Destination file not found 02/06 13:53:10 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135212_422.mp4 02/06 13:53:10 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135212_422.mp4 02/06 13:53:10 DownloadFile ok... checking file destination 02/06 13:53:10 URLDownloadToFile ok 02/06 13:53:10 Video .sig downloaded ok! 02/06 13:53:10 Snapshot .sig downloaded ok! 02/06 13:53:10 Elapsed download time: 00:00:00 02/06 13:53:10 UpdateVideoname 02/06 13:53:10 Updating: idalarmcra = 384067 02/06 13:53:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384067 ORDER BY IDALARMCRA DESC 02/06 13:53:10 Just before Update() 02/06 13:53:10 Next idalarmcra = 384066 02/06 13:53:10 DownloadVideos::DownloadVideoOfAlarm 02/06 13:53:10 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:53:10 SAM|748 02/06 13:53:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_135259_108.mp4|113598| 02/06 13:53:11 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_135259_108.mp4 02/06 13:53:11 Date = 20190602 02/06 13:53:11 Construct from filename date 02/06 13:53:11 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_135259_108.mp4 02/06 13:53:11 Destination file not found 02/06 13:53:11 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_135259_108.mp4 02/06 13:53:11 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_135259_108.mp4 02/06 13:53:11 DownloadFile ok... checking file destination 02/06 13:53:11 URLDownloadToFile ok 02/06 13:53:11 Video .sig downloaded ok! 02/06 13:53:11 Snapshot .sig downloaded ok! 02/06 13:53:11 Elapsed download time: 00:00:01 02/06 13:53:11 UpdateVideoname 02/06 13:53:11 Updating: idalarmcra = 384066 02/06 13:53:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384066 ORDER BY IDALARMCRA DESC 02/06 13:53:11 Just before Update() 02/06 13:53:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:53:22 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:53:22 Alarms with pending videos found! 02/06 13:53:22 Next idalarmcra = 384071 02/06 13:53:22 DownloadVideos::DownloadVideoOfAlarm 02/06 13:53:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:53:22 SAM|749 02/06 13:53:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_135310_30.mp4|106727| 02/06 13:53:23 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_135310_30.mp4 02/06 13:53:23 Date = 20190602 02/06 13:53:23 Construct from filename date 02/06 13:53:23 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_135310_30.mp4 02/06 13:53:23 Destination file not found 02/06 13:53:23 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_135310_30.mp4 02/06 13:53:23 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_135310_30.mp4 02/06 13:53:23 DownloadFile ok... checking file destination 02/06 13:53:23 URLDownloadToFile ok 02/06 13:53:23 Video .sig downloaded ok! 02/06 13:53:23 Snapshot .sig downloaded ok! 02/06 13:53:23 Elapsed download time: 00:00:01 02/06 13:53:23 UpdateVideoname 02/06 13:53:23 Updating: idalarmcra = 384071 02/06 13:53:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384071 ORDER BY IDALARMCRA DESC 02/06 13:53:23 Just before Update() 02/06 13:53:23 Next idalarmcra = 384070 02/06 13:53:23 DownloadVideos::DownloadVideoOfAlarm 02/06 13:53:23 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:53:23 SAM|1348 02/06 13:53:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135314_189.mp4|102078| 02/06 13:53:24 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135314_189.mp4 02/06 13:53:24 Date = 20190602 02/06 13:53:24 Construct from filename date 02/06 13:53:24 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135314_189.mp4 02/06 13:53:24 Destination file not found 02/06 13:53:24 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135314_189.mp4 02/06 13:53:24 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135314_189.mp4 02/06 13:53:24 DownloadFile ok... checking file destination 02/06 13:53:24 URLDownloadToFile ok 02/06 13:53:24 Video .sig downloaded ok! 02/06 13:53:24 Snapshot .sig downloaded ok! 02/06 13:53:24 Elapsed download time: 00:00:01 02/06 13:53:24 UpdateVideoname 02/06 13:53:24 Updating: idalarmcra = 384070 02/06 13:53:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384070 ORDER BY IDALARMCRA DESC 02/06 13:53:24 Just before Update() 02/06 13:53:24 Next idalarmcra = 384069 02/06 13:53:24 DownloadVideos::DownloadVideoOfAlarm 02/06 13:53:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:53:24 SAM|1105 02/06 13:53:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135223_32.mp4|102675| 02/06 13:53:25 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135223_32.mp4 02/06 13:53:25 Date = 20190602 02/06 13:53:25 Construct from filename date 02/06 13:53:25 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135223_32.mp4 02/06 13:53:25 Destination file not found 02/06 13:53:25 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135223_32.mp4 02/06 13:53:25 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135223_32.mp4 02/06 13:53:25 DownloadFile ok... checking file destination 02/06 13:53:25 URLDownloadToFile ok 02/06 13:53:25 Video .sig downloaded ok! 02/06 13:53:25 Snapshot .sig downloaded ok! 02/06 13:53:25 Elapsed download time: 00:00:01 02/06 13:53:25 UpdateVideoname 02/06 13:53:25 Updating: idalarmcra = 384069 02/06 13:53:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384069 ORDER BY IDALARMCRA DESC 02/06 13:53:25 Just before Update() 02/06 13:53:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:53:35 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:53:35 Alarms with pending videos found! 02/06 13:53:35 Next idalarmcra = 384072 02/06 13:53:35 DownloadVideos::DownloadVideoOfAlarm 02/06 13:53:35 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:53:35 SAM|1349 02/06 13:53:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135329_110.mp4|105345| 02/06 13:53:36 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135329_110.mp4 02/06 13:53:36 Date = 20190602 02/06 13:53:36 Construct from filename date 02/06 13:53:36 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135329_110.mp4 02/06 13:53:36 Destination file not found 02/06 13:53:36 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135329_110.mp4 02/06 13:53:36 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135329_110.mp4 02/06 13:53:36 DownloadFile ok... checking file destination 02/06 13:53:36 URLDownloadToFile ok 02/06 13:53:36 Video .sig downloaded ok! 02/06 13:53:36 Snapshot .sig downloaded ok! 02/06 13:53:36 Elapsed download time: 00:00:01 02/06 13:53:36 UpdateVideoname 02/06 13:53:36 Updating: idalarmcra = 384072 02/06 13:53:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384072 ORDER BY IDALARMCRA DESC 02/06 13:53:36 Just before Update() 02/06 13:53:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:53:47 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:53:47 Alarms with pending videos found! 02/06 13:53:47 Next idalarmcra = 384073 02/06 13:53:47 DownloadVideos::DownloadVideoOfAlarm 02/06 13:53:47 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:53:47 SAM|1106 02/06 13:53:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135251_423.mp4|103007| 02/06 13:53:47 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135251_423.mp4 02/06 13:53:47 Date = 20190602 02/06 13:53:47 Construct from filename date 02/06 13:53:47 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135251_423.mp4 02/06 13:53:47 Destination file not found 02/06 13:53:47 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135251_423.mp4 02/06 13:53:47 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135251_423.mp4 02/06 13:53:47 DownloadFile ok... checking file destination 02/06 13:53:47 URLDownloadToFile ok 02/06 13:53:47 Video .sig downloaded ok! 02/06 13:53:47 Snapshot .sig downloaded ok! 02/06 13:53:47 Elapsed download time: 00:00:00 02/06 13:53:47 UpdateVideoname 02/06 13:53:47 Updating: idalarmcra = 384073 02/06 13:53:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384073 ORDER BY IDALARMCRA DESC 02/06 13:53:47 Just before Update() 02/06 13:53:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:53:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:53:57 Don't have work. 02/06 13:54:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:54:07 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:54:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:54:18 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:54:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:54:28 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:54:38 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:54:38 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:54:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:54:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:54:58 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:54:58 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:54:58 Alarms with pending videos found! 02/06 13:54:58 Next idalarmcra = 384075 02/06 13:54:58 DownloadVideos::DownloadVideoOfAlarm 02/06 13:54:58 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:54:58 SAM|1350 02/06 13:54:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:54:59 NOK answer received 02/06 13:54:59 UpdateVideoname 02/06 13:54:59 Updating: idalarmcra = 384075 02/06 13:54:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384075 ORDER BY IDALARMCRA DESC 02/06 13:54:59 Just before Update() 02/06 13:54:59 Next idalarmcra = 384074 02/06 13:54:59 DownloadVideos::DownloadVideoOfAlarm 02/06 13:54:59 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:54:59 SAM|1351 02/06 13:54:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:54:59 NOK answer received 02/06 13:54:59 UpdateVideoname 02/06 13:54:59 Updating: idalarmcra = 384074 02/06 13:54:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384074 ORDER BY IDALARMCRA DESC 02/06 13:54:59 Just before Update() 02/06 13:55:09 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:55:09 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:55:09 Alarms with pending videos found! 02/06 13:55:09 Next idalarmcra = 384077 02/06 13:55:09 DownloadVideos::DownloadVideoOfAlarm 02/06 13:55:09 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:55:09 SAM|1353 02/06 13:55:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135503_191.mp4|104317| 02/06 13:55:10 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135503_191.mp4 02/06 13:55:10 Date = 20190602 02/06 13:55:10 Construct from filename date 02/06 13:55:10 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135503_191.mp4 02/06 13:55:10 Destination file not found 02/06 13:55:10 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135503_191.mp4 02/06 13:55:10 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135503_191.mp4 02/06 13:55:10 DownloadFile ok... checking file destination 02/06 13:55:10 URLDownloadToFile ok 02/06 13:55:11 Video .sig downloaded ok! 02/06 13:55:11 Snapshot .sig downloaded ok! 02/06 13:55:11 Elapsed download time: 00:00:02 02/06 13:55:11 UpdateVideoname 02/06 13:55:11 Updating: idalarmcra = 384077 02/06 13:55:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384077 ORDER BY IDALARMCRA DESC 02/06 13:55:11 Just before Update() 02/06 13:55:11 Next idalarmcra = 384076 02/06 13:55:11 DownloadVideos::DownloadVideoOfAlarm 02/06 13:55:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:55:11 SAM|1352 02/06 13:55:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135458_111.mp4|107072| 02/06 13:55:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135458_111.mp4 02/06 13:55:11 Date = 20190602 02/06 13:55:11 Construct from filename date 02/06 13:55:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135458_111.mp4 02/06 13:55:11 Destination file not found 02/06 13:55:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135458_111.mp4 02/06 13:55:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135458_111.mp4 02/06 13:55:12 DownloadFile ok... checking file destination 02/06 13:55:12 URLDownloadToFile ok 02/06 13:55:12 Video .sig downloaded ok! 02/06 13:55:13 Snapshot .sig downloaded ok! 02/06 13:55:13 Elapsed download time: 00:00:02 02/06 13:55:13 UpdateVideoname 02/06 13:55:13 Updating: idalarmcra = 384076 02/06 13:55:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384076 ORDER BY IDALARMCRA DESC 02/06 13:55:13 Just before Update() 02/06 13:55:13 Next idalarmcra = 384075 02/06 13:55:13 DownloadVideos::DownloadVideoOfAlarm 02/06 13:55:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:55:13 SAM|1350 02/06 13:55:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135454_126.mp4|101778| 02/06 13:55:13 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135454_126.mp4 02/06 13:55:13 Date = 20190602 02/06 13:55:13 Construct from filename date 02/06 13:55:13 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135454_126.mp4 02/06 13:55:13 Destination file not found 02/06 13:55:13 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135454_126.mp4 02/06 13:55:13 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135454_126.mp4 02/06 13:55:14 DownloadFile ok... checking file destination 02/06 13:55:14 URLDownloadToFile ok 02/06 13:55:14 Video .sig downloaded ok! 02/06 13:55:14 Snapshot .sig downloaded ok! 02/06 13:55:14 Elapsed download time: 00:00:01 02/06 13:55:14 UpdateVideoname 02/06 13:55:14 Updating: idalarmcra = 384075 02/06 13:55:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384075 ORDER BY IDALARMCRA DESC 02/06 13:55:14 Just before Update() 02/06 13:55:14 Next idalarmcra = 384074 02/06 13:55:14 DownloadVideos::DownloadVideoOfAlarm 02/06 13:55:14 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:55:14 SAM|1351 02/06 13:55:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135454_190.mp4|109925| 02/06 13:55:14 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135454_190.mp4 02/06 13:55:14 Date = 20190602 02/06 13:55:14 Construct from filename date 02/06 13:55:14 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135454_190.mp4 02/06 13:55:14 Destination file not found 02/06 13:55:14 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135454_190.mp4 02/06 13:55:14 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135454_190.mp4 02/06 13:55:15 DownloadFile ok... checking file destination 02/06 13:55:15 URLDownloadToFile ok 02/06 13:55:15 Video .sig downloaded ok! 02/06 13:55:15 Snapshot .sig downloaded ok! 02/06 13:55:15 Elapsed download time: 00:00:01 02/06 13:55:15 UpdateVideoname 02/06 13:55:15 Updating: idalarmcra = 384074 02/06 13:55:15 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384074 ORDER BY IDALARMCRA DESC 02/06 13:55:15 Just before Update() 02/06 13:55:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:55:25 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:55:25 Alarms with pending videos found! 02/06 13:55:25 Next idalarmcra = 384079 02/06 13:55:25 DownloadVideos::DownloadVideoOfAlarm 02/06 13:55:25 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:55:25 SAM|1355 02/06 13:55:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:55:26 NOK answer received 02/06 13:55:26 UpdateVideoname 02/06 13:55:26 Updating: idalarmcra = 384079 02/06 13:55:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384079 ORDER BY IDALARMCRA DESC 02/06 13:55:26 Just before Update() 02/06 13:55:26 Next idalarmcra = 384078 02/06 13:55:26 DownloadVideos::DownloadVideoOfAlarm 02/06 13:55:26 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:55:26 SAM|1354 02/06 13:55:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135518_192.mp4|112449| 02/06 13:55:26 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135518_192.mp4 02/06 13:55:26 Date = 20190602 02/06 13:55:26 Construct from filename date 02/06 13:55:26 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135518_192.mp4 02/06 13:55:26 Destination file not found 02/06 13:55:26 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135518_192.mp4 02/06 13:55:26 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135518_192.mp4 02/06 13:55:26 DownloadFile ok... checking file destination 02/06 13:55:26 URLDownloadToFile ok 02/06 13:55:26 Video .sig downloaded ok! 02/06 13:55:27 Snapshot .sig downloaded ok! 02/06 13:55:27 Elapsed download time: 00:00:01 02/06 13:55:27 UpdateVideoname 02/06 13:55:27 Updating: idalarmcra = 384078 02/06 13:55:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384078 ORDER BY IDALARMCRA DESC 02/06 13:55:27 Just before Update() 02/06 13:55:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:55:37 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:55:37 Alarms with pending videos found! 02/06 13:55:37 Next idalarmcra = 384079 02/06 13:55:37 DownloadVideos::DownloadVideoOfAlarm 02/06 13:55:37 [D] Query(47ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:55:37 SAM|1355 02/06 13:55:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135521_112.mp4|103998| 02/06 13:55:37 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135521_112.mp4 02/06 13:55:37 Date = 20190602 02/06 13:55:37 Construct from filename date 02/06 13:55:37 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135521_112.mp4 02/06 13:55:37 Destination file not found 02/06 13:55:37 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135521_112.mp4 02/06 13:55:37 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135521_112.mp4 02/06 13:55:37 DownloadFile ok... checking file destination 02/06 13:55:37 URLDownloadToFile ok 02/06 13:55:38 Video .sig downloaded ok! 02/06 13:55:38 Snapshot .sig downloaded ok! 02/06 13:55:38 Elapsed download time: 00:00:01 02/06 13:55:38 UpdateVideoname 02/06 13:55:38 Updating: idalarmcra = 384079 02/06 13:55:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384079 ORDER BY IDALARMCRA DESC 02/06 13:55:38 Just before Update() 02/06 13:55:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:55:48 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:55:48 Don't have work. 02/06 13:55:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:55:58 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:55:58 Alarms with pending videos found! 02/06 13:55:58 Next idalarmcra = 384080 02/06 13:55:58 DownloadVideos::DownloadVideoOfAlarm 02/06 13:55:58 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 13:55:58 SAM|22952 02/06 13:55:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_135603_47.mp4|111934| 02/06 13:55:59 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_135603_47.mp4 02/06 13:55:59 Date = 20190602 02/06 13:55:59 Construct from filename date 02/06 13:55:59 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_135603_47.mp4 02/06 13:55:59 Destination file not found 02/06 13:55:59 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_135603_47.mp4 02/06 13:55:59 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_135603_47.mp4 02/06 13:56:00 DownloadFile ok... checking file destination 02/06 13:56:00 URLDownloadToFile ok 02/06 13:56:00 Video .sig downloaded ok! 02/06 13:56:00 Snapshot .sig downloaded ok! 02/06 13:56:00 Elapsed download time: 00:00:02 02/06 13:56:01 UpdateVideoname 02/06 13:56:01 Updating: idalarmcra = 384080 02/06 13:56:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384080 ORDER BY IDALARMCRA DESC 02/06 13:56:01 Just before Update() 02/06 13:56:11 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:56:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:56:11 Don't have work. 02/06 13:56:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:56:21 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:56:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:56:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:56:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:56:41 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:56:41 Alarms with pending videos found! 02/06 13:56:41 Next idalarmcra = 384083 02/06 13:56:41 DownloadVideos::DownloadVideoOfAlarm 02/06 13:56:41 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:56:41 SAM|1356 02/06 13:56:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135634_193.mp4|97316| 02/06 13:56:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135634_193.mp4 02/06 13:56:41 Date = 20190602 02/06 13:56:41 Construct from filename date 02/06 13:56:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135634_193.mp4 02/06 13:56:41 Destination file not found 02/06 13:56:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135634_193.mp4 02/06 13:56:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135634_193.mp4 02/06 13:56:42 DownloadFile ok... checking file destination 02/06 13:56:42 URLDownloadToFile ok 02/06 13:56:42 Video .sig downloaded ok! 02/06 13:56:42 Snapshot .sig downloaded ok! 02/06 13:56:42 Elapsed download time: 00:00:01 02/06 13:56:42 UpdateVideoname 02/06 13:56:42 Updating: idalarmcra = 384083 02/06 13:56:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384083 ORDER BY IDALARMCRA DESC 02/06 13:56:42 Just before Update() 02/06 13:56:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:56:52 [D] Query(34ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:56:52 Alarms with pending videos found! 02/06 13:56:52 Next idalarmcra = 384087 02/06 13:56:52 DownloadVideos::DownloadVideoOfAlarm 02/06 13:56:52 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:56:52 SAM|1108 02/06 13:56:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:56:52 NOK answer received 02/06 13:56:52 UpdateVideoname 02/06 13:56:52 Updating: idalarmcra = 384087 02/06 13:56:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384087 ORDER BY IDALARMCRA DESC 02/06 13:56:52 Just before Update() 02/06 13:56:52 Next idalarmcra = 384086 02/06 13:56:52 DownloadVideos::DownloadVideoOfAlarm 02/06 13:56:53 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:56:53 SAM|1107 02/06 13:56:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135559_424.mp4|106623| 02/06 13:56:53 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135559_424.mp4 02/06 13:56:53 Date = 20190602 02/06 13:56:53 Construct from filename date 02/06 13:56:53 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135559_424.mp4 02/06 13:56:53 Destination file not found 02/06 13:56:53 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135559_424.mp4 02/06 13:56:53 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135559_424.mp4 02/06 13:56:53 DownloadFile ok... checking file destination 02/06 13:56:53 URLDownloadToFile ok 02/06 13:56:53 Video .sig downloaded ok! 02/06 13:56:53 Snapshot .sig downloaded ok! 02/06 13:56:53 Elapsed download time: 00:00:00 02/06 13:56:54 UpdateVideoname 02/06 13:56:54 Updating: idalarmcra = 384086 02/06 13:56:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384086 ORDER BY IDALARMCRA DESC 02/06 13:56:54 Just before Update() 02/06 13:57:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:57:04 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:57:04 Alarms with pending videos found! 02/06 13:57:04 Next idalarmcra = 384090 02/06 13:57:04 DownloadVideos::DownloadVideoOfAlarm 02/06 13:57:04 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:57:04 SAM|1357 02/06 13:57:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 13:57:04 NOK answer received 02/06 13:57:04 UpdateVideoname 02/06 13:57:04 Updating: idalarmcra = 384090 02/06 13:57:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384090 ORDER BY IDALARMCRA DESC 02/06 13:57:04 Just before Update() 02/06 13:57:04 Next idalarmcra = 384089 02/06 13:57:04 DownloadVideos::DownloadVideoOfAlarm 02/06 13:57:04 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 13:57:04 SAM|1109 02/06 13:57:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135602_33.mp4|107964| 02/06 13:57:04 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135602_33.mp4 02/06 13:57:04 Date = 20190602 02/06 13:57:04 Construct from filename date 02/06 13:57:04 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135602_33.mp4 02/06 13:57:04 Destination file not found 02/06 13:57:04 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135602_33.mp4 02/06 13:57:04 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135602_33.mp4 02/06 13:57:05 DownloadFile ok... checking file destination 02/06 13:57:05 URLDownloadToFile ok 02/06 13:57:05 Video .sig downloaded ok! 02/06 13:57:05 Snapshot .sig downloaded ok! 02/06 13:57:05 Elapsed download time: 00:00:01 02/06 13:57:05 UpdateVideoname 02/06 13:57:05 Updating: idalarmcra = 384089 02/06 13:57:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384089 ORDER BY IDALARMCRA DESC 02/06 13:57:05 Just before Update() 02/06 13:57:05 Next idalarmcra = 384088 02/06 13:57:05 DownloadVideos::DownloadVideoOfAlarm 02/06 13:57:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 13:57:05 SAM|750 02/06 13:57:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_135647_109.mp4|109309| 02/06 13:57:05 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_135647_109.mp4 02/06 13:57:05 Date = 20190602 02/06 13:57:05 Construct from filename date 02/06 13:57:05 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_135647_109.mp4 02/06 13:57:05 Destination file not found 02/06 13:57:05 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_135647_109.mp4 02/06 13:57:05 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_135647_109.mp4 02/06 13:57:06 DownloadFile ok... checking file destination 02/06 13:57:06 URLDownloadToFile ok 02/06 13:57:06 Video .sig downloaded ok! 02/06 13:57:06 Snapshot .sig downloaded ok! 02/06 13:57:06 Elapsed download time: 00:00:01 02/06 13:57:06 UpdateVideoname 02/06 13:57:06 Updating: idalarmcra = 384088 02/06 13:57:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384088 ORDER BY IDALARMCRA DESC 02/06 13:57:06 Just before Update() 02/06 13:57:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:57:16 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:57:16 Alarms with pending videos found! 02/06 13:57:16 Next idalarmcra = 384091 02/06 13:57:16 DownloadVideos::DownloadVideoOfAlarm 02/06 13:57:16 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:57:16 SAM|1358 02/06 13:57:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135702_127.mp4|102798| 02/06 13:57:17 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135702_127.mp4 02/06 13:57:17 Date = 20190602 02/06 13:57:17 Construct from filename date 02/06 13:57:17 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135702_127.mp4 02/06 13:57:17 Destination file not found 02/06 13:57:17 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135702_127.mp4 02/06 13:57:17 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135702_127.mp4 02/06 13:57:17 DownloadFile ok... checking file destination 02/06 13:57:17 URLDownloadToFile ok 02/06 13:57:17 Video .sig downloaded ok! 02/06 13:57:17 Snapshot .sig downloaded ok! 02/06 13:57:17 Elapsed download time: 00:00:01 02/06 13:57:17 UpdateVideoname 02/06 13:57:17 Updating: idalarmcra = 384091 02/06 13:57:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384091 ORDER BY IDALARMCRA DESC 02/06 13:57:17 Just before Update() 02/06 13:57:17 Next idalarmcra = 384090 02/06 13:57:17 DownloadVideos::DownloadVideoOfAlarm 02/06 13:57:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:57:17 SAM|1357 02/06 13:57:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135700_194.mp4|105774| 02/06 13:57:17 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135700_194.mp4 02/06 13:57:17 Date = 20190602 02/06 13:57:17 Construct from filename date 02/06 13:57:17 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135700_194.mp4 02/06 13:57:17 Destination file not found 02/06 13:57:17 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135700_194.mp4 02/06 13:57:17 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135700_194.mp4 02/06 13:57:18 DownloadFile ok... checking file destination 02/06 13:57:18 URLDownloadToFile ok 02/06 13:57:18 Video .sig downloaded ok! 02/06 13:57:18 Snapshot .sig downloaded ok! 02/06 13:57:18 Elapsed download time: 00:00:01 02/06 13:57:18 UpdateVideoname 02/06 13:57:18 Updating: idalarmcra = 384090 02/06 13:57:18 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384090 ORDER BY IDALARMCRA DESC 02/06 13:57:18 Just before Update() 02/06 13:57:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:57:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:57:28 Alarms with pending videos found! 02/06 13:57:28 Next idalarmcra = 384093 02/06 13:57:28 DownloadVideos::DownloadVideoOfAlarm 02/06 13:57:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:57:28 SAM|1360 02/06 13:57:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135721_113.mp4|106244| 02/06 13:57:28 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135721_113.mp4 02/06 13:57:28 Date = 20190602 02/06 13:57:28 Construct from filename date 02/06 13:57:28 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135721_113.mp4 02/06 13:57:28 Destination file not found 02/06 13:57:28 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135721_113.mp4 02/06 13:57:28 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135721_113.mp4 02/06 13:57:28 DownloadFile ok... checking file destination 02/06 13:57:28 URLDownloadToFile ok 02/06 13:57:28 Video .sig downloaded ok! 02/06 13:57:28 Snapshot .sig downloaded ok! 02/06 13:57:28 Elapsed download time: 00:00:00 02/06 13:57:28 UpdateVideoname 02/06 13:57:28 Updating: idalarmcra = 384093 02/06 13:57:28 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384093 ORDER BY IDALARMCRA DESC 02/06 13:57:28 Just before Update() 02/06 13:57:28 Next idalarmcra = 384092 02/06 13:57:28 DownloadVideos::DownloadVideoOfAlarm 02/06 13:57:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:57:29 SAM|1359 02/06 13:57:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135718_128.mp4|96799| 02/06 13:57:29 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135718_128.mp4 02/06 13:57:29 Date = 20190602 02/06 13:57:29 Construct from filename date 02/06 13:57:29 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135718_128.mp4 02/06 13:57:29 Destination file not found 02/06 13:57:29 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135718_128.mp4 02/06 13:57:29 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135718_128.mp4 02/06 13:57:29 DownloadFile ok... checking file destination 02/06 13:57:29 URLDownloadToFile ok 02/06 13:57:29 Video .sig downloaded ok! 02/06 13:57:29 Snapshot .sig downloaded ok! 02/06 13:57:29 Elapsed download time: 00:00:00 02/06 13:57:29 UpdateVideoname 02/06 13:57:29 Updating: idalarmcra = 384092 02/06 13:57:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384092 ORDER BY IDALARMCRA DESC 02/06 13:57:29 Just before Update() 02/06 13:57:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:57:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:57:39 Don't have work. 02/06 13:57:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:57:49 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:57:49 Alarms with pending videos found! 02/06 13:57:49 Next idalarmcra = 384094 02/06 13:57:49 DownloadVideos::DownloadVideoOfAlarm 02/06 13:57:49 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:57:49 SAM|1361 02/06 13:57:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135737_114.mp4|98439| 02/06 13:57:50 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135737_114.mp4 02/06 13:57:50 Date = 20190602 02/06 13:57:50 Construct from filename date 02/06 13:57:50 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135737_114.mp4 02/06 13:57:50 Destination file not found 02/06 13:57:50 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135737_114.mp4 02/06 13:57:50 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135737_114.mp4 02/06 13:57:50 DownloadFile ok... checking file destination 02/06 13:57:50 URLDownloadToFile ok 02/06 13:57:50 Video .sig downloaded ok! 02/06 13:57:50 Snapshot .sig downloaded ok! 02/06 13:57:50 Elapsed download time: 00:00:01 02/06 13:57:50 UpdateVideoname 02/06 13:57:50 Updating: idalarmcra = 384094 02/06 13:57:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384094 ORDER BY IDALARMCRA DESC 02/06 13:57:50 Just before Update() 02/06 13:58:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:58:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:58:00 Don't have work. 02/06 13:58:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:58:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:58:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:58:20 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:58:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:58:30 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:58:30 Alarms with pending videos found! 02/06 13:58:30 Next idalarmcra = 384097 02/06 13:58:30 DownloadVideos::DownloadVideoOfAlarm 02/06 13:58:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:58:30 SAM|1362 02/06 13:58:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135819_195.mp4|104616| 02/06 13:58:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135819_195.mp4 02/06 13:58:31 Date = 20190602 02/06 13:58:31 Construct from filename date 02/06 13:58:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135819_195.mp4 02/06 13:58:31 Destination file not found 02/06 13:58:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135819_195.mp4 02/06 13:58:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_135819_195.mp4 02/06 13:58:31 DownloadFile ok... checking file destination 02/06 13:58:31 URLDownloadToFile ok 02/06 13:58:31 Video .sig downloaded ok! 02/06 13:58:31 Snapshot .sig downloaded ok! 02/06 13:58:31 Elapsed download time: 00:00:01 02/06 13:58:31 UpdateVideoname 02/06 13:58:31 Updating: idalarmcra = 384097 02/06 13:58:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384097 ORDER BY IDALARMCRA DESC 02/06 13:58:31 Just before Update() 02/06 13:58:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:58:41 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:58:41 Don't have work. 02/06 13:58:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:58:51 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:58:51 Alarms with pending videos found! 02/06 13:58:51 Next idalarmcra = 384099 02/06 13:58:51 DownloadVideos::DownloadVideoOfAlarm 02/06 13:58:51 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:58:51 SAM|1364 02/06 13:58:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135838_129.mp4|100809| 02/06 13:58:52 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135838_129.mp4 02/06 13:58:52 Date = 20190602 02/06 13:58:52 Construct from filename date 02/06 13:58:52 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135838_129.mp4 02/06 13:58:52 Destination file not found 02/06 13:58:52 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135838_129.mp4 02/06 13:58:52 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135838_129.mp4 02/06 13:58:52 DownloadFile ok... checking file destination 02/06 13:58:52 URLDownloadToFile ok 02/06 13:58:52 Video .sig downloaded ok! 02/06 13:58:52 Snapshot .sig downloaded ok! 02/06 13:58:52 Elapsed download time: 00:00:01 02/06 13:58:52 UpdateVideoname 02/06 13:58:52 Updating: idalarmcra = 384099 02/06 13:58:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384099 ORDER BY IDALARMCRA DESC 02/06 13:58:52 Just before Update() 02/06 13:58:52 Next idalarmcra = 384098 02/06 13:58:52 DownloadVideos::DownloadVideoOfAlarm 02/06 13:58:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:58:52 SAM|1363 02/06 13:58:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135837_115.mp4|108137| 02/06 13:58:53 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135837_115.mp4 02/06 13:58:53 Date = 20190602 02/06 13:58:53 Construct from filename date 02/06 13:58:53 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135837_115.mp4 02/06 13:58:53 Destination file not found 02/06 13:58:53 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135837_115.mp4 02/06 13:58:53 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135837_115.mp4 02/06 13:58:53 DownloadFile ok... checking file destination 02/06 13:58:53 URLDownloadToFile ok 02/06 13:58:53 Video .sig downloaded ok! 02/06 13:58:53 Snapshot .sig downloaded ok! 02/06 13:58:53 Elapsed download time: 00:00:01 02/06 13:58:53 UpdateVideoname 02/06 13:58:53 Updating: idalarmcra = 384098 02/06 13:58:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384098 ORDER BY IDALARMCRA DESC 02/06 13:58:53 Just before Update() 02/06 13:59:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:59:03 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:59:03 Alarms with pending videos found! 02/06 13:59:03 Next idalarmcra = 384102 02/06 13:59:03 DownloadVideos::DownloadVideoOfAlarm 02/06 13:59:03 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:59:03 SAM|1366 02/06 13:59:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135858_116.mp4|112790| 02/06 13:59:04 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135858_116.mp4 02/06 13:59:04 Date = 20190602 02/06 13:59:04 Construct from filename date 02/06 13:59:04 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135858_116.mp4 02/06 13:59:04 Destination file not found 02/06 13:59:04 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135858_116.mp4 02/06 13:59:04 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_135858_116.mp4 02/06 13:59:04 DownloadFile ok... checking file destination 02/06 13:59:04 URLDownloadToFile ok 02/06 13:59:04 Video .sig downloaded ok! 02/06 13:59:04 Snapshot .sig downloaded ok! 02/06 13:59:04 Elapsed download time: 00:00:01 02/06 13:59:04 UpdateVideoname 02/06 13:59:04 Updating: idalarmcra = 384102 02/06 13:59:04 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384102 ORDER BY IDALARMCRA DESC 02/06 13:59:04 Just before Update() 02/06 13:59:04 Next idalarmcra = 384100 02/06 13:59:04 DownloadVideos::DownloadVideoOfAlarm 02/06 13:59:04 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 13:59:04 SAM|1365 02/06 13:59:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135851_130.mp4|109144| 02/06 13:59:04 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135851_130.mp4 02/06 13:59:04 Date = 20190602 02/06 13:59:04 Construct from filename date 02/06 13:59:04 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135851_130.mp4 02/06 13:59:04 Destination file not found 02/06 13:59:04 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135851_130.mp4 02/06 13:59:04 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135851_130.mp4 02/06 13:59:05 DownloadFile ok... checking file destination 02/06 13:59:05 URLDownloadToFile ok 02/06 13:59:05 Video .sig downloaded ok! 02/06 13:59:05 Snapshot .sig downloaded ok! 02/06 13:59:05 Elapsed download time: 00:00:01 02/06 13:59:05 UpdateVideoname 02/06 13:59:05 Updating: idalarmcra = 384100 02/06 13:59:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384100 ORDER BY IDALARMCRA DESC 02/06 13:59:05 Just before Update() 02/06 13:59:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:59:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 13:59:15 Don't have work. 02/06 13:59:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:59:25 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:59:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:59:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:59:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:59:45 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 13:59:55 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 13:59:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 12 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:00:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:00:05 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:00:05 Alarms with pending videos found! 02/06 14:00:05 Next idalarmcra = 384104 02/06 14:00:05 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:00:05 SAM|1367 02/06 14:00:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135959_131.mp4|105699| 02/06 14:00:06 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135959_131.mp4 02/06 14:00:06 Date = 20190602 02/06 14:00:06 Construct from filename date 02/06 14:00:06 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135959_131.mp4 02/06 14:00:06 Destination file not found 02/06 14:00:06 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135959_131.mp4 02/06 14:00:06 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_135959_131.mp4 02/06 14:00:06 DownloadFile ok... checking file destination 02/06 14:00:06 URLDownloadToFile ok 02/06 14:00:06 Video .sig downloaded ok! 02/06 14:00:06 Snapshot .sig downloaded ok! 02/06 14:00:06 Elapsed download time: 00:00:01 02/06 14:00:06 UpdateVideoname 02/06 14:00:06 Updating: idalarmcra = 384104 02/06 14:00:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384104 ORDER BY IDALARMCRA DESC 02/06 14:00:06 Just before Update() 02/06 14:00:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:00:16 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:00:16 Alarms with pending videos found! 02/06 14:00:16 Next idalarmcra = 384106 02/06 14:00:16 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:16 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:00:16 SAM|1368 02/06 14:00:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140008_196.mp4|99837| 02/06 14:00:17 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140008_196.mp4 02/06 14:00:17 Date = 20190602 02/06 14:00:17 Construct from filename date 02/06 14:00:17 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140008_196.mp4 02/06 14:00:17 Destination file not found 02/06 14:00:17 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140008_196.mp4 02/06 14:00:17 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140008_196.mp4 02/06 14:00:17 DownloadFile ok... checking file destination 02/06 14:00:17 URLDownloadToFile ok 02/06 14:00:17 Video .sig downloaded ok! 02/06 14:00:17 Snapshot .sig downloaded ok! 02/06 14:00:17 Elapsed download time: 00:00:01 02/06 14:00:17 UpdateVideoname 02/06 14:00:17 Updating: idalarmcra = 384106 02/06 14:00:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384106 ORDER BY IDALARMCRA DESC 02/06 14:00:17 Just before Update() 02/06 14:00:17 Next idalarmcra = 384105 02/06 14:00:17 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:18 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 14:00:18 SAM|22288 02/06 14:00:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_140444_2.mp4|96921| 02/06 14:00:18 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_140444_2.mp4 02/06 14:00:18 Date = 20190602 02/06 14:00:18 Construct from filename date 02/06 14:00:18 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_140444_2.mp4 02/06 14:00:18 Destination file not found 02/06 14:00:18 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_140444_2.mp4 02/06 14:00:18 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam5_Event2_20190602_140444_2.mp4 02/06 14:00:19 DownloadFile ok... checking file destination 02/06 14:00:19 URLDownloadToFile ok 02/06 14:00:20 Video .sig downloaded ok! 02/06 14:00:20 Snapshot .sig downloaded ok! 02/06 14:00:20 Elapsed download time: 00:00:02 02/06 14:00:20 UpdateVideoname 02/06 14:00:20 Updating: idalarmcra = 384105 02/06 14:00:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384105 ORDER BY IDALARMCRA DESC 02/06 14:00:20 Just before Update() 02/06 14:00:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:00:30 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:00:30 Alarms with pending videos found! 02/06 14:00:30 Next idalarmcra = 384108 02/06 14:00:30 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:00:30 SAM|1370 02/06 14:00:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:00:30 NOK answer received 02/06 14:00:30 UpdateVideoname 02/06 14:00:30 Updating: idalarmcra = 384108 02/06 14:00:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384108 ORDER BY IDALARMCRA DESC 02/06 14:00:30 Just before Update() 02/06 14:00:30 Next idalarmcra = 384107 02/06 14:00:30 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:00:30 SAM|1369 02/06 14:00:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140020_197.mp4|99019| 02/06 14:00:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140020_197.mp4 02/06 14:00:31 Date = 20190602 02/06 14:00:31 Construct from filename date 02/06 14:00:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140020_197.mp4 02/06 14:00:31 Destination file not found 02/06 14:00:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140020_197.mp4 02/06 14:00:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140020_197.mp4 02/06 14:00:31 DownloadFile ok... checking file destination 02/06 14:00:31 URLDownloadToFile ok 02/06 14:00:31 Video .sig downloaded ok! 02/06 14:00:31 Snapshot .sig downloaded ok! 02/06 14:00:31 Elapsed download time: 00:00:01 02/06 14:00:32 UpdateVideoname 02/06 14:00:32 Updating: idalarmcra = 384107 02/06 14:00:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384107 ORDER BY IDALARMCRA DESC 02/06 14:00:32 Just before Update() 02/06 14:00:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:00:42 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:00:42 Alarms with pending videos found! 02/06 14:00:42 Next idalarmcra = 384108 02/06 14:00:42 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:42 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:00:42 SAM|1370 02/06 14:00:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140025_117.mp4|93865| 02/06 14:00:42 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140025_117.mp4 02/06 14:00:42 Date = 20190602 02/06 14:00:42 Construct from filename date 02/06 14:00:42 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140025_117.mp4 02/06 14:00:42 Destination file not found 02/06 14:00:42 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140025_117.mp4 02/06 14:00:42 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140025_117.mp4 02/06 14:00:42 DownloadFile ok... checking file destination 02/06 14:00:42 URLDownloadToFile ok 02/06 14:00:42 Video .sig downloaded ok! 02/06 14:00:43 Snapshot .sig downloaded ok! 02/06 14:00:43 Elapsed download time: 00:00:01 02/06 14:00:43 UpdateVideoname 02/06 14:00:43 Updating: idalarmcra = 384108 02/06 14:00:43 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384108 ORDER BY IDALARMCRA DESC 02/06 14:00:43 Rollback executed. 02/06 14:00:43 RecordSet closed. 02/06 14:00:43 CheckDDBB 02/06 14:00:43 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:00:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:00:53 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:00:53 Alarms with pending videos found! 02/06 14:00:53 Next idalarmcra = 384114 02/06 14:00:53 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 14:00:53 SAM|751 02/06 14:00:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:00:53 NOK answer received 02/06 14:00:53 UpdateVideoname 02/06 14:00:53 Updating: idalarmcra = 384114 02/06 14:00:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384114 ORDER BY IDALARMCRA DESC 02/06 14:00:53 Just before Update() 02/06 14:00:53 Next idalarmcra = 384113 02/06 14:00:53 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:00:53 SAM|1112 02/06 14:00:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135955_34.mp4|105851| 02/06 14:00:54 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135955_34.mp4 02/06 14:00:54 Date = 20190602 02/06 14:00:54 Construct from filename date 02/06 14:00:54 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135955_34.mp4 02/06 14:00:54 Destination file not found 02/06 14:00:54 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135955_34.mp4 02/06 14:00:54 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_135955_34.mp4 02/06 14:00:54 DownloadFile ok... checking file destination 02/06 14:00:54 URLDownloadToFile ok 02/06 14:00:54 Video .sig downloaded ok! 02/06 14:00:54 Snapshot .sig downloaded ok! 02/06 14:00:54 Elapsed download time: 00:00:01 02/06 14:00:54 UpdateVideoname 02/06 14:00:54 Updating: idalarmcra = 384113 02/06 14:00:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384113 ORDER BY IDALARMCRA DESC 02/06 14:00:54 Just before Update() 02/06 14:00:54 Next idalarmcra = 384112 02/06 14:00:54 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:54 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:00:54 SAM|1110 02/06 14:00:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135954_425.mp4|106260| 02/06 14:00:55 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135954_425.mp4 02/06 14:00:55 Date = 20190602 02/06 14:00:55 Construct from filename date 02/06 14:00:55 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135954_425.mp4 02/06 14:00:55 Destination file not found 02/06 14:00:55 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135954_425.mp4 02/06 14:00:55 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_135954_425.mp4 02/06 14:00:55 DownloadFile ok... checking file destination 02/06 14:00:55 URLDownloadToFile ok 02/06 14:00:55 Video .sig downloaded ok! 02/06 14:00:55 Snapshot .sig downloaded ok! 02/06 14:00:55 Elapsed download time: 00:00:01 02/06 14:00:55 UpdateVideoname 02/06 14:00:55 Updating: idalarmcra = 384112 02/06 14:00:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384112 ORDER BY IDALARMCRA DESC 02/06 14:00:55 Just before Update() 02/06 14:00:55 Next idalarmcra = 384111 02/06 14:00:55 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:00:55 SAM|1111 02/06 14:00:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135954_176.mp4|104828| 02/06 14:00:55 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135954_176.mp4 02/06 14:00:55 Date = 20190602 02/06 14:00:55 Construct from filename date 02/06 14:00:55 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135954_176.mp4 02/06 14:00:55 Destination file not found 02/06 14:00:55 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135954_176.mp4 02/06 14:00:55 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_135954_176.mp4 02/06 14:00:55 DownloadFile ok... checking file destination 02/06 14:00:55 URLDownloadToFile ok 02/06 14:00:56 Video .sig downloaded ok! 02/06 14:00:56 Snapshot .sig downloaded ok! 02/06 14:00:56 Elapsed download time: 00:00:01 02/06 14:00:56 UpdateVideoname 02/06 14:00:56 Updating: idalarmcra = 384111 02/06 14:00:56 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384111 ORDER BY IDALARMCRA DESC 02/06 14:00:56 Just before Update() 02/06 14:00:56 Next idalarmcra = 384110 02/06 14:00:56 DownloadVideos::DownloadVideoOfAlarm 02/06 14:00:56 [D] Query(14ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:00:56 SAM|1372 02/06 14:00:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140037_132.mp4|104034| 02/06 14:00:56 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140037_132.mp4 02/06 14:00:56 Date = 20190602 02/06 14:00:56 Construct from filename date 02/06 14:00:56 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140037_132.mp4 02/06 14:00:56 Destination file not found 02/06 14:00:56 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140037_132.mp4 02/06 14:00:56 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140037_132.mp4 02/06 14:00:56 DownloadFile ok... checking file destination 02/06 14:00:56 URLDownloadToFile ok 02/06 14:00:56 Video .sig downloaded ok! 02/06 14:00:56 Snapshot .sig downloaded ok! 02/06 14:00:56 Elapsed download time: 00:00:00 02/06 14:00:57 UpdateVideoname 02/06 14:00:57 Updating: idalarmcra = 384110 02/06 14:00:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384110 ORDER BY IDALARMCRA DESC 02/06 14:00:57 Just before Update() 02/06 14:00:57 Too many videos. Wait a little bit. 02/06 14:01:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:01:07 [D] Query(30ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:01:07 Alarms with pending videos found! 02/06 14:01:07 Next idalarmcra = 384117 02/06 14:01:07 DownloadVideos::DownloadVideoOfAlarm 02/06 14:01:07 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:01:07 SAM|22953 02/06 14:01:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140107_48.mp4|113879| 02/06 14:01:07 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140107_48.mp4 02/06 14:01:07 Date = 20190602 02/06 14:01:07 Construct from filename date 02/06 14:01:07 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140107_48.mp4 02/06 14:01:07 Destination file not found 02/06 14:01:07 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140107_48.mp4 02/06 14:01:07 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140107_48.mp4 02/06 14:01:10 DownloadFile ok... checking file destination 02/06 14:01:10 URLDownloadToFile ok 02/06 14:01:10 Video .sig downloaded ok! 02/06 14:01:10 Snapshot .sig downloaded ok! 02/06 14:01:10 Elapsed download time: 00:00:03 02/06 14:01:10 UpdateVideoname 02/06 14:01:10 Updating: idalarmcra = 384117 02/06 14:01:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384117 ORDER BY IDALARMCRA DESC 02/06 14:01:10 Just before Update() 02/06 14:01:10 Next idalarmcra = 384116 02/06 14:01:10 DownloadVideos::DownloadVideoOfAlarm 02/06 14:01:10 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:01:10 SAM|1374 02/06 14:01:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140051_133.mp4|101304| 02/06 14:01:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140051_133.mp4 02/06 14:01:11 Date = 20190602 02/06 14:01:11 Construct from filename date 02/06 14:01:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140051_133.mp4 02/06 14:01:11 Destination file not found 02/06 14:01:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140051_133.mp4 02/06 14:01:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140051_133.mp4 02/06 14:01:11 DownloadFile ok... checking file destination 02/06 14:01:11 URLDownloadToFile ok 02/06 14:01:11 Video .sig downloaded ok! 02/06 14:01:11 Snapshot .sig downloaded ok! 02/06 14:01:11 Elapsed download time: 00:00:01 02/06 14:01:11 UpdateVideoname 02/06 14:01:11 Updating: idalarmcra = 384116 02/06 14:01:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384116 ORDER BY IDALARMCRA DESC 02/06 14:01:11 Just before Update() 02/06 14:01:11 Next idalarmcra = 384115 02/06 14:01:11 DownloadVideos::DownloadVideoOfAlarm 02/06 14:01:11 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:01:11 SAM|1373 02/06 14:01:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140046_118.mp4|107359| 02/06 14:01:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140046_118.mp4 02/06 14:01:11 Date = 20190602 02/06 14:01:11 Construct from filename date 02/06 14:01:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140046_118.mp4 02/06 14:01:11 Destination file not found 02/06 14:01:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140046_118.mp4 02/06 14:01:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140046_118.mp4 02/06 14:01:12 DownloadFile ok... checking file destination 02/06 14:01:12 URLDownloadToFile ok 02/06 14:01:12 Video .sig downloaded ok! 02/06 14:01:12 Snapshot .sig downloaded ok! 02/06 14:01:12 Elapsed download time: 00:00:01 02/06 14:01:12 UpdateVideoname 02/06 14:01:12 Updating: idalarmcra = 384115 02/06 14:01:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384115 ORDER BY IDALARMCRA DESC 02/06 14:01:12 Just before Update() 02/06 14:01:12 Next idalarmcra = 384114 02/06 14:01:12 DownloadVideos::DownloadVideoOfAlarm 02/06 14:01:12 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 14:01:12 SAM|751 02/06 14:01:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_140048_31.mp4|104503| 02/06 14:01:12 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_140048_31.mp4 02/06 14:01:12 Date = 20190602 02/06 14:01:12 Construct from filename date 02/06 14:01:12 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_140048_31.mp4 02/06 14:01:12 Destination file not found 02/06 14:01:12 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_140048_31.mp4 02/06 14:01:12 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_140048_31.mp4 02/06 14:01:13 DownloadFile ok... checking file destination 02/06 14:01:13 URLDownloadToFile ok 02/06 14:01:13 Video .sig downloaded ok! 02/06 14:01:13 Snapshot .sig downloaded ok! 02/06 14:01:13 Elapsed download time: 00:00:01 02/06 14:01:13 UpdateVideoname 02/06 14:01:13 Updating: idalarmcra = 384114 02/06 14:01:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384114 ORDER BY IDALARMCRA DESC 02/06 14:01:13 Just before Update() 02/06 14:01:13 Next idalarmcra = 384109 02/06 14:01:13 DownloadVideos::DownloadVideoOfAlarm 02/06 14:01:13 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:01:13 SAM|1371 02/06 14:01:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140036_198.mp4|102934| 02/06 14:01:13 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140036_198.mp4 02/06 14:01:13 Date = 20190602 02/06 14:01:13 Construct from filename date 02/06 14:01:13 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140036_198.mp4 02/06 14:01:13 Destination file not found 02/06 14:01:13 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140036_198.mp4 02/06 14:01:13 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_140036_198.mp4 02/06 14:01:13 DownloadFile ok... checking file destination 02/06 14:01:13 URLDownloadToFile ok 02/06 14:01:14 Video .sig downloaded ok! 02/06 14:01:14 Snapshot .sig downloaded ok! 02/06 14:01:14 Elapsed download time: 00:00:01 02/06 14:01:14 UpdateVideoname 02/06 14:01:14 Updating: idalarmcra = 384109 02/06 14:01:14 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384109 ORDER BY IDALARMCRA DESC 02/06 14:01:14 Rollback executed. 02/06 14:01:14 RecordSet closed. 02/06 14:01:14 CheckDDBB 02/06 14:01:14 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:01:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:01:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:01:24 Don't have work. 02/06 14:01:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:01:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:01:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:01:44 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:01:44 Alarms with pending videos found! 02/06 14:01:44 Next idalarmcra = 384121 02/06 14:01:44 DownloadVideos::DownloadVideoOfAlarm 02/06 14:01:44 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:01:44 SAM|1113 02/06 14:01:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_140051_35.mp4|107459| 02/06 14:01:44 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_140051_35.mp4 02/06 14:01:44 Date = 20190602 02/06 14:01:44 Construct from filename date 02/06 14:01:44 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_140051_35.mp4 02/06 14:01:44 Destination file not found 02/06 14:01:44 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_140051_35.mp4 02/06 14:01:44 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_140051_35.mp4 02/06 14:01:45 DownloadFile ok... checking file destination 02/06 14:01:45 URLDownloadToFile ok 02/06 14:01:45 Video .sig downloaded ok! 02/06 14:01:45 Snapshot .sig downloaded ok! 02/06 14:01:45 Elapsed download time: 00:00:01 02/06 14:01:45 UpdateVideoname 02/06 14:01:45 Updating: idalarmcra = 384121 02/06 14:01:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384121 ORDER BY IDALARMCRA DESC 02/06 14:01:45 Just before Update() 02/06 14:01:45 Next idalarmcra = 384120 02/06 14:01:45 DownloadVideos::DownloadVideoOfAlarm 02/06 14:01:45 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:01:45 SAM|1377 02/06 14:01:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140134_119.mp4|108060| 02/06 14:01:45 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140134_119.mp4 02/06 14:01:45 Date = 20190602 02/06 14:01:45 Construct from filename date 02/06 14:01:45 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140134_119.mp4 02/06 14:01:45 Destination file not found 02/06 14:01:45 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140134_119.mp4 02/06 14:01:45 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140134_119.mp4 02/06 14:01:46 DownloadFile ok... checking file destination 02/06 14:01:46 URLDownloadToFile ok 02/06 14:01:46 Video .sig downloaded ok! 02/06 14:01:46 Snapshot .sig downloaded ok! 02/06 14:01:46 Elapsed download time: 00:00:01 02/06 14:01:46 UpdateVideoname 02/06 14:01:46 Updating: idalarmcra = 384120 02/06 14:01:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384120 ORDER BY IDALARMCRA DESC 02/06 14:01:46 Just before Update() 02/06 14:01:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:01:56 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:01:56 Alarms with pending videos found! 02/06 14:01:56 Next idalarmcra = 384122 02/06 14:01:56 DownloadVideos::DownloadVideoOfAlarm 02/06 14:01:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:01:56 SAM|1378 02/06 14:01:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140148_120.mp4|124843| 02/06 14:01:56 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140148_120.mp4 02/06 14:01:56 Date = 20190602 02/06 14:01:56 Construct from filename date 02/06 14:01:56 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140148_120.mp4 02/06 14:01:56 Destination file not found 02/06 14:01:56 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140148_120.mp4 02/06 14:01:56 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140148_120.mp4 02/06 14:01:57 DownloadFile ok... checking file destination 02/06 14:01:57 URLDownloadToFile ok 02/06 14:01:57 Video .sig downloaded ok! 02/06 14:01:57 Snapshot .sig downloaded ok! 02/06 14:01:57 Elapsed download time: 00:00:01 02/06 14:01:57 UpdateVideoname 02/06 14:01:57 Updating: idalarmcra = 384122 02/06 14:01:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384122 ORDER BY IDALARMCRA DESC 02/06 14:01:57 Just before Update() 02/06 14:02:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:02:07 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:02:07 Alarms with pending videos found! 02/06 14:02:07 Next idalarmcra = 384123 02/06 14:02:07 DownloadVideos::DownloadVideoOfAlarm 02/06 14:02:07 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 46 02/06 14:02:07 SAM|871 02/06 14:02:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_140200_2.mp4|112616| 02/06 14:02:07 FilenameSrc = 20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_140200_2.mp4 02/06 14:02:07 Date = 20190602 02/06 14:02:07 Construct from filename date 02/06 14:02:07 Destination: c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_140200_2.mp4 02/06 14:02:07 Destination file not found 02/06 14:02:07 http://5.26.219.116:21001/20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_140200_2.mp4 02/06 14:02:07 c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_140200_2.mp4 02/06 14:02:08 DownloadFile ok... checking file destination 02/06 14:02:08 URLDownloadToFile ok 02/06 14:02:08 Video .sig downloaded ok! 02/06 14:02:08 Snapshot .sig downloaded ok! 02/06 14:02:08 Elapsed download time: 00:00:01 02/06 14:02:08 UpdateVideoname 02/06 14:02:08 Updating: idalarmcra = 384123 02/06 14:02:08 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384123 ORDER BY IDALARMCRA DESC 02/06 14:02:08 Just before Update() 02/06 14:02:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:02:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:02:18 Don't have work. 02/06 14:02:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:02:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:02:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:02:38 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:02:38 Alarms with pending videos found! 02/06 14:02:38 Next idalarmcra = 384128 02/06 14:02:38 DownloadVideos::DownloadVideoOfAlarm 02/06 14:02:38 [D] Query(17ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:02:38 SAM|1379 02/06 14:02:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:02:39 NOK answer received 02/06 14:02:39 UpdateVideoname 02/06 14:02:39 Updating: idalarmcra = 384128 02/06 14:02:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384128 ORDER BY IDALARMCRA DESC 02/06 14:02:39 Just before Update() 02/06 14:02:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:02:49 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:02:49 Alarms with pending videos found! 02/06 14:02:49 Next idalarmcra = 384128 02/06 14:02:49 DownloadVideos::DownloadVideoOfAlarm 02/06 14:02:49 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:02:49 SAM|1379 02/06 14:02:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140234_121.mp4|104999| 02/06 14:02:49 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140234_121.mp4 02/06 14:02:49 Date = 20190602 02/06 14:02:49 Construct from filename date 02/06 14:02:49 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140234_121.mp4 02/06 14:02:49 Destination file not found 02/06 14:02:49 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140234_121.mp4 02/06 14:02:49 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140234_121.mp4 02/06 14:02:49 DownloadFile ok... checking file destination 02/06 14:02:49 URLDownloadToFile ok 02/06 14:02:49 Video .sig downloaded ok! 02/06 14:02:50 Snapshot .sig downloaded ok! 02/06 14:02:50 Elapsed download time: 00:00:01 02/06 14:02:50 UpdateVideoname 02/06 14:02:50 Updating: idalarmcra = 384128 02/06 14:02:50 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384128 ORDER BY IDALARMCRA DESC 02/06 14:02:50 Just before Update() 02/06 14:03:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:03:00 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:03:00 Don't have work. 02/06 14:03:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:03:10 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:03:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:03:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:03:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:03:30 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:03:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:03:40 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:03:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:03:50 [D] Query(19ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:04:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:04:00 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:04:00 Alarms with pending videos found! 02/06 14:04:00 Next idalarmcra = 384130 02/06 14:04:00 DownloadVideos::DownloadVideoOfAlarm 02/06 14:04:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:04:00 SAM|22954 02/06 14:04:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140405_49.mp4|114219| 02/06 14:04:01 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140405_49.mp4 02/06 14:04:01 Date = 20190602 02/06 14:04:01 Construct from filename date 02/06 14:04:01 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140405_49.mp4 02/06 14:04:01 Destination file not found 02/06 14:04:01 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140405_49.mp4 02/06 14:04:01 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140405_49.mp4 02/06 14:04:02 DownloadFile ok... checking file destination 02/06 14:04:02 URLDownloadToFile ok 02/06 14:04:02 Video .sig downloaded ok! 02/06 14:04:02 Snapshot .sig downloaded ok! 02/06 14:04:02 Elapsed download time: 00:00:02 02/06 14:04:02 UpdateVideoname 02/06 14:04:02 Updating: idalarmcra = 384130 02/06 14:04:02 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384130 ORDER BY IDALARMCRA DESC 02/06 14:04:02 Just before Update() 02/06 14:04:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:04:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:04:12 Don't have work. 02/06 14:04:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:04:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:04:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:04:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:04:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:04:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:04:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:04:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:05:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:05:03 [D] Query(31ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:05:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:05:13 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:05:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:05:23 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:05:23 Alarms with pending videos found! 02/06 14:05:23 Next idalarmcra = 384133 02/06 14:05:23 DownloadVideos::DownloadVideoOfAlarm 02/06 14:05:23 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:05:23 SAM|1380 02/06 14:05:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140512_122.mp4|105901| 02/06 14:05:23 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140512_122.mp4 02/06 14:05:23 Date = 20190602 02/06 14:05:23 Construct from filename date 02/06 14:05:23 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140512_122.mp4 02/06 14:05:23 Destination file not found 02/06 14:05:23 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140512_122.mp4 02/06 14:05:23 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140512_122.mp4 02/06 14:05:29 DownloadFile ok... checking file destination 02/06 14:05:29 URLDownloadToFile ok 02/06 14:05:29 Video .sig downloaded ok! 02/06 14:05:29 Snapshot .sig downloaded ok! 02/06 14:05:29 Elapsed download time: 00:00:06 02/06 14:05:29 UpdateVideoname 02/06 14:05:29 Updating: idalarmcra = 384133 02/06 14:05:29 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384133 ORDER BY IDALARMCRA DESC 02/06 14:05:29 Rollback executed. 02/06 14:05:29 RecordSet closed. 02/06 14:05:29 CheckDDBB 02/06 14:05:29 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:05:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:05:39 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:05:39 Alarms with pending videos found! 02/06 14:05:39 Next idalarmcra = 384134 02/06 14:05:39 DownloadVideos::DownloadVideoOfAlarm 02/06 14:05:39 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:05:39 SAM|1381 02/06 14:05:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140533_135.mp4|99085| 02/06 14:05:39 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140533_135.mp4 02/06 14:05:39 Date = 20190602 02/06 14:05:39 Construct from filename date 02/06 14:05:39 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140533_135.mp4 02/06 14:05:39 Destination file not found 02/06 14:05:39 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140533_135.mp4 02/06 14:05:39 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_140533_135.mp4 02/06 14:05:43 DownloadFile ok... checking file destination 02/06 14:05:43 URLDownloadToFile ok 02/06 14:05:43 Video .sig downloaded ok! 02/06 14:05:43 Snapshot .sig downloaded ok! 02/06 14:05:43 Elapsed download time: 00:00:04 02/06 14:05:43 UpdateVideoname 02/06 14:05:43 Updating: idalarmcra = 384134 02/06 14:05:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384134 ORDER BY IDALARMCRA DESC 02/06 14:05:43 Just before Update() 02/06 14:05:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:05:53 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:05:53 Alarms with pending videos found! 02/06 14:05:53 Next idalarmcra = 384135 02/06 14:05:53 DownloadVideos::DownloadVideoOfAlarm 02/06 14:05:53 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:05:53 SAM|4703 02/06 14:05:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_140703_143.mp4|113586| 02/06 14:05:54 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_140703_143.mp4 02/06 14:05:54 Date = 20190602 02/06 14:05:54 Construct from filename date 02/06 14:05:54 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_140703_143.mp4 02/06 14:05:54 Destination file not found 02/06 14:05:54 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_140703_143.mp4 02/06 14:05:54 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_140703_143.mp4 02/06 14:05:56 DownloadFile ok... checking file destination 02/06 14:05:56 URLDownloadToFile ok 02/06 14:05:56 Video .sig downloaded ok! 02/06 14:05:57 Snapshot .sig downloaded ok! 02/06 14:05:57 Elapsed download time: 00:00:04 02/06 14:05:57 UpdateVideoname 02/06 14:05:57 Updating: idalarmcra = 384135 02/06 14:05:57 [D] Query(3ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384135 ORDER BY IDALARMCRA DESC 02/06 14:05:57 Rollback executed. 02/06 14:05:57 RecordSet closed. 02/06 14:05:57 CheckDDBB 02/06 14:05:57 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:06:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:06:07 [D] Query(29ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:06:07 Alarms with pending videos found! 02/06 14:06:07 Next idalarmcra = 384140 02/06 14:06:07 DownloadVideos::DownloadVideoOfAlarm 02/06 14:06:07 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:06:07 SAM|1115 02/06 14:06:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_140514_36.mp4|101627| 02/06 14:06:07 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_140514_36.mp4 02/06 14:06:07 Date = 20190602 02/06 14:06:07 Construct from filename date 02/06 14:06:07 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_140514_36.mp4 02/06 14:06:07 Destination file not found 02/06 14:06:07 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_140514_36.mp4 02/06 14:06:07 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_140514_36.mp4 02/06 14:06:11 DownloadFile ok... checking file destination 02/06 14:06:11 URLDownloadToFile ok 02/06 14:06:11 Video .sig downloaded ok! 02/06 14:06:11 Snapshot .sig downloaded ok! 02/06 14:06:11 Elapsed download time: 00:00:04 02/06 14:06:11 UpdateVideoname 02/06 14:06:11 Updating: idalarmcra = 384140 02/06 14:06:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384140 ORDER BY IDALARMCRA DESC 02/06 14:06:11 Just before Update() 02/06 14:06:11 Next idalarmcra = 384139 02/06 14:06:11 DownloadVideos::DownloadVideoOfAlarm 02/06 14:06:11 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:06:11 SAM|1114 02/06 14:06:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_140512_177.mp4|104375| 02/06 14:06:12 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_140512_177.mp4 02/06 14:06:12 Date = 20190602 02/06 14:06:12 Construct from filename date 02/06 14:06:12 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_140512_177.mp4 02/06 14:06:12 Destination file not found 02/06 14:06:12 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_140512_177.mp4 02/06 14:06:12 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_140512_177.mp4 02/06 14:06:16 DownloadFile ok... checking file destination 02/06 14:06:16 URLDownloadToFile ok 02/06 14:06:16 Video .sig downloaded ok! 02/06 14:06:16 Snapshot .sig downloaded ok! 02/06 14:06:16 Elapsed download time: 00:00:05 02/06 14:06:17 UpdateVideoname 02/06 14:06:17 Updating: idalarmcra = 384139 02/06 14:06:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384139 ORDER BY IDALARMCRA DESC 02/06 14:06:17 Just before Update() 02/06 14:06:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:06:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:06:27 Don't have work. 02/06 14:06:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:06:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:06:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:06:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:06:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:06:57 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:07:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:07:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:07:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:07:17 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:07:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:07:27 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:07:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:07:37 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:07:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:07:47 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:07:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:07:58 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:07:58 Alarms with pending videos found! 02/06 14:07:58 Next idalarmcra = 384143 02/06 14:07:58 DownloadVideos::DownloadVideoOfAlarm 02/06 14:07:58 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 14:07:58 SAM|22289 02/06 14:07:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_141227_3.mp4|128936| 02/06 14:07:58 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_141227_3.mp4 02/06 14:07:58 Date = 20190602 02/06 14:07:58 Construct from filename date 02/06 14:07:58 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_141227_3.mp4 02/06 14:07:58 Destination file not found 02/06 14:07:58 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_141227_3.mp4 02/06 14:07:58 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_141227_3.mp4 02/06 14:08:00 DownloadFile ok... checking file destination 02/06 14:08:00 URLDownloadToFile ok 02/06 14:08:00 Video .sig downloaded ok! 02/06 14:08:00 Snapshot .sig downloaded ok! 02/06 14:08:00 Elapsed download time: 00:00:02 02/06 14:08:00 UpdateVideoname 02/06 14:08:00 Updating: idalarmcra = 384143 02/06 14:08:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384143 ORDER BY IDALARMCRA DESC 02/06 14:08:00 Just before Update() 02/06 14:08:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:08:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:08:10 Don't have work. 02/06 14:08:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:08:20 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:08:30 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:08:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:08:41 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:08:41 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:08:41 Alarms with pending videos found! 02/06 14:08:41 Next idalarmcra = 384144 02/06 14:08:41 DownloadVideos::DownloadVideoOfAlarm 02/06 14:08:41 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:08:41 SAM|1385 02/06 14:08:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_140835_58.mp4|111668| 02/06 14:08:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_140835_58.mp4 02/06 14:08:41 Date = 20190602 02/06 14:08:41 Construct from filename date 02/06 14:08:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_140835_58.mp4 02/06 14:08:41 Destination file not found 02/06 14:08:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_140835_58.mp4 02/06 14:08:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_140835_58.mp4 02/06 14:08:41 DownloadFile ok... checking file destination 02/06 14:08:41 URLDownloadToFile ok 02/06 14:08:42 Video .sig downloaded ok! 02/06 14:08:42 Snapshot .sig downloaded ok! 02/06 14:08:42 Elapsed download time: 00:00:01 02/06 14:08:42 UpdateVideoname 02/06 14:08:42 Updating: idalarmcra = 384144 02/06 14:08:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384144 ORDER BY IDALARMCRA DESC 02/06 14:08:42 Just before Update() 02/06 14:08:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:08:52 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:08:52 Alarms with pending videos found! 02/06 14:08:52 Next idalarmcra = 384145 02/06 14:08:52 DownloadVideos::DownloadVideoOfAlarm 02/06 14:08:52 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:08:52 SAM|1386 02/06 14:08:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140841_124.mp4|113104| 02/06 14:08:52 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140841_124.mp4 02/06 14:08:52 Date = 20190602 02/06 14:08:52 Construct from filename date 02/06 14:08:52 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140841_124.mp4 02/06 14:08:52 Destination file not found 02/06 14:08:52 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140841_124.mp4 02/06 14:08:52 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140841_124.mp4 02/06 14:08:52 DownloadFile ok... checking file destination 02/06 14:08:52 URLDownloadToFile ok 02/06 14:08:53 Video .sig downloaded ok! 02/06 14:08:53 Snapshot .sig downloaded ok! 02/06 14:08:53 Elapsed download time: 00:00:01 02/06 14:08:53 UpdateVideoname 02/06 14:08:53 Updating: idalarmcra = 384145 02/06 14:08:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384145 ORDER BY IDALARMCRA DESC 02/06 14:08:53 Just before Update() 02/06 14:09:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:09:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:09:03 Don't have work. 02/06 14:09:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:09:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:09:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:09:23 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:09:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:09:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:09:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:09:43 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:09:43 Alarms with pending videos found! 02/06 14:09:43 Next idalarmcra = 384148 02/06 14:09:43 DownloadVideos::DownloadVideoOfAlarm 02/06 14:09:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:09:43 SAM|22955 02/06 14:09:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140951_50.mp4|115967| 02/06 14:09:44 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140951_50.mp4 02/06 14:09:44 Date = 20190602 02/06 14:09:44 Construct from filename date 02/06 14:09:44 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140951_50.mp4 02/06 14:09:44 Destination file not found 02/06 14:09:44 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140951_50.mp4 02/06 14:09:44 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_140951_50.mp4 02/06 14:09:46 DownloadFile ok... checking file destination 02/06 14:09:46 URLDownloadToFile ok 02/06 14:09:46 Video .sig downloaded ok! 02/06 14:09:46 Snapshot .sig downloaded ok! 02/06 14:09:46 Elapsed download time: 00:00:03 02/06 14:09:47 UpdateVideoname 02/06 14:09:47 Updating: idalarmcra = 384148 02/06 14:09:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384148 ORDER BY IDALARMCRA DESC 02/06 14:09:47 Just before Update() 02/06 14:09:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:09:57 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:09:57 Alarms with pending videos found! 02/06 14:09:57 Next idalarmcra = 384150 02/06 14:09:57 DownloadVideos::DownloadVideoOfAlarm 02/06 14:09:57 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:09:57 SAM|1387 02/06 14:09:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140948_125.mp4|108607| 02/06 14:09:57 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140948_125.mp4 02/06 14:09:57 Date = 20190602 02/06 14:09:57 Construct from filename date 02/06 14:09:57 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140948_125.mp4 02/06 14:09:57 Destination file not found 02/06 14:09:57 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140948_125.mp4 02/06 14:09:57 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_140948_125.mp4 02/06 14:09:57 DownloadFile ok... checking file destination 02/06 14:09:57 URLDownloadToFile ok 02/06 14:09:57 Video .sig downloaded ok! 02/06 14:09:58 Snapshot .sig downloaded ok! 02/06 14:09:58 Elapsed download time: 00:00:01 02/06 14:09:58 UpdateVideoname 02/06 14:09:58 Updating: idalarmcra = 384150 02/06 14:09:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384150 ORDER BY IDALARMCRA DESC 02/06 14:09:58 Just before Update() 02/06 14:10:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:10:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:10:08 Don't have work. 02/06 14:10:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:10:18 [D] Query(28ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:10:18 Alarms with pending videos found! 02/06 14:10:18 Next idalarmcra = 384152 02/06 14:10:18 DownloadVideos::DownloadVideoOfAlarm 02/06 14:10:18 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:10:18 SAM|4704 02/06 14:10:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141136_144.mp4|116140| 02/06 14:10:18 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141136_144.mp4 02/06 14:10:18 Date = 20190602 02/06 14:10:18 Construct from filename date 02/06 14:10:18 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141136_144.mp4 02/06 14:10:18 Destination file not found 02/06 14:10:18 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141136_144.mp4 02/06 14:10:18 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141136_144.mp4 02/06 14:10:21 DownloadFile ok... checking file destination 02/06 14:10:21 URLDownloadToFile ok 02/06 14:10:21 Video .sig downloaded ok! 02/06 14:10:21 Snapshot .sig downloaded ok! 02/06 14:10:21 Elapsed download time: 00:00:03 02/06 14:10:21 UpdateVideoname 02/06 14:10:21 Updating: idalarmcra = 384152 02/06 14:10:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384152 ORDER BY IDALARMCRA DESC 02/06 14:10:21 Just before Update() 02/06 14:10:31 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:10:32 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:10:32 Alarms with pending videos found! 02/06 14:10:32 Next idalarmcra = 384154 02/06 14:10:32 DownloadVideos::DownloadVideoOfAlarm 02/06 14:10:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:10:32 SAM|4705 02/06 14:10:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:10:32 NOK answer received 02/06 14:10:32 UpdateVideoname 02/06 14:10:32 Updating: idalarmcra = 384154 02/06 14:10:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384154 ORDER BY IDALARMCRA DESC 02/06 14:10:32 Just before Update() 02/06 14:10:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:10:42 [D] Query(31ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:10:42 Don't have work. 02/06 14:10:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:10:52 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:10:52 Alarms with pending videos found! 02/06 14:10:52 Next idalarmcra = 384155 02/06 14:10:52 DownloadVideos::DownloadVideoOfAlarm 02/06 14:10:52 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:10:52 SAM|22956 02/06 14:10:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141059_51.mp4|107908| 02/06 14:10:53 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141059_51.mp4 02/06 14:10:53 Date = 20190602 02/06 14:10:53 Construct from filename date 02/06 14:10:53 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141059_51.mp4 02/06 14:10:53 Destination file not found 02/06 14:10:53 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141059_51.mp4 02/06 14:10:53 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141059_51.mp4 02/06 14:10:54 DownloadFile ok... checking file destination 02/06 14:10:54 URLDownloadToFile ok 02/06 14:10:54 Video .sig downloaded ok! 02/06 14:10:55 Snapshot .sig downloaded ok! 02/06 14:10:55 Elapsed download time: 00:00:03 02/06 14:10:55 UpdateVideoname 02/06 14:10:55 Updating: idalarmcra = 384155 02/06 14:10:55 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384155 ORDER BY IDALARMCRA DESC 02/06 14:10:55 Just before Update() 02/06 14:11:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:11:05 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:11:05 Alarms with pending videos found! 02/06 14:11:05 Next idalarmcra = 384156 02/06 14:11:05 DownloadVideos::DownloadVideoOfAlarm 02/06 14:11:05 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:11:05 SAM|4706 02/06 14:11:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141219_146.mp4|115389| 02/06 14:11:05 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141219_146.mp4 02/06 14:11:05 Date = 20190602 02/06 14:11:05 Construct from filename date 02/06 14:11:05 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141219_146.mp4 02/06 14:11:05 Destination file not found 02/06 14:11:05 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141219_146.mp4 02/06 14:11:05 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141219_146.mp4 02/06 14:11:07 DownloadFile ok... checking file destination 02/06 14:11:07 URLDownloadToFile ok 02/06 14:11:08 Video .sig downloaded ok! 02/06 14:11:08 Snapshot .sig downloaded ok! 02/06 14:11:08 Elapsed download time: 00:00:03 02/06 14:11:08 UpdateVideoname 02/06 14:11:08 Updating: idalarmcra = 384156 02/06 14:11:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384156 ORDER BY IDALARMCRA DESC 02/06 14:11:08 Just before Update() 02/06 14:11:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:11:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:11:18 Don't have work. 02/06 14:11:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:11:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:11:38 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:11:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:11:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:11:48 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:11:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:11:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:12:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:12:09 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:12:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:12:19 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:12:19 Alarms with pending videos found! 02/06 14:12:19 Next idalarmcra = 384160 02/06 14:12:19 DownloadVideos::DownloadVideoOfAlarm 02/06 14:12:19 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 54 02/06 14:12:19 SAM|860 02/06 14:12:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_141236_4.mp4|102070| 02/06 14:12:19 FilenameSrc = 20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_141236_4.mp4 02/06 14:12:19 Date = 20190602 02/06 14:12:19 Construct from filename date 02/06 14:12:19 Destination: c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_141236_4.mp4 02/06 14:12:19 Destination file not found 02/06 14:12:19 http://78.189.92.233:21001/20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_141236_4.mp4 02/06 14:12:19 c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_141236_4.mp4 02/06 14:12:23 DownloadFile ok... checking file destination 02/06 14:12:23 URLDownloadToFile ok 02/06 14:12:24 Video .sig downloaded ok! 02/06 14:12:24 Snapshot .sig downloaded ok! 02/06 14:12:24 Elapsed download time: 00:00:05 02/06 14:12:24 UpdateVideoname 02/06 14:12:24 Updating: idalarmcra = 384160 02/06 14:12:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384160 ORDER BY IDALARMCRA DESC 02/06 14:12:24 Just before Update() 02/06 14:12:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:12:35 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:12:35 Alarms with pending videos found! 02/06 14:12:35 Next idalarmcra = 384161 02/06 14:12:35 DownloadVideos::DownloadVideoOfAlarm 02/06 14:12:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:12:35 SAM|22957 02/06 14:12:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141239_52.mp4|111147| 02/06 14:12:35 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141239_52.mp4 02/06 14:12:35 Date = 20190602 02/06 14:12:35 Construct from filename date 02/06 14:12:35 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141239_52.mp4 02/06 14:12:35 Destination file not found 02/06 14:12:35 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141239_52.mp4 02/06 14:12:35 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141239_52.mp4 02/06 14:12:36 DownloadFile ok... checking file destination 02/06 14:12:36 URLDownloadToFile ok 02/06 14:12:37 Video .sig downloaded ok! 02/06 14:12:37 Snapshot .sig downloaded ok! 02/06 14:12:37 Elapsed download time: 00:00:02 02/06 14:12:37 UpdateVideoname 02/06 14:12:37 Updating: idalarmcra = 384161 02/06 14:12:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384161 ORDER BY IDALARMCRA DESC 02/06 14:12:37 Just before Update() 02/06 14:12:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:12:47 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:12:47 Alarms with pending videos found! 02/06 14:12:47 Next idalarmcra = 384162 02/06 14:12:47 DownloadVideos::DownloadVideoOfAlarm 02/06 14:12:47 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:12:47 SAM|1117 02/06 14:12:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141151_37.mp4|106511| 02/06 14:12:48 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141151_37.mp4 02/06 14:12:48 Date = 20190602 02/06 14:12:48 Construct from filename date 02/06 14:12:48 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141151_37.mp4 02/06 14:12:48 Destination file not found 02/06 14:12:48 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141151_37.mp4 02/06 14:12:48 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141151_37.mp4 02/06 14:12:49 DownloadFile ok... checking file destination 02/06 14:12:49 URLDownloadToFile ok 02/06 14:12:49 Video .sig downloaded ok! 02/06 14:12:49 Snapshot .sig downloaded ok! 02/06 14:12:49 Elapsed download time: 00:00:02 02/06 14:12:49 UpdateVideoname 02/06 14:12:49 Updating: idalarmcra = 384162 02/06 14:12:49 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384162 ORDER BY IDALARMCRA DESC 02/06 14:12:49 Just before Update() 02/06 14:12:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:12:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:12:59 Don't have work. 02/06 14:13:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:13:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:13:19 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:13:19 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:13:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:13:29 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:13:29 Alarms with pending videos found! 02/06 14:13:29 Next idalarmcra = 384163 02/06 14:13:29 DownloadVideos::DownloadVideoOfAlarm 02/06 14:13:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:13:29 SAM|4707 02/06 14:13:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141446_147.mp4|113309| 02/06 14:13:30 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141446_147.mp4 02/06 14:13:30 Date = 20190602 02/06 14:13:30 Construct from filename date 02/06 14:13:30 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141446_147.mp4 02/06 14:13:30 Destination file not found 02/06 14:13:30 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141446_147.mp4 02/06 14:13:30 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141446_147.mp4 02/06 14:13:32 DownloadFile ok... checking file destination 02/06 14:13:32 URLDownloadToFile ok 02/06 14:13:32 Video .sig downloaded ok! 02/06 14:13:33 Snapshot .sig downloaded ok! 02/06 14:13:33 Elapsed download time: 00:00:04 02/06 14:13:33 UpdateVideoname 02/06 14:13:33 Updating: idalarmcra = 384163 02/06 14:13:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384163 ORDER BY IDALARMCRA DESC 02/06 14:13:33 Just before Update() 02/06 14:13:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:13:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:13:43 Don't have work. 02/06 14:13:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:13:53 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:13:53 Alarms with pending videos found! 02/06 14:13:53 Next idalarmcra = 384164 02/06 14:13:53 DownloadVideos::DownloadVideoOfAlarm 02/06 14:13:53 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 14:13:53 SAM|163129 02/06 14:13:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_142635_98.mp4|112217| 02/06 14:13:53 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_142635_98.mp4 02/06 14:13:53 Date = 20190602 02/06 14:13:53 Construct from filename date 02/06 14:13:53 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_142635_98.mp4 02/06 14:13:53 Destination file not found 02/06 14:13:53 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_142635_98.mp4 02/06 14:13:53 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_142635_98.mp4 02/06 14:13:55 DownloadFile ok... checking file destination 02/06 14:13:55 URLDownloadToFile ok 02/06 14:13:55 Video .sig downloaded ok! 02/06 14:13:55 Snapshot .sig downloaded ok! 02/06 14:13:55 Elapsed download time: 00:00:02 02/06 14:13:55 UpdateVideoname 02/06 14:13:55 Updating: idalarmcra = 384164 02/06 14:13:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384164 ORDER BY IDALARMCRA DESC 02/06 14:13:55 Just before Update() 02/06 14:14:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:14:05 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:14:05 Alarms with pending videos found! 02/06 14:14:05 Next idalarmcra = 384165 02/06 14:14:05 DownloadVideos::DownloadVideoOfAlarm 02/06 14:14:05 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:14:05 SAM|1118 02/06 14:14:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141306_38.mp4|108666| 02/06 14:14:05 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141306_38.mp4 02/06 14:14:05 Date = 20190602 02/06 14:14:05 Construct from filename date 02/06 14:14:05 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141306_38.mp4 02/06 14:14:05 Destination file not found 02/06 14:14:05 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141306_38.mp4 02/06 14:14:05 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141306_38.mp4 02/06 14:14:06 DownloadFile ok... checking file destination 02/06 14:14:06 URLDownloadToFile ok 02/06 14:14:06 Video .sig downloaded ok! 02/06 14:14:06 Snapshot .sig downloaded ok! 02/06 14:14:06 Elapsed download time: 00:00:01 02/06 14:14:06 UpdateVideoname 02/06 14:14:06 Updating: idalarmcra = 384165 02/06 14:14:06 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384165 ORDER BY IDALARMCRA DESC 02/06 14:14:06 Just before Update() 02/06 14:14:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:14:16 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:14:16 Alarms with pending videos found! 02/06 14:14:16 Next idalarmcra = 384167 02/06 14:14:16 DownloadVideos::DownloadVideoOfAlarm 02/06 14:14:16 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:14:16 SAM|1389 02/06 14:14:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141408_127.mp4|108424| 02/06 14:14:17 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141408_127.mp4 02/06 14:14:17 Date = 20190602 02/06 14:14:17 Construct from filename date 02/06 14:14:17 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141408_127.mp4 02/06 14:14:17 Destination file not found 02/06 14:14:17 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141408_127.mp4 02/06 14:14:17 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141408_127.mp4 02/06 14:14:19 DownloadFile ok... checking file destination 02/06 14:14:19 URLDownloadToFile ok 02/06 14:14:19 Video .sig downloaded ok! 02/06 14:14:19 Snapshot .sig downloaded ok! 02/06 14:14:19 Elapsed download time: 00:00:03 02/06 14:14:19 UpdateVideoname 02/06 14:14:19 Updating: idalarmcra = 384167 02/06 14:14:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384167 ORDER BY IDALARMCRA DESC 02/06 14:14:19 Just before Update() 02/06 14:14:19 Next idalarmcra = 384166 02/06 14:14:19 DownloadVideos::DownloadVideoOfAlarm 02/06 14:14:19 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:14:19 SAM|22958 02/06 14:14:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141420_53.mp4|110578| 02/06 14:14:20 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141420_53.mp4 02/06 14:14:20 Date = 20190602 02/06 14:14:20 Construct from filename date 02/06 14:14:20 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141420_53.mp4 02/06 14:14:20 Destination file not found 02/06 14:14:20 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141420_53.mp4 02/06 14:14:20 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141420_53.mp4 02/06 14:14:21 DownloadFile ok... checking file destination 02/06 14:14:21 URLDownloadToFile ok 02/06 14:14:22 Video .sig downloaded ok! 02/06 14:14:22 Snapshot .sig downloaded ok! 02/06 14:14:22 Elapsed download time: 00:00:03 02/06 14:14:22 UpdateVideoname 02/06 14:14:22 Updating: idalarmcra = 384166 02/06 14:14:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384166 ORDER BY IDALARMCRA DESC 02/06 14:14:22 Just before Update() 02/06 14:14:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:14:32 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:14:32 Don't have work. 02/06 14:14:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:14:42 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:14:42 Alarms with pending videos found! 02/06 14:14:42 Next idalarmcra = 384172 02/06 14:14:42 DownloadVideos::DownloadVideoOfAlarm 02/06 14:14:42 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:14:42 SAM|1390 02/06 14:14:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141434_128.mp4|116831| 02/06 14:14:42 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141434_128.mp4 02/06 14:14:42 Date = 20190602 02/06 14:14:42 Construct from filename date 02/06 14:14:42 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141434_128.mp4 02/06 14:14:42 Destination file not found 02/06 14:14:42 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141434_128.mp4 02/06 14:14:42 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141434_128.mp4 02/06 14:14:45 DownloadFile ok... checking file destination 02/06 14:14:45 URLDownloadToFile ok 02/06 14:14:46 Video .sig downloaded ok! 02/06 14:14:46 Snapshot .sig downloaded ok! 02/06 14:14:46 Elapsed download time: 00:00:04 02/06 14:14:46 UpdateVideoname 02/06 14:14:46 Updating: idalarmcra = 384172 02/06 14:14:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384172 ORDER BY IDALARMCRA DESC 02/06 14:14:46 Just before Update() 02/06 14:14:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:14:56 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:14:56 Alarms with pending videos found! 02/06 14:14:56 Next idalarmcra = 384174 02/06 14:14:56 DownloadVideos::DownloadVideoOfAlarm 02/06 14:14:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:14:56 SAM|22960 02/06 14:14:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141503_55.mp4|112187| 02/06 14:14:56 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141503_55.mp4 02/06 14:14:56 Date = 20190602 02/06 14:14:56 Construct from filename date 02/06 14:14:56 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141503_55.mp4 02/06 14:14:56 Destination file not found 02/06 14:14:56 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141503_55.mp4 02/06 14:14:56 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141503_55.mp4 02/06 14:14:58 DownloadFile ok... checking file destination 02/06 14:14:58 URLDownloadToFile ok 02/06 14:14:58 Video .sig downloaded ok! 02/06 14:14:58 Snapshot .sig downloaded ok! 02/06 14:14:58 Elapsed download time: 00:00:02 02/06 14:14:58 UpdateVideoname 02/06 14:14:58 Updating: idalarmcra = 384174 02/06 14:14:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384174 ORDER BY IDALARMCRA DESC 02/06 14:14:58 Just before Update() 02/06 14:15:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:15:09 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:15:09 Alarms with pending videos found! 02/06 14:15:09 Next idalarmcra = 384175 02/06 14:15:09 DownloadVideos::DownloadVideoOfAlarm 02/06 14:15:09 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:15:09 SAM|1119 02/06 14:15:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_141410_427.mp4|110607| 02/06 14:15:09 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_141410_427.mp4 02/06 14:15:09 Date = 20190602 02/06 14:15:09 Construct from filename date 02/06 14:15:09 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_141410_427.mp4 02/06 14:15:09 Destination file not found 02/06 14:15:09 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_141410_427.mp4 02/06 14:15:09 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_141410_427.mp4 02/06 14:15:09 DownloadFile ok... checking file destination 02/06 14:15:09 URLDownloadToFile ok 02/06 14:15:09 Video .sig downloaded ok! 02/06 14:15:09 Snapshot .sig downloaded ok! 02/06 14:15:09 Elapsed download time: 00:00:00 02/06 14:15:09 UpdateVideoname 02/06 14:15:09 Updating: idalarmcra = 384175 02/06 14:15:09 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384175 ORDER BY IDALARMCRA DESC 02/06 14:15:09 Rollback executed. 02/06 14:15:09 RecordSet closed. 02/06 14:15:09 CheckDDBB 02/06 14:15:09 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:15:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:15:20 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:15:20 Alarms with pending videos found! 02/06 14:15:20 Next idalarmcra = 384176 02/06 14:15:20 DownloadVideos::DownloadVideoOfAlarm 02/06 14:15:20 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:15:20 SAM|22961 02/06 14:15:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141530_56.mp4|111180| 02/06 14:15:20 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141530_56.mp4 02/06 14:15:20 Date = 20190602 02/06 14:15:20 Construct from filename date 02/06 14:15:20 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141530_56.mp4 02/06 14:15:20 Destination file not found 02/06 14:15:20 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141530_56.mp4 02/06 14:15:20 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141530_56.mp4 02/06 14:15:22 DownloadFile ok... checking file destination 02/06 14:15:22 URLDownloadToFile ok 02/06 14:15:22 Video .sig downloaded ok! 02/06 14:15:22 Snapshot .sig downloaded ok! 02/06 14:15:22 Elapsed download time: 00:00:02 02/06 14:15:23 UpdateVideoname 02/06 14:15:23 Updating: idalarmcra = 384176 02/06 14:15:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384176 ORDER BY IDALARMCRA DESC 02/06 14:15:23 Just before Update() 02/06 14:15:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:15:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:15:33 Don't have work. 02/06 14:15:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:15:43 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:15:43 Alarms with pending videos found! 02/06 14:15:43 Next idalarmcra = 384181 02/06 14:15:43 DownloadVideos::DownloadVideoOfAlarm 02/06 14:15:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:15:43 SAM|1121 02/06 14:15:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141450_39.mp4|109068| 02/06 14:15:43 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141450_39.mp4 02/06 14:15:43 Date = 20190602 02/06 14:15:43 Construct from filename date 02/06 14:15:43 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141450_39.mp4 02/06 14:15:43 Destination file not found 02/06 14:15:43 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141450_39.mp4 02/06 14:15:43 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141450_39.mp4 02/06 14:15:43 DownloadFile ok... checking file destination 02/06 14:15:43 URLDownloadToFile ok 02/06 14:15:43 Video .sig downloaded ok! 02/06 14:15:43 Snapshot .sig downloaded ok! 02/06 14:15:43 Elapsed download time: 00:00:00 02/06 14:15:43 UpdateVideoname 02/06 14:15:43 Updating: idalarmcra = 384181 02/06 14:15:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384181 ORDER BY IDALARMCRA DESC 02/06 14:15:43 Just before Update() 02/06 14:15:44 Next idalarmcra = 384178 02/06 14:15:44 DownloadVideos::DownloadVideoOfAlarm 02/06 14:15:44 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:15:44 SAM|1120 02/06 14:15:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_141446_178.mp4|107095| 02/06 14:15:44 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_141446_178.mp4 02/06 14:15:44 Date = 20190602 02/06 14:15:44 Construct from filename date 02/06 14:15:44 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_141446_178.mp4 02/06 14:15:44 Destination file not found 02/06 14:15:44 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_141446_178.mp4 02/06 14:15:44 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_141446_178.mp4 02/06 14:15:44 DownloadFile ok... checking file destination 02/06 14:15:44 URLDownloadToFile ok 02/06 14:15:44 Video .sig downloaded ok! 02/06 14:15:44 Snapshot .sig downloaded ok! 02/06 14:15:44 Elapsed download time: 00:00:00 02/06 14:15:44 UpdateVideoname 02/06 14:15:44 Updating: idalarmcra = 384178 02/06 14:15:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384178 ORDER BY IDALARMCRA DESC 02/06 14:15:44 Just before Update() 02/06 14:15:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:15:54 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:15:54 Don't have work. 02/06 14:16:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:16:04 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:16:04 Alarms with pending videos found! 02/06 14:16:04 Next idalarmcra = 384183 02/06 14:16:04 DownloadVideos::DownloadVideoOfAlarm 02/06 14:16:04 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:16:04 SAM|1122 02/06 14:16:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_141508_428.mp4|108815| 02/06 14:16:05 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_141508_428.mp4 02/06 14:16:05 Date = 20190602 02/06 14:16:05 Construct from filename date 02/06 14:16:05 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_141508_428.mp4 02/06 14:16:05 Destination file not found 02/06 14:16:05 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_141508_428.mp4 02/06 14:16:05 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_141508_428.mp4 02/06 14:16:05 DownloadFile ok... checking file destination 02/06 14:16:05 URLDownloadToFile ok 02/06 14:16:05 Video .sig downloaded ok! 02/06 14:16:05 Snapshot .sig downloaded ok! 02/06 14:16:05 Elapsed download time: 00:00:01 02/06 14:16:05 UpdateVideoname 02/06 14:16:05 Updating: idalarmcra = 384183 02/06 14:16:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384183 ORDER BY IDALARMCRA DESC 02/06 14:16:05 Just before Update() 02/06 14:16:05 Next idalarmcra = 384182 02/06 14:16:05 DownloadVideos::DownloadVideoOfAlarm 02/06 14:16:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:16:05 SAM|1392 02/06 14:16:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141555_130.mp4|115833| 02/06 14:16:05 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141555_130.mp4 02/06 14:16:05 Date = 20190602 02/06 14:16:05 Construct from filename date 02/06 14:16:05 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141555_130.mp4 02/06 14:16:05 Destination file not found 02/06 14:16:05 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141555_130.mp4 02/06 14:16:05 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141555_130.mp4 02/06 14:16:06 DownloadFile ok... checking file destination 02/06 14:16:06 URLDownloadToFile ok 02/06 14:16:06 Video .sig downloaded ok! 02/06 14:16:06 Snapshot .sig downloaded ok! 02/06 14:16:06 Elapsed download time: 00:00:01 02/06 14:16:06 UpdateVideoname 02/06 14:16:06 Updating: idalarmcra = 384182 02/06 14:16:06 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384182 ORDER BY IDALARMCRA DESC 02/06 14:16:06 Just before Update() 02/06 14:16:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:16:16 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:16:16 Don't have work. 02/06 14:16:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:16:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:16:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:16:37 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:16:37 Alarms with pending videos found! 02/06 14:16:37 Next idalarmcra = 384184 02/06 14:16:37 DownloadVideos::DownloadVideoOfAlarm 02/06 14:16:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:16:37 SAM|1393 02/06 14:16:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141627_131.mp4|107039| 02/06 14:16:37 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141627_131.mp4 02/06 14:16:37 Date = 20190602 02/06 14:16:37 Construct from filename date 02/06 14:16:37 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141627_131.mp4 02/06 14:16:37 Destination file not found 02/06 14:16:37 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141627_131.mp4 02/06 14:16:37 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141627_131.mp4 02/06 14:16:37 DownloadFile ok... checking file destination 02/06 14:16:37 URLDownloadToFile ok 02/06 14:16:37 Video .sig downloaded ok! 02/06 14:16:37 Snapshot .sig downloaded ok! 02/06 14:16:37 Elapsed download time: 00:00:00 02/06 14:16:37 UpdateVideoname 02/06 14:16:37 Updating: idalarmcra = 384184 02/06 14:16:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384184 ORDER BY IDALARMCRA DESC 02/06 14:16:37 Just before Update() 02/06 14:16:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:16:47 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:16:47 Alarms with pending videos found! 02/06 14:16:47 Next idalarmcra = 384186 02/06 14:16:47 DownloadVideos::DownloadVideoOfAlarm 02/06 14:16:47 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:16:47 SAM|1123 02/06 14:16:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141546_40.mp4|108223| 02/06 14:16:48 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141546_40.mp4 02/06 14:16:48 Date = 20190602 02/06 14:16:48 Construct from filename date 02/06 14:16:48 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141546_40.mp4 02/06 14:16:48 Destination file not found 02/06 14:16:48 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141546_40.mp4 02/06 14:16:48 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141546_40.mp4 02/06 14:16:48 DownloadFile ok... checking file destination 02/06 14:16:48 URLDownloadToFile ok 02/06 14:16:48 Video .sig downloaded ok! 02/06 14:16:48 Snapshot .sig downloaded ok! 02/06 14:16:48 Elapsed download time: 00:00:01 02/06 14:16:48 UpdateVideoname 02/06 14:16:48 Updating: idalarmcra = 384186 02/06 14:16:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384186 ORDER BY IDALARMCRA DESC 02/06 14:16:48 Just before Update() 02/06 14:16:48 Next idalarmcra = 384185 02/06 14:16:48 DownloadVideos::DownloadVideoOfAlarm 02/06 14:16:48 [D] Query(14ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:16:48 SAM|1394 02/06 14:16:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141635_132.mp4|107329| 02/06 14:16:49 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141635_132.mp4 02/06 14:16:49 Date = 20190602 02/06 14:16:49 Construct from filename date 02/06 14:16:49 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141635_132.mp4 02/06 14:16:49 Destination file not found 02/06 14:16:49 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141635_132.mp4 02/06 14:16:49 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_141635_132.mp4 02/06 14:16:49 DownloadFile ok... checking file destination 02/06 14:16:49 URLDownloadToFile ok 02/06 14:16:49 Video .sig downloaded ok! 02/06 14:16:49 Snapshot .sig downloaded ok! 02/06 14:16:49 Elapsed download time: 00:00:01 02/06 14:16:49 UpdateVideoname 02/06 14:16:49 Updating: idalarmcra = 384185 02/06 14:16:49 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384185 ORDER BY IDALARMCRA DESC 02/06 14:16:49 Just before Update() 02/06 14:16:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:16:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:16:59 Don't have work. 02/06 14:17:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:17:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:17:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:17:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:17:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:17:29 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:17:29 Alarms with pending videos found! 02/06 14:17:29 Next idalarmcra = 384187 02/06 14:17:29 DownloadVideos::DownloadVideoOfAlarm 02/06 14:17:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 14:17:29 SAM|22290 02/06 14:17:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_142201_6.mp4|93403| 02/06 14:17:30 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_142201_6.mp4 02/06 14:17:30 Date = 20190602 02/06 14:17:30 Construct from filename date 02/06 14:17:30 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_142201_6.mp4 02/06 14:17:30 Destination file not found 02/06 14:17:30 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_142201_6.mp4 02/06 14:17:30 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_142201_6.mp4 02/06 14:17:31 DownloadFile ok... checking file destination 02/06 14:17:31 URLDownloadToFile ok 02/06 14:17:31 Video .sig downloaded ok! 02/06 14:17:31 Snapshot .sig downloaded ok! 02/06 14:17:31 Elapsed download time: 00:00:02 02/06 14:17:32 UpdateVideoname 02/06 14:17:32 Updating: idalarmcra = 384187 02/06 14:17:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384187 ORDER BY IDALARMCRA DESC 02/06 14:17:32 Just before Update() 02/06 14:17:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:17:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:17:42 Don't have work. 02/06 14:17:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:17:52 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:17:52 Alarms with pending videos found! 02/06 14:17:52 Next idalarmcra = 384188 02/06 14:17:52 DownloadVideos::DownloadVideoOfAlarm 02/06 14:17:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:17:52 SAM|22962 02/06 14:17:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141753_57.mp4|110684| 02/06 14:17:52 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141753_57.mp4 02/06 14:17:52 Date = 20190602 02/06 14:17:52 Construct from filename date 02/06 14:17:52 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141753_57.mp4 02/06 14:17:52 Destination file not found 02/06 14:17:52 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141753_57.mp4 02/06 14:17:52 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_141753_57.mp4 02/06 14:17:53 DownloadFile ok... checking file destination 02/06 14:17:53 URLDownloadToFile ok 02/06 14:17:54 Video .sig downloaded ok! 02/06 14:17:54 Snapshot .sig downloaded ok! 02/06 14:17:54 Elapsed download time: 00:00:02 02/06 14:17:54 UpdateVideoname 02/06 14:17:54 Updating: idalarmcra = 384188 02/06 14:17:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384188 ORDER BY IDALARMCRA DESC 02/06 14:17:54 Just before Update() 02/06 14:18:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:18:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:18:04 Don't have work. 02/06 14:18:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:18:14 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:18:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:18:24 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:18:24 Alarms with pending videos found! 02/06 14:18:24 Next idalarmcra = 384192 02/06 14:18:24 DownloadVideos::DownloadVideoOfAlarm 02/06 14:18:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:18:24 SAM|4708 02/06 14:18:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141940_148.mp4|114701| 02/06 14:18:25 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141940_148.mp4 02/06 14:18:25 Date = 20190602 02/06 14:18:25 Construct from filename date 02/06 14:18:25 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141940_148.mp4 02/06 14:18:25 Destination file not found 02/06 14:18:25 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141940_148.mp4 02/06 14:18:25 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_141940_148.mp4 02/06 14:18:27 DownloadFile ok... checking file destination 02/06 14:18:27 URLDownloadToFile ok 02/06 14:18:28 Video .sig downloaded ok! 02/06 14:18:28 Snapshot .sig downloaded ok! 02/06 14:18:28 Elapsed download time: 00:00:04 02/06 14:18:28 UpdateVideoname 02/06 14:18:28 Updating: idalarmcra = 384192 02/06 14:18:28 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384192 ORDER BY IDALARMCRA DESC 02/06 14:18:28 Just before Update() 02/06 14:18:38 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:18:38 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:18:38 Don't have work. 02/06 14:18:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:18:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:18:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:18:58 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:19:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:19:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:19:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:19:18 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:19:18 Alarms with pending videos found! 02/06 14:19:18 Next idalarmcra = 384194 02/06 14:19:18 DownloadVideos::DownloadVideoOfAlarm 02/06 14:19:18 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:19:18 SAM|1125 02/06 14:19:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141825_41.mp4|107717| 02/06 14:19:19 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141825_41.mp4 02/06 14:19:19 Date = 20190602 02/06 14:19:19 Construct from filename date 02/06 14:19:19 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141825_41.mp4 02/06 14:19:19 Destination file not found 02/06 14:19:19 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141825_41.mp4 02/06 14:19:19 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141825_41.mp4 02/06 14:19:19 DownloadFile ok... checking file destination 02/06 14:19:19 URLDownloadToFile ok 02/06 14:19:19 Video .sig downloaded ok! 02/06 14:19:20 Snapshot .sig downloaded ok! 02/06 14:19:20 Elapsed download time: 00:00:02 02/06 14:19:20 UpdateVideoname 02/06 14:19:20 Updating: idalarmcra = 384194 02/06 14:19:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384194 ORDER BY IDALARMCRA DESC 02/06 14:19:20 Just before Update() 02/06 14:19:20 Next idalarmcra = 384193 02/06 14:19:20 DownloadVideos::DownloadVideoOfAlarm 02/06 14:19:20 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:19:20 SAM|1124 02/06 14:19:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_141820_179.mp4|100173| 02/06 14:19:20 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_141820_179.mp4 02/06 14:19:20 Date = 20190602 02/06 14:19:20 Construct from filename date 02/06 14:19:20 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_141820_179.mp4 02/06 14:19:20 Destination file not found 02/06 14:19:20 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_141820_179.mp4 02/06 14:19:20 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_141820_179.mp4 02/06 14:19:20 DownloadFile ok... checking file destination 02/06 14:19:20 URLDownloadToFile ok 02/06 14:19:20 Video .sig downloaded ok! 02/06 14:19:20 Snapshot .sig downloaded ok! 02/06 14:19:20 Elapsed download time: 00:00:00 02/06 14:19:20 UpdateVideoname 02/06 14:19:20 Updating: idalarmcra = 384193 02/06 14:19:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384193 ORDER BY IDALARMCRA DESC 02/06 14:19:20 Just before Update() 02/06 14:19:30 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:19:30 [D] Query(34ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:19:30 Alarms with pending videos found! 02/06 14:19:30 Next idalarmcra = 384197 02/06 14:19:30 DownloadVideos::DownloadVideoOfAlarm 02/06 14:19:30 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:19:30 SAM|4709 02/06 14:19:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142049_149.mp4|110426| 02/06 14:19:31 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142049_149.mp4 02/06 14:19:31 Date = 20190602 02/06 14:19:31 Construct from filename date 02/06 14:19:31 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142049_149.mp4 02/06 14:19:31 Destination file not found 02/06 14:19:31 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142049_149.mp4 02/06 14:19:31 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142049_149.mp4 02/06 14:19:33 DownloadFile ok... checking file destination 02/06 14:19:33 URLDownloadToFile ok 02/06 14:19:33 Video .sig downloaded ok! 02/06 14:19:33 Snapshot .sig downloaded ok! 02/06 14:19:33 Elapsed download time: 00:00:03 02/06 14:19:33 UpdateVideoname 02/06 14:19:33 Updating: idalarmcra = 384197 02/06 14:19:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384197 ORDER BY IDALARMCRA DESC 02/06 14:19:33 Just before Update() 02/06 14:19:33 Next idalarmcra = 384196 02/06 14:19:33 DownloadVideos::DownloadVideoOfAlarm 02/06 14:19:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:19:33 SAM|1396 02/06 14:19:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_141922_201.mp4|96675| 02/06 14:19:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_141922_201.mp4 02/06 14:19:33 Date = 20190602 02/06 14:19:33 Construct from filename date 02/06 14:19:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_141922_201.mp4 02/06 14:19:33 Destination file not found 02/06 14:19:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_141922_201.mp4 02/06 14:19:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_141922_201.mp4 02/06 14:19:37 DownloadFile ok... checking file destination 02/06 14:19:37 URLDownloadToFile ok 02/06 14:19:38 Video .sig downloaded ok! 02/06 14:19:38 Snapshot .sig downloaded ok! 02/06 14:19:38 Elapsed download time: 00:00:05 02/06 14:19:38 UpdateVideoname 02/06 14:19:38 Updating: idalarmcra = 384196 02/06 14:19:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384196 ORDER BY IDALARMCRA DESC 02/06 14:19:38 Just before Update() 02/06 14:19:38 Next idalarmcra = 384195 02/06 14:19:38 DownloadVideos::DownloadVideoOfAlarm 02/06 14:19:38 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:19:38 SAM|1395 02/06 14:19:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_141917_137.mp4|100997| 02/06 14:19:38 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_141917_137.mp4 02/06 14:19:38 Date = 20190602 02/06 14:19:38 Construct from filename date 02/06 14:19:38 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_141917_137.mp4 02/06 14:19:38 Destination file not found 02/06 14:19:38 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_141917_137.mp4 02/06 14:19:38 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_141917_137.mp4 02/06 14:19:41 DownloadFile ok... checking file destination 02/06 14:19:41 URLDownloadToFile ok 02/06 14:19:41 Video .sig downloaded ok! 02/06 14:19:41 Snapshot .sig downloaded ok! 02/06 14:19:41 Elapsed download time: 00:00:03 02/06 14:19:41 UpdateVideoname 02/06 14:19:41 Updating: idalarmcra = 384195 02/06 14:19:41 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384195 ORDER BY IDALARMCRA DESC 02/06 14:19:41 Rollback executed. 02/06 14:19:41 RecordSet closed. 02/06 14:19:41 CheckDDBB 02/06 14:19:41 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:19:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:19:51 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:19:51 Alarms with pending videos found! 02/06 14:19:51 Next idalarmcra = 384198 02/06 14:19:51 DownloadVideos::DownloadVideoOfAlarm 02/06 14:19:51 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:19:51 SAM|1397 02/06 14:19:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_141933_138.mp4|95607| 02/06 14:19:51 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_141933_138.mp4 02/06 14:19:51 Date = 20190602 02/06 14:19:51 Construct from filename date 02/06 14:19:51 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_141933_138.mp4 02/06 14:19:51 Destination file not found 02/06 14:19:51 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_141933_138.mp4 02/06 14:19:51 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_141933_138.mp4 02/06 14:19:55 DownloadFile ok... checking file destination 02/06 14:19:55 URLDownloadToFile ok 02/06 14:19:55 Video .sig downloaded ok! 02/06 14:19:55 Snapshot .sig downloaded ok! 02/06 14:19:55 Elapsed download time: 00:00:04 02/06 14:19:56 UpdateVideoname 02/06 14:19:56 Updating: idalarmcra = 384198 02/06 14:19:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384198 ORDER BY IDALARMCRA DESC 02/06 14:19:56 Just before Update() 02/06 14:20:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:20:06 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:20:06 Alarms with pending videos found! 02/06 14:20:06 Next idalarmcra = 384199 02/06 14:20:06 DownloadVideos::DownloadVideoOfAlarm 02/06 14:20:06 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:20:06 SAM|1126 02/06 14:20:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141911_42.mp4|108585| 02/06 14:20:06 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141911_42.mp4 02/06 14:20:06 Date = 20190602 02/06 14:20:06 Construct from filename date 02/06 14:20:06 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141911_42.mp4 02/06 14:20:06 Destination file not found 02/06 14:20:06 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141911_42.mp4 02/06 14:20:06 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141911_42.mp4 02/06 14:20:06 DownloadFile ok... checking file destination 02/06 14:20:06 URLDownloadToFile ok 02/06 14:20:06 Video .sig downloaded ok! 02/06 14:20:06 Snapshot .sig downloaded ok! 02/06 14:20:06 Elapsed download time: 00:00:00 02/06 14:20:06 UpdateVideoname 02/06 14:20:06 Updating: idalarmcra = 384199 02/06 14:20:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384199 ORDER BY IDALARMCRA DESC 02/06 14:20:06 Just before Update() 02/06 14:20:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:20:16 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:20:17 Don't have work. 02/06 14:20:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:20:27 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:20:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:20:37 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:20:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:20:47 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:20:47 Alarms with pending videos found! 02/06 14:20:47 Next idalarmcra = 384201 02/06 14:20:47 DownloadVideos::DownloadVideoOfAlarm 02/06 14:20:47 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:20:47 SAM|1127 02/06 14:20:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:20:47 NOK answer received 02/06 14:20:47 UpdateVideoname 02/06 14:20:47 Updating: idalarmcra = 384201 02/06 14:20:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384201 ORDER BY IDALARMCRA DESC 02/06 14:20:47 Just before Update() 02/06 14:20:47 Next idalarmcra = 384200 02/06 14:20:47 DownloadVideos::DownloadVideoOfAlarm 02/06 14:20:47 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:20:47 SAM|22963 02/06 14:20:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_142050_58.mp4|112510| 02/06 14:20:47 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_142050_58.mp4 02/06 14:20:47 Date = 20190602 02/06 14:20:47 Construct from filename date 02/06 14:20:47 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_142050_58.mp4 02/06 14:20:47 Destination file not found 02/06 14:20:47 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_142050_58.mp4 02/06 14:20:47 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_142050_58.mp4 02/06 14:20:49 DownloadFile ok... checking file destination 02/06 14:20:49 URLDownloadToFile ok 02/06 14:20:49 Video .sig downloaded ok! 02/06 14:20:50 Snapshot .sig downloaded ok! 02/06 14:20:50 Elapsed download time: 00:00:03 02/06 14:20:50 UpdateVideoname 02/06 14:20:50 Updating: idalarmcra = 384200 02/06 14:20:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384200 ORDER BY IDALARMCRA DESC 02/06 14:20:50 Just before Update() 02/06 14:21:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:21:00 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:21:00 Alarms with pending videos found! 02/06 14:21:00 Next idalarmcra = 384201 02/06 14:21:00 DownloadVideos::DownloadVideoOfAlarm 02/06 14:21:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:21:00 SAM|1127 02/06 14:21:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141956_43.mp4|108553| 02/06 14:21:01 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141956_43.mp4 02/06 14:21:01 Date = 20190602 02/06 14:21:01 Construct from filename date 02/06 14:21:01 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141956_43.mp4 02/06 14:21:01 Destination file not found 02/06 14:21:01 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141956_43.mp4 02/06 14:21:01 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_141956_43.mp4 02/06 14:21:01 DownloadFile ok... checking file destination 02/06 14:21:01 URLDownloadToFile ok 02/06 14:21:01 Video .sig downloaded ok! 02/06 14:21:01 Snapshot .sig downloaded ok! 02/06 14:21:01 Elapsed download time: 00:00:01 02/06 14:21:01 UpdateVideoname 02/06 14:21:01 Updating: idalarmcra = 384201 02/06 14:21:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384201 ORDER BY IDALARMCRA DESC 02/06 14:21:01 Just before Update() 02/06 14:21:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:21:11 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:21:11 Don't have work. 02/06 14:21:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:21:21 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:21:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:21:32 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:21:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:21:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:21:52 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:21:52 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:21:52 Alarms with pending videos found! 02/06 14:21:52 Next idalarmcra = 384202 02/06 14:21:52 DownloadVideos::DownloadVideoOfAlarm 02/06 14:21:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:21:52 SAM|4710 02/06 14:21:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142306_150.mp4|111738| 02/06 14:21:52 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142306_150.mp4 02/06 14:21:52 Date = 20190602 02/06 14:21:52 Construct from filename date 02/06 14:21:52 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142306_150.mp4 02/06 14:21:52 Destination file not found 02/06 14:21:52 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142306_150.mp4 02/06 14:21:52 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142306_150.mp4 02/06 14:21:54 DownloadFile ok... checking file destination 02/06 14:21:54 URLDownloadToFile ok 02/06 14:21:55 Video .sig downloaded ok! 02/06 14:21:55 Snapshot .sig downloaded ok! 02/06 14:21:55 Elapsed download time: 00:00:03 02/06 14:21:55 UpdateVideoname 02/06 14:21:55 Updating: idalarmcra = 384202 02/06 14:21:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384202 ORDER BY IDALARMCRA DESC 02/06 14:21:55 Just before Update() 02/06 14:22:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:22:05 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:22:05 Alarms with pending videos found! 02/06 14:22:05 Next idalarmcra = 384203 02/06 14:22:05 DownloadVideos::DownloadVideoOfAlarm 02/06 14:22:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:22:05 SAM|1398 02/06 14:22:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142153_133.mp4|98898| 02/06 14:22:05 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142153_133.mp4 02/06 14:22:05 Date = 20190602 02/06 14:22:05 Construct from filename date 02/06 14:22:05 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142153_133.mp4 02/06 14:22:05 Destination file not found 02/06 14:22:05 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142153_133.mp4 02/06 14:22:05 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142153_133.mp4 02/06 14:22:06 DownloadFile ok... checking file destination 02/06 14:22:06 URLDownloadToFile ok 02/06 14:22:06 Video .sig downloaded ok! 02/06 14:22:06 Snapshot .sig downloaded ok! 02/06 14:22:06 Elapsed download time: 00:00:01 02/06 14:22:06 UpdateVideoname 02/06 14:22:06 Updating: idalarmcra = 384203 02/06 14:22:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384203 ORDER BY IDALARMCRA DESC 02/06 14:22:06 Just before Update() 02/06 14:22:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:22:16 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:22:16 Alarms with pending videos found! 02/06 14:22:16 Next idalarmcra = 384204 02/06 14:22:16 DownloadVideos::DownloadVideoOfAlarm 02/06 14:22:16 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:22:16 SAM|22964 02/06 14:22:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:22:17 NOK answer received 02/06 14:22:17 UpdateVideoname 02/06 14:22:17 Updating: idalarmcra = 384204 02/06 14:22:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384204 ORDER BY IDALARMCRA DESC 02/06 14:22:17 Just before Update() 02/06 14:22:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:22:27 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:22:27 Alarms with pending videos found! 02/06 14:22:27 Next idalarmcra = 384206 02/06 14:22:27 DownloadVideos::DownloadVideoOfAlarm 02/06 14:22:27 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:22:27 SAM|1399 02/06 14:22:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142217_134.mp4|109696| 02/06 14:22:27 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142217_134.mp4 02/06 14:22:27 Date = 20190602 02/06 14:22:27 Construct from filename date 02/06 14:22:27 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142217_134.mp4 02/06 14:22:27 Destination file not found 02/06 14:22:27 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142217_134.mp4 02/06 14:22:27 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142217_134.mp4 02/06 14:22:27 DownloadFile ok... checking file destination 02/06 14:22:27 URLDownloadToFile ok 02/06 14:22:28 Video .sig downloaded ok! 02/06 14:22:28 Snapshot .sig downloaded ok! 02/06 14:22:28 Elapsed download time: 00:00:01 02/06 14:22:28 UpdateVideoname 02/06 14:22:28 Updating: idalarmcra = 384206 02/06 14:22:28 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384206 ORDER BY IDALARMCRA DESC 02/06 14:22:28 Just before Update() 02/06 14:22:28 Next idalarmcra = 384204 02/06 14:22:28 DownloadVideos::DownloadVideoOfAlarm 02/06 14:22:28 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:22:28 SAM|22964 02/06 14:22:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_142231_59.mp4|113743| 02/06 14:22:28 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_142231_59.mp4 02/06 14:22:28 Date = 20190602 02/06 14:22:28 Construct from filename date 02/06 14:22:28 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_142231_59.mp4 02/06 14:22:28 Destination file not found 02/06 14:22:28 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_142231_59.mp4 02/06 14:22:28 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_142231_59.mp4 02/06 14:22:29 DownloadFile ok... checking file destination 02/06 14:22:29 URLDownloadToFile ok 02/06 14:22:30 Video .sig downloaded ok! 02/06 14:22:30 Snapshot .sig downloaded ok! 02/06 14:22:30 Elapsed download time: 00:00:02 02/06 14:22:30 UpdateVideoname 02/06 14:22:30 Updating: idalarmcra = 384204 02/06 14:22:30 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384204 ORDER BY IDALARMCRA DESC 02/06 14:22:30 Just before Update() 02/06 14:22:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:22:40 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:22:40 Alarms with pending videos found! 02/06 14:22:40 Next idalarmcra = 384208 02/06 14:22:40 DownloadVideos::DownloadVideoOfAlarm 02/06 14:22:40 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:22:40 SAM|1400 02/06 14:22:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_142232_59.mp4|113324| 02/06 14:22:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_142232_59.mp4 02/06 14:22:40 Date = 20190602 02/06 14:22:40 Construct from filename date 02/06 14:22:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_142232_59.mp4 02/06 14:22:40 Destination file not found 02/06 14:22:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_142232_59.mp4 02/06 14:22:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_142232_59.mp4 02/06 14:22:41 DownloadFile ok... checking file destination 02/06 14:22:41 URLDownloadToFile ok 02/06 14:22:41 Video .sig downloaded ok! 02/06 14:22:41 Snapshot .sig downloaded ok! 02/06 14:22:41 Elapsed download time: 00:00:01 02/06 14:22:41 UpdateVideoname 02/06 14:22:41 Updating: idalarmcra = 384208 02/06 14:22:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384208 ORDER BY IDALARMCRA DESC 02/06 14:22:41 Just before Update() 02/06 14:22:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:22:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:22:51 Don't have work. 02/06 14:23:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:23:01 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:23:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:23:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:23:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:23:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:23:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:23:31 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:23:31 Alarms with pending videos found! 02/06 14:23:31 Next idalarmcra = 384210 02/06 14:23:31 DownloadVideos::DownloadVideoOfAlarm 02/06 14:23:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:23:31 SAM|1401 02/06 14:23:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_142322_139.mp4|101599| 02/06 14:23:32 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_142322_139.mp4 02/06 14:23:32 Date = 20190602 02/06 14:23:32 Construct from filename date 02/06 14:23:32 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_142322_139.mp4 02/06 14:23:32 Destination file not found 02/06 14:23:32 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_142322_139.mp4 02/06 14:23:32 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_142322_139.mp4 02/06 14:23:32 DownloadFile ok... checking file destination 02/06 14:23:32 URLDownloadToFile ok 02/06 14:23:32 Video .sig downloaded ok! 02/06 14:23:32 Snapshot .sig downloaded ok! 02/06 14:23:32 Elapsed download time: 00:00:01 02/06 14:23:32 UpdateVideoname 02/06 14:23:32 Updating: idalarmcra = 384210 02/06 14:23:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384210 ORDER BY IDALARMCRA DESC 02/06 14:23:32 Just before Update() 02/06 14:23:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:23:42 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:23:42 Alarms with pending videos found! 02/06 14:23:42 Next idalarmcra = 384214 02/06 14:23:42 DownloadVideos::DownloadVideoOfAlarm 02/06 14:23:42 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:23:42 SAM|1128 02/06 14:23:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142245_44.mp4|107036| 02/06 14:23:43 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142245_44.mp4 02/06 14:23:43 Date = 20190602 02/06 14:23:43 Construct from filename date 02/06 14:23:43 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142245_44.mp4 02/06 14:23:43 Destination file not found 02/06 14:23:43 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142245_44.mp4 02/06 14:23:43 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142245_44.mp4 02/06 14:23:43 DownloadFile ok... checking file destination 02/06 14:23:43 URLDownloadToFile ok 02/06 14:23:43 Video .sig downloaded ok! 02/06 14:23:43 Snapshot .sig downloaded ok! 02/06 14:23:43 Elapsed download time: 00:00:01 02/06 14:23:43 UpdateVideoname 02/06 14:23:43 Updating: idalarmcra = 384214 02/06 14:23:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384214 ORDER BY IDALARMCRA DESC 02/06 14:23:43 Just before Update() 02/06 14:23:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:23:53 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:23:53 Alarms with pending videos found! 02/06 14:23:53 Next idalarmcra = 384215 02/06 14:23:53 DownloadVideos::DownloadVideoOfAlarm 02/06 14:23:53 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:23:53 SAM|22965 02/06 14:23:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:23:54 NOK answer received 02/06 14:23:54 UpdateVideoname 02/06 14:23:54 Updating: idalarmcra = 384215 02/06 14:23:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384215 ORDER BY IDALARMCRA DESC 02/06 14:23:54 Just before Update() 02/06 14:24:04 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:24:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:24:04 Don't have work. 02/06 14:24:14 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:24:14 [D] Query(20ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:24:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:24:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:24:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:24:34 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:24:34 Alarms with pending videos found! 02/06 14:24:34 Next idalarmcra = 384216 02/06 14:24:34 DownloadVideos::DownloadVideoOfAlarm 02/06 14:24:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 14:24:34 SAM|22291 02/06 14:24:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_142904_4.mp4|113685| 02/06 14:24:35 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_142904_4.mp4 02/06 14:24:35 Date = 20190602 02/06 14:24:35 Construct from filename date 02/06 14:24:35 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_142904_4.mp4 02/06 14:24:35 Destination file not found 02/06 14:24:35 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_142904_4.mp4 02/06 14:24:35 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_142904_4.mp4 02/06 14:24:36 DownloadFile ok... checking file destination 02/06 14:24:36 URLDownloadToFile ok 02/06 14:24:36 Video .sig downloaded ok! 02/06 14:24:37 Snapshot .sig downloaded ok! 02/06 14:24:37 Elapsed download time: 00:00:03 02/06 14:24:37 UpdateVideoname 02/06 14:24:37 Updating: idalarmcra = 384216 02/06 14:24:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384216 ORDER BY IDALARMCRA DESC 02/06 14:24:37 Just before Update() 02/06 14:24:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:24:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:24:47 Don't have work. 02/06 14:24:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:24:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:25:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:25:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:25:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:25:17 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:25:17 Alarms with pending videos found! 02/06 14:25:17 Next idalarmcra = 384222 02/06 14:25:17 DownloadVideos::DownloadVideoOfAlarm 02/06 14:25:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:25:17 SAM|4711 02/06 14:25:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142635_151.mp4|111891| 02/06 14:25:18 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142635_151.mp4 02/06 14:25:18 Date = 20190602 02/06 14:25:18 Construct from filename date 02/06 14:25:18 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142635_151.mp4 02/06 14:25:18 Destination file not found 02/06 14:25:18 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142635_151.mp4 02/06 14:25:18 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_142635_151.mp4 02/06 14:25:22 DownloadFile ok... checking file destination 02/06 14:25:22 URLDownloadToFile ok 02/06 14:25:22 Video .sig downloaded ok! 02/06 14:25:22 Snapshot .sig downloaded ok! 02/06 14:25:22 Elapsed download time: 00:00:05 02/06 14:25:22 UpdateVideoname 02/06 14:25:22 Updating: idalarmcra = 384222 02/06 14:25:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384222 ORDER BY IDALARMCRA DESC 02/06 14:25:22 Just before Update() 02/06 14:25:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:25:32 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:25:32 Don't have work. 02/06 14:25:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:25:42 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:25:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:25:52 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:26:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:26:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:26:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:26:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:26:22 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:26:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:26:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:26:33 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:26:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:26:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:26:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:26:53 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:27:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:27:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 14:27:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:27:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:27:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:27:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:27:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:27:33 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:27:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:27:43 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:27:43 Alarms with pending videos found! 02/06 14:27:43 Next idalarmcra = 384225 02/06 14:27:43 DownloadVideos::DownloadVideoOfAlarm 02/06 14:27:43 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:27:43 SAM|1129 02/06 14:27:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142651_45.mp4|106424| 02/06 14:27:44 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142651_45.mp4 02/06 14:27:44 Date = 20190602 02/06 14:27:44 Construct from filename date 02/06 14:27:44 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142651_45.mp4 02/06 14:27:44 Destination file not found 02/06 14:27:44 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142651_45.mp4 02/06 14:27:44 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142651_45.mp4 02/06 14:27:44 DownloadFile ok... checking file destination 02/06 14:27:44 URLDownloadToFile ok 02/06 14:27:45 Video .sig downloaded ok! 02/06 14:27:45 Snapshot .sig downloaded ok! 02/06 14:27:45 Elapsed download time: 00:00:02 02/06 14:27:45 UpdateVideoname 02/06 14:27:45 Updating: idalarmcra = 384225 02/06 14:27:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384225 ORDER BY IDALARMCRA DESC 02/06 14:27:45 Just before Update() 02/06 14:27:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:27:55 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:27:55 Alarms with pending videos found! 02/06 14:27:55 Next idalarmcra = 384226 02/06 14:27:55 DownloadVideos::DownloadVideoOfAlarm 02/06 14:27:55 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:27:55 SAM|1130 02/06 14:27:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_142703_429.mp4|108847| 02/06 14:27:55 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_142703_429.mp4 02/06 14:27:55 Date = 20190602 02/06 14:27:55 Construct from filename date 02/06 14:27:55 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_142703_429.mp4 02/06 14:27:55 Destination file not found 02/06 14:27:55 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_142703_429.mp4 02/06 14:27:55 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_142703_429.mp4 02/06 14:27:56 DownloadFile ok... checking file destination 02/06 14:27:56 URLDownloadToFile ok 02/06 14:27:56 Video .sig downloaded ok! 02/06 14:27:56 Snapshot .sig downloaded ok! 02/06 14:27:56 Elapsed download time: 00:00:01 02/06 14:27:56 UpdateVideoname 02/06 14:27:56 Updating: idalarmcra = 384226 02/06 14:27:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384226 ORDER BY IDALARMCRA DESC 02/06 14:27:56 Just before Update() 02/06 14:28:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:28:06 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:28:06 Alarms with pending videos found! 02/06 14:28:06 Next idalarmcra = 384229 02/06 14:28:06 DownloadVideos::DownloadVideoOfAlarm 02/06 14:28:06 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:28:06 SAM|1132 02/06 14:28:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142708_46.mp4|110670| 02/06 14:28:06 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142708_46.mp4 02/06 14:28:06 Date = 20190602 02/06 14:28:06 Construct from filename date 02/06 14:28:06 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142708_46.mp4 02/06 14:28:06 Destination file not found 02/06 14:28:06 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142708_46.mp4 02/06 14:28:06 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_142708_46.mp4 02/06 14:28:06 DownloadFile ok... checking file destination 02/06 14:28:06 URLDownloadToFile ok 02/06 14:28:07 Video .sig downloaded ok! 02/06 14:28:07 Snapshot .sig downloaded ok! 02/06 14:28:07 Elapsed download time: 00:00:01 02/06 14:28:07 UpdateVideoname 02/06 14:28:07 Updating: idalarmcra = 384229 02/06 14:28:07 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384229 ORDER BY IDALARMCRA DESC 02/06 14:28:07 Just before Update() 02/06 14:28:07 Next idalarmcra = 384228 02/06 14:28:07 DownloadVideos::DownloadVideoOfAlarm 02/06 14:28:07 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:28:07 SAM|1402 02/06 14:28:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142755_135.mp4|102243| 02/06 14:28:07 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142755_135.mp4 02/06 14:28:07 Date = 20190602 02/06 14:28:07 Construct from filename date 02/06 14:28:07 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142755_135.mp4 02/06 14:28:07 Destination file not found 02/06 14:28:07 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142755_135.mp4 02/06 14:28:07 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142755_135.mp4 02/06 14:28:08 DownloadFile ok... checking file destination 02/06 14:28:08 URLDownloadToFile ok 02/06 14:28:08 Video .sig downloaded ok! 02/06 14:28:08 Snapshot .sig downloaded ok! 02/06 14:28:08 Elapsed download time: 00:00:01 02/06 14:28:08 UpdateVideoname 02/06 14:28:08 Updating: idalarmcra = 384228 02/06 14:28:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384228 ORDER BY IDALARMCRA DESC 02/06 14:28:08 Just before Update() 02/06 14:28:08 Next idalarmcra = 384227 02/06 14:28:08 DownloadVideos::DownloadVideoOfAlarm 02/06 14:28:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:28:08 SAM|1131 02/06 14:28:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_142705_180.mp4|106633| 02/06 14:28:08 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_142705_180.mp4 02/06 14:28:08 Date = 20190602 02/06 14:28:08 Construct from filename date 02/06 14:28:08 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_142705_180.mp4 02/06 14:28:08 Destination file not found 02/06 14:28:08 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_142705_180.mp4 02/06 14:28:08 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_142705_180.mp4 02/06 14:28:08 DownloadFile ok... checking file destination 02/06 14:28:08 URLDownloadToFile ok 02/06 14:28:09 Video .sig downloaded ok! 02/06 14:28:09 Snapshot .sig downloaded ok! 02/06 14:28:09 Elapsed download time: 00:00:01 02/06 14:28:09 UpdateVideoname 02/06 14:28:09 Updating: idalarmcra = 384227 02/06 14:28:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384227 ORDER BY IDALARMCRA DESC 02/06 14:28:09 Just before Update() 02/06 14:28:19 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:28:19 [D] Query(32ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:28:19 Alarms with pending videos found! 02/06 14:28:19 Next idalarmcra = 384230 02/06 14:28:19 DownloadVideos::DownloadVideoOfAlarm 02/06 14:28:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:28:19 SAM|1403 02/06 14:28:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:28:19 NOK answer received 02/06 14:28:19 UpdateVideoname 02/06 14:28:19 Updating: idalarmcra = 384230 02/06 14:28:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384230 ORDER BY IDALARMCRA DESC 02/06 14:28:19 Just before Update() 02/06 14:28:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:28:29 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:28:29 Alarms with pending videos found! 02/06 14:28:29 Next idalarmcra = 384231 02/06 14:28:29 DownloadVideos::DownloadVideoOfAlarm 02/06 14:28:29 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:28:29 SAM|1404 02/06 14:28:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:28:30 NOK answer received 02/06 14:28:30 UpdateVideoname 02/06 14:28:30 Updating: idalarmcra = 384231 02/06 14:28:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384231 ORDER BY IDALARMCRA DESC 02/06 14:28:30 Just before Update() 02/06 14:28:30 Next idalarmcra = 384230 02/06 14:28:30 DownloadVideos::DownloadVideoOfAlarm 02/06 14:28:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:28:30 SAM|1403 02/06 14:28:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142817_136.mp4|102059| 02/06 14:28:30 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142817_136.mp4 02/06 14:28:30 Date = 20190602 02/06 14:28:30 Construct from filename date 02/06 14:28:30 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142817_136.mp4 02/06 14:28:30 Destination file not found 02/06 14:28:30 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142817_136.mp4 02/06 14:28:30 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142817_136.mp4 02/06 14:28:30 DownloadFile ok... checking file destination 02/06 14:28:30 URLDownloadToFile ok 02/06 14:28:30 Video .sig downloaded ok! 02/06 14:28:30 Snapshot .sig downloaded ok! 02/06 14:28:30 Elapsed download time: 00:00:00 02/06 14:28:30 UpdateVideoname 02/06 14:28:30 Updating: idalarmcra = 384230 02/06 14:28:30 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384230 ORDER BY IDALARMCRA DESC 02/06 14:28:30 Just before Update() 02/06 14:28:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:28:41 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:28:41 Alarms with pending videos found! 02/06 14:28:41 Next idalarmcra = 384232 02/06 14:28:41 DownloadVideos::DownloadVideoOfAlarm 02/06 14:28:41 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:28:41 SAM|1405 02/06 14:28:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142835_138.mp4|113110| 02/06 14:28:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142835_138.mp4 02/06 14:28:41 Date = 20190602 02/06 14:28:41 Construct from filename date 02/06 14:28:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142835_138.mp4 02/06 14:28:41 Destination file not found 02/06 14:28:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142835_138.mp4 02/06 14:28:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142835_138.mp4 02/06 14:28:41 DownloadFile ok... checking file destination 02/06 14:28:41 URLDownloadToFile ok 02/06 14:28:41 Video .sig downloaded ok! 02/06 14:28:41 Snapshot .sig downloaded ok! 02/06 14:28:41 Elapsed download time: 00:00:00 02/06 14:28:42 UpdateVideoname 02/06 14:28:42 Updating: idalarmcra = 384232 02/06 14:28:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384232 ORDER BY IDALARMCRA DESC 02/06 14:28:42 Just before Update() 02/06 14:28:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:28:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:28:52 Don't have work. 02/06 14:29:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:29:02 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:29:02 Alarms with pending videos found! 02/06 14:29:02 Next idalarmcra = 384233 02/06 14:29:02 DownloadVideos::DownloadVideoOfAlarm 02/06 14:29:02 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:29:02 SAM|1406 02/06 14:29:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142856_139.mp4|110308| 02/06 14:29:02 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142856_139.mp4 02/06 14:29:02 Date = 20190602 02/06 14:29:02 Construct from filename date 02/06 14:29:02 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142856_139.mp4 02/06 14:29:02 Destination file not found 02/06 14:29:02 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142856_139.mp4 02/06 14:29:02 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_142856_139.mp4 02/06 14:29:03 DownloadFile ok... checking file destination 02/06 14:29:03 URLDownloadToFile ok 02/06 14:29:03 Video .sig downloaded ok! 02/06 14:29:03 Snapshot .sig downloaded ok! 02/06 14:29:03 Elapsed download time: 00:00:01 02/06 14:29:03 UpdateVideoname 02/06 14:29:03 Updating: idalarmcra = 384233 02/06 14:29:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384233 ORDER BY IDALARMCRA DESC 02/06 14:29:03 Just before Update() 02/06 14:29:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:29:13 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:29:13 Don't have work. 02/06 14:29:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:29:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:29:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:29:33 [D] Query(30ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:29:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:29:43 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:29:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:29:53 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:30:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:30:03 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:30:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:30:14 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:30:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:30:24 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:30:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:30:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:30:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:30:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 14:30:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:30:54 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:30:54 Alarms with pending videos found! 02/06 14:30:54 Next idalarmcra = 384234 02/06 14:30:54 DownloadVideos::DownloadVideoOfAlarm 02/06 14:30:54 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:30:54 SAM|1407 02/06 14:30:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_143042_60.mp4|113014| 02/06 14:30:55 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_143042_60.mp4 02/06 14:30:55 Date = 20190602 02/06 14:30:55 Construct from filename date 02/06 14:30:55 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_143042_60.mp4 02/06 14:30:55 Destination file not found 02/06 14:30:55 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_143042_60.mp4 02/06 14:30:55 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_143042_60.mp4 02/06 14:30:55 DownloadFile ok... checking file destination 02/06 14:30:55 URLDownloadToFile ok 02/06 14:30:55 Video .sig downloaded ok! 02/06 14:30:56 Snapshot .sig downloaded ok! 02/06 14:30:56 Elapsed download time: 00:00:02 02/06 14:30:56 UpdateVideoname 02/06 14:30:56 Updating: idalarmcra = 384234 02/06 14:30:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384234 ORDER BY IDALARMCRA DESC 02/06 14:30:56 Just before Update() 02/06 14:31:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:31:06 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:31:06 Don't have work. 02/06 14:31:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:31:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:31:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:31:26 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:31:26 Alarms with pending videos found! 02/06 14:31:26 Next idalarmcra = 384235 02/06 14:31:26 DownloadVideos::DownloadVideoOfAlarm 02/06 14:31:26 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:31:26 SAM|1408 02/06 14:31:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143115_140.mp4|106115| 02/06 14:31:27 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143115_140.mp4 02/06 14:31:27 Date = 20190602 02/06 14:31:27 Construct from filename date 02/06 14:31:27 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143115_140.mp4 02/06 14:31:27 Destination file not found 02/06 14:31:27 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143115_140.mp4 02/06 14:31:27 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143115_140.mp4 02/06 14:31:27 DownloadFile ok... checking file destination 02/06 14:31:27 URLDownloadToFile ok 02/06 14:31:27 Video .sig downloaded ok! 02/06 14:31:27 Snapshot .sig downloaded ok! 02/06 14:31:27 Elapsed download time: 00:00:01 02/06 14:31:27 UpdateVideoname 02/06 14:31:27 Updating: idalarmcra = 384235 02/06 14:31:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384235 ORDER BY IDALARMCRA DESC 02/06 14:31:27 Just before Update() 02/06 14:31:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:31:37 [D] Query(34ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:31:37 Don't have work. 02/06 14:31:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:31:47 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:31:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:31:57 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:31:57 Alarms with pending videos found! 02/06 14:31:57 Next idalarmcra = 384239 02/06 14:31:57 DownloadVideos::DownloadVideoOfAlarm 02/06 14:31:57 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:31:57 SAM|1409 02/06 14:31:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143150_141.mp4|116960| 02/06 14:31:58 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143150_141.mp4 02/06 14:31:58 Date = 20190602 02/06 14:31:58 Construct from filename date 02/06 14:31:58 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143150_141.mp4 02/06 14:31:58 Destination file not found 02/06 14:31:58 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143150_141.mp4 02/06 14:31:58 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143150_141.mp4 02/06 14:31:58 DownloadFile ok... checking file destination 02/06 14:31:58 URLDownloadToFile ok 02/06 14:31:58 Video .sig downloaded ok! 02/06 14:31:58 Snapshot .sig downloaded ok! 02/06 14:31:58 Elapsed download time: 00:00:01 02/06 14:31:58 UpdateVideoname 02/06 14:31:58 Updating: idalarmcra = 384239 02/06 14:31:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384239 ORDER BY IDALARMCRA DESC 02/06 14:31:58 Just before Update() 02/06 14:32:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:32:08 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:32:08 Alarms with pending videos found! 02/06 14:32:08 Next idalarmcra = 384240 02/06 14:32:08 DownloadVideos::DownloadVideoOfAlarm 02/06 14:32:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:32:08 SAM|1410 02/06 14:32:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143203_142.mp4|111166| 02/06 14:32:09 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143203_142.mp4 02/06 14:32:09 Date = 20190602 02/06 14:32:09 Construct from filename date 02/06 14:32:09 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143203_142.mp4 02/06 14:32:09 Destination file not found 02/06 14:32:09 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143203_142.mp4 02/06 14:32:09 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143203_142.mp4 02/06 14:32:09 DownloadFile ok... checking file destination 02/06 14:32:09 URLDownloadToFile ok 02/06 14:32:09 Video .sig downloaded ok! 02/06 14:32:09 Snapshot .sig downloaded ok! 02/06 14:32:09 Elapsed download time: 00:00:01 02/06 14:32:09 UpdateVideoname 02/06 14:32:09 Updating: idalarmcra = 384240 02/06 14:32:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384240 ORDER BY IDALARMCRA DESC 02/06 14:32:09 Just before Update() 02/06 14:32:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:32:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:32:19 Don't have work. 02/06 14:32:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:32:30 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:32:30 Alarms with pending videos found! 02/06 14:32:30 Next idalarmcra = 384241 02/06 14:32:30 DownloadVideos::DownloadVideoOfAlarm 02/06 14:32:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:32:30 SAM|1411 02/06 14:32:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:32:30 NOK answer received 02/06 14:32:30 UpdateVideoname 02/06 14:32:30 Updating: idalarmcra = 384241 02/06 14:32:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384241 ORDER BY IDALARMCRA DESC 02/06 14:32:30 Just before Update() 02/06 14:32:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:32:40 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:32:40 Alarms with pending videos found! 02/06 14:32:40 Next idalarmcra = 384241 02/06 14:32:40 DownloadVideos::DownloadVideoOfAlarm 02/06 14:32:40 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:32:40 SAM|1411 02/06 14:32:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143227_143.mp4|111458| 02/06 14:32:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143227_143.mp4 02/06 14:32:40 Date = 20190602 02/06 14:32:40 Construct from filename date 02/06 14:32:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143227_143.mp4 02/06 14:32:40 Destination file not found 02/06 14:32:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143227_143.mp4 02/06 14:32:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143227_143.mp4 02/06 14:32:40 DownloadFile ok... checking file destination 02/06 14:32:40 URLDownloadToFile ok 02/06 14:32:40 Video .sig downloaded ok! 02/06 14:32:41 Snapshot .sig downloaded ok! 02/06 14:32:41 Elapsed download time: 00:00:01 02/06 14:32:41 UpdateVideoname 02/06 14:32:41 Updating: idalarmcra = 384241 02/06 14:32:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384241 ORDER BY IDALARMCRA DESC 02/06 14:32:41 Just before Update() 02/06 14:32:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:32:51 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:32:51 Alarms with pending videos found! 02/06 14:32:51 Next idalarmcra = 384242 02/06 14:32:51 DownloadVideos::DownloadVideoOfAlarm 02/06 14:32:51 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:32:51 SAM|1412 02/06 14:32:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143241_144.mp4|114255| 02/06 14:32:51 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143241_144.mp4 02/06 14:32:51 Date = 20190602 02/06 14:32:51 Construct from filename date 02/06 14:32:51 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143241_144.mp4 02/06 14:32:51 Destination file not found 02/06 14:32:51 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143241_144.mp4 02/06 14:32:51 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143241_144.mp4 02/06 14:32:51 DownloadFile ok... checking file destination 02/06 14:32:51 URLDownloadToFile ok 02/06 14:32:51 Video .sig downloaded ok! 02/06 14:32:51 Snapshot .sig downloaded ok! 02/06 14:32:51 Elapsed download time: 00:00:00 02/06 14:32:51 UpdateVideoname 02/06 14:32:51 Updating: idalarmcra = 384242 02/06 14:32:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384242 ORDER BY IDALARMCRA DESC 02/06 14:32:51 Just before Update() 02/06 14:33:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:33:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:33:01 Don't have work. 02/06 14:33:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:33:11 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:33:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:33:22 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:33:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:33:32 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:33:32 Alarms with pending videos found! 02/06 14:33:32 Next idalarmcra = 384244 02/06 14:33:32 DownloadVideos::DownloadVideoOfAlarm 02/06 14:33:32 [D] Query(18ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 54 02/06 14:33:32 SAM|861 02/06 14:33:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_143352_5.mp4|112688| 02/06 14:33:34 FilenameSrc = 20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_143352_5.mp4 02/06 14:33:34 Date = 20190602 02/06 14:33:34 Construct from filename date 02/06 14:33:34 Destination: c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_143352_5.mp4 02/06 14:33:34 Destination file not found 02/06 14:33:34 http://78.189.92.233:21001/20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_143352_5.mp4 02/06 14:33:34 c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_143352_5.mp4 02/06 14:33:46 DownloadFile ok... checking file destination 02/06 14:33:46 URLDownloadToFile ok 02/06 14:33:48 Video .sig downloaded ok! 02/06 14:33:48 Snapshot .sig downloaded ok! 02/06 14:33:48 Elapsed download time: 00:00:16 02/06 14:33:48 UpdateVideoname 02/06 14:33:48 Updating: idalarmcra = 384244 02/06 14:33:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384244 ORDER BY IDALARMCRA DESC 02/06 14:33:48 Just before Update() 02/06 14:33:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:33:59 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:33:59 Don't have work. 02/06 14:34:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:34:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:34:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:34:19 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:34:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:34:29 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:34:39 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:34:39 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:34:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:34:49 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:34:49 Alarms with pending videos found! 02/06 14:34:49 Next idalarmcra = 384245 02/06 14:34:49 DownloadVideos::DownloadVideoOfAlarm 02/06 14:34:49 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:34:49 SAM|1413 02/06 14:34:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143437_145.mp4|111690| 02/06 14:34:49 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143437_145.mp4 02/06 14:34:49 Date = 20190602 02/06 14:34:49 Construct from filename date 02/06 14:34:49 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143437_145.mp4 02/06 14:34:49 Destination file not found 02/06 14:34:49 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143437_145.mp4 02/06 14:34:49 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143437_145.mp4 02/06 14:34:50 DownloadFile ok... checking file destination 02/06 14:34:50 URLDownloadToFile ok 02/06 14:34:50 Video .sig downloaded ok! 02/06 14:34:50 Snapshot .sig downloaded ok! 02/06 14:34:50 Elapsed download time: 00:00:01 02/06 14:34:50 UpdateVideoname 02/06 14:34:50 Updating: idalarmcra = 384245 02/06 14:34:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384245 ORDER BY IDALARMCRA DESC 02/06 14:34:50 Just before Update() 02/06 14:35:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:35:00 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:35:00 Alarms with pending videos found! 02/06 14:35:00 Next idalarmcra = 384246 02/06 14:35:00 DownloadVideos::DownloadVideoOfAlarm 02/06 14:35:00 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:35:00 SAM|1414 02/06 14:35:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143450_146.mp4|107920| 02/06 14:35:01 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143450_146.mp4 02/06 14:35:01 Date = 20190602 02/06 14:35:01 Construct from filename date 02/06 14:35:01 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143450_146.mp4 02/06 14:35:01 Destination file not found 02/06 14:35:01 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143450_146.mp4 02/06 14:35:01 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143450_146.mp4 02/06 14:35:01 DownloadFile ok... checking file destination 02/06 14:35:01 URLDownloadToFile ok 02/06 14:35:01 Video .sig downloaded ok! 02/06 14:35:01 Snapshot .sig downloaded ok! 02/06 14:35:01 Elapsed download time: 00:00:01 02/06 14:35:01 UpdateVideoname 02/06 14:35:01 Updating: idalarmcra = 384246 02/06 14:35:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384246 ORDER BY IDALARMCRA DESC 02/06 14:35:01 Just before Update() 02/06 14:35:11 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:35:11 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:35:11 Alarms with pending videos found! 02/06 14:35:11 Next idalarmcra = 384247 02/06 14:35:11 DownloadVideos::DownloadVideoOfAlarm 02/06 14:35:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:35:11 SAM|1415 02/06 14:35:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143500_140.mp4|97027| 02/06 14:35:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143500_140.mp4 02/06 14:35:11 Date = 20190602 02/06 14:35:11 Construct from filename date 02/06 14:35:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143500_140.mp4 02/06 14:35:11 Destination file not found 02/06 14:35:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143500_140.mp4 02/06 14:35:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143500_140.mp4 02/06 14:35:12 DownloadFile ok... checking file destination 02/06 14:35:12 URLDownloadToFile ok 02/06 14:35:12 Video .sig downloaded ok! 02/06 14:35:12 Snapshot .sig downloaded ok! 02/06 14:35:12 Elapsed download time: 00:00:01 02/06 14:35:12 UpdateVideoname 02/06 14:35:12 Updating: idalarmcra = 384247 02/06 14:35:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384247 ORDER BY IDALARMCRA DESC 02/06 14:35:12 Just before Update() 02/06 14:35:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:35:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:35:22 Don't have work. 02/06 14:35:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:35:32 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:35:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:35:42 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:35:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:35:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:36:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:36:02 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:36:02 Alarms with pending videos found! 02/06 14:36:02 Next idalarmcra = 384248 02/06 14:36:02 DownloadVideos::DownloadVideoOfAlarm 02/06 14:36:03 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:36:03 SAM|22967 02/06 14:36:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_143607_61.mp4|112476| 02/06 14:36:03 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_143607_61.mp4 02/06 14:36:03 Date = 20190602 02/06 14:36:03 Construct from filename date 02/06 14:36:03 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_143607_61.mp4 02/06 14:36:03 Destination file not found 02/06 14:36:03 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_143607_61.mp4 02/06 14:36:03 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_143607_61.mp4 02/06 14:36:04 DownloadFile ok... checking file destination 02/06 14:36:04 URLDownloadToFile ok 02/06 14:36:05 Video .sig downloaded ok! 02/06 14:36:05 Snapshot .sig downloaded ok! 02/06 14:36:05 Elapsed download time: 00:00:02 02/06 14:36:05 UpdateVideoname 02/06 14:36:05 Updating: idalarmcra = 384248 02/06 14:36:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384248 ORDER BY IDALARMCRA DESC 02/06 14:36:05 Just before Update() 02/06 14:36:15 [D] Query(22ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:36:15 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:36:15 Alarms with pending videos found! 02/06 14:36:15 Next idalarmcra = 384250 02/06 14:36:15 DownloadVideos::DownloadVideoOfAlarm 02/06 14:36:15 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:36:15 SAM|1133 02/06 14:36:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_143523_47.mp4|105209| 02/06 14:36:16 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_143523_47.mp4 02/06 14:36:16 Date = 20190602 02/06 14:36:16 Construct from filename date 02/06 14:36:16 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_143523_47.mp4 02/06 14:36:16 Destination file not found 02/06 14:36:16 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_143523_47.mp4 02/06 14:36:16 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_143523_47.mp4 02/06 14:36:16 DownloadFile ok... checking file destination 02/06 14:36:16 URLDownloadToFile ok 02/06 14:36:16 Video .sig downloaded ok! 02/06 14:36:17 Snapshot .sig downloaded ok! 02/06 14:36:17 Elapsed download time: 00:00:02 02/06 14:36:17 UpdateVideoname 02/06 14:36:17 Updating: idalarmcra = 384250 02/06 14:36:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384250 ORDER BY IDALARMCRA DESC 02/06 14:36:17 Just before Update() 02/06 14:36:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:36:27 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:36:27 Alarms with pending videos found! 02/06 14:36:27 Next idalarmcra = 384252 02/06 14:36:27 DownloadVideos::DownloadVideoOfAlarm 02/06 14:36:27 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:36:27 SAM|1417 02/06 14:36:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143618_147.mp4|118720| 02/06 14:36:27 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143618_147.mp4 02/06 14:36:27 Date = 20190602 02/06 14:36:27 Construct from filename date 02/06 14:36:27 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143618_147.mp4 02/06 14:36:27 Destination file not found 02/06 14:36:27 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143618_147.mp4 02/06 14:36:27 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143618_147.mp4 02/06 14:36:34 DownloadFile ok... checking file destination 02/06 14:36:34 URLDownloadToFile ok 02/06 14:36:34 Video .sig downloaded ok! 02/06 14:36:34 Snapshot .sig downloaded ok! 02/06 14:36:34 Elapsed download time: 00:00:07 02/06 14:36:34 UpdateVideoname 02/06 14:36:34 Updating: idalarmcra = 384252 02/06 14:36:34 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384252 ORDER BY IDALARMCRA DESC 02/06 14:36:34 Just before Update() 02/06 14:36:34 Next idalarmcra = 384251 02/06 14:36:34 DownloadVideos::DownloadVideoOfAlarm 02/06 14:36:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:36:34 SAM|1416 02/06 14:36:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_143615_61.mp4|113471| 02/06 14:36:35 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_143615_61.mp4 02/06 14:36:35 Date = 20190602 02/06 14:36:35 Construct from filename date 02/06 14:36:35 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_143615_61.mp4 02/06 14:36:35 Destination file not found 02/06 14:36:35 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_143615_61.mp4 02/06 14:36:35 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_143615_61.mp4 02/06 14:36:38 DownloadFile ok... checking file destination 02/06 14:36:38 URLDownloadToFile ok 02/06 14:36:38 Video .sig downloaded ok! 02/06 14:36:38 Snapshot .sig downloaded ok! 02/06 14:36:38 Elapsed download time: 00:00:04 02/06 14:36:39 UpdateVideoname 02/06 14:36:39 Updating: idalarmcra = 384251 02/06 14:36:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384251 ORDER BY IDALARMCRA DESC 02/06 14:36:39 Just before Update() 02/06 14:36:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:36:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:36:49 Don't have work. 02/06 14:36:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:36:59 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:36:59 Alarms with pending videos found! 02/06 14:36:59 Next idalarmcra = 384253 02/06 14:36:59 DownloadVideos::DownloadVideoOfAlarm 02/06 14:36:59 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:36:59 SAM|1418 02/06 14:36:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143650_141.mp4|103016| 02/06 14:36:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143650_141.mp4 02/06 14:36:59 Date = 20190602 02/06 14:36:59 Construct from filename date 02/06 14:36:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143650_141.mp4 02/06 14:36:59 Destination file not found 02/06 14:36:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143650_141.mp4 02/06 14:36:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143650_141.mp4 02/06 14:37:03 DownloadFile ok... checking file destination 02/06 14:37:03 URLDownloadToFile ok 02/06 14:37:03 Video .sig downloaded ok! 02/06 14:37:03 Snapshot .sig downloaded ok! 02/06 14:37:03 Elapsed download time: 00:00:04 02/06 14:37:03 UpdateVideoname 02/06 14:37:03 Updating: idalarmcra = 384253 02/06 14:37:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384253 ORDER BY IDALARMCRA DESC 02/06 14:37:03 Just before Update() 02/06 14:37:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:37:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:37:13 Don't have work. 02/06 14:37:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:37:23 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:37:23 Alarms with pending videos found! 02/06 14:37:23 Next idalarmcra = 384256 02/06 14:37:23 DownloadVideos::DownloadVideoOfAlarm 02/06 14:37:23 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:37:23 SAM|1420 02/06 14:37:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_143717_202.mp4|108577| 02/06 14:37:24 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_143717_202.mp4 02/06 14:37:24 Date = 20190602 02/06 14:37:24 Construct from filename date 02/06 14:37:24 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_143717_202.mp4 02/06 14:37:24 Destination file not found 02/06 14:37:24 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_143717_202.mp4 02/06 14:37:24 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_143717_202.mp4 02/06 14:37:27 DownloadFile ok... checking file destination 02/06 14:37:27 URLDownloadToFile ok 02/06 14:37:27 Video .sig downloaded ok! 02/06 14:37:27 Snapshot .sig downloaded ok! 02/06 14:37:27 Elapsed download time: 00:00:04 02/06 14:37:27 UpdateVideoname 02/06 14:37:27 Updating: idalarmcra = 384256 02/06 14:37:27 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384256 ORDER BY IDALARMCRA DESC 02/06 14:37:27 Just before Update() 02/06 14:37:27 Next idalarmcra = 384255 02/06 14:37:27 DownloadVideos::DownloadVideoOfAlarm 02/06 14:37:27 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:37:27 SAM|1419 02/06 14:37:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143711_148.mp4|112361| 02/06 14:37:27 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143711_148.mp4 02/06 14:37:27 Date = 20190602 02/06 14:37:27 Construct from filename date 02/06 14:37:27 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143711_148.mp4 02/06 14:37:27 Destination file not found 02/06 14:37:27 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143711_148.mp4 02/06 14:37:27 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143711_148.mp4 02/06 14:37:31 DownloadFile ok... checking file destination 02/06 14:37:31 URLDownloadToFile ok 02/06 14:37:31 Video .sig downloaded ok! 02/06 14:37:31 Snapshot .sig downloaded ok! 02/06 14:37:31 Elapsed download time: 00:00:04 02/06 14:37:32 UpdateVideoname 02/06 14:37:32 Updating: idalarmcra = 384255 02/06 14:37:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384255 ORDER BY IDALARMCRA DESC 02/06 14:37:32 Just before Update() 02/06 14:37:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:37:42 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:37:42 Alarms with pending videos found! 02/06 14:37:42 Next idalarmcra = 384257 02/06 14:37:42 DownloadVideos::DownloadVideoOfAlarm 02/06 14:37:42 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:37:42 SAM|1421 02/06 14:37:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143734_142.mp4|104772| 02/06 14:37:42 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143734_142.mp4 02/06 14:37:42 Date = 20190602 02/06 14:37:42 Construct from filename date 02/06 14:37:42 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143734_142.mp4 02/06 14:37:42 Destination file not found 02/06 14:37:42 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143734_142.mp4 02/06 14:37:42 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143734_142.mp4 02/06 14:37:45 DownloadFile ok... checking file destination 02/06 14:37:45 URLDownloadToFile ok 02/06 14:37:45 Video .sig downloaded ok! 02/06 14:37:45 Snapshot .sig downloaded ok! 02/06 14:37:45 Elapsed download time: 00:00:03 02/06 14:37:46 UpdateVideoname 02/06 14:37:46 Updating: idalarmcra = 384257 02/06 14:37:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384257 ORDER BY IDALARMCRA DESC 02/06 14:37:46 Just before Update() 02/06 14:37:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:37:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:37:56 Don't have work. 02/06 14:38:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:38:06 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:38:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:38:16 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:38:16 Alarms with pending videos found! 02/06 14:38:16 Next idalarmcra = 384258 02/06 14:38:16 DownloadVideos::DownloadVideoOfAlarm 02/06 14:38:16 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:38:16 SAM|4712 02/06 14:38:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_143936_152.mp4|112743| 02/06 14:38:16 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_143936_152.mp4 02/06 14:38:16 Date = 20190602 02/06 14:38:16 Construct from filename date 02/06 14:38:16 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_143936_152.mp4 02/06 14:38:16 Destination file not found 02/06 14:38:16 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_143936_152.mp4 02/06 14:38:16 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_143936_152.mp4 02/06 14:38:19 DownloadFile ok... checking file destination 02/06 14:38:19 URLDownloadToFile ok 02/06 14:38:19 Video .sig downloaded ok! 02/06 14:38:19 Snapshot .sig downloaded ok! 02/06 14:38:19 Elapsed download time: 00:00:03 02/06 14:38:19 UpdateVideoname 02/06 14:38:19 Updating: idalarmcra = 384258 02/06 14:38:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384258 ORDER BY IDALARMCRA DESC 02/06 14:38:19 Just before Update() 02/06 14:38:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:38:30 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:38:30 Alarms with pending videos found! 02/06 14:38:30 Next idalarmcra = 384262 02/06 14:38:30 DownloadVideos::DownloadVideoOfAlarm 02/06 14:38:30 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 14:38:30 SAM|163130 02/06 14:38:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_145112_35.mp4|109586| 02/06 14:38:30 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_145112_35.mp4 02/06 14:38:30 Date = 20190602 02/06 14:38:30 Construct from filename date 02/06 14:38:30 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_145112_35.mp4 02/06 14:38:30 Destination file not found 02/06 14:38:30 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_145112_35.mp4 02/06 14:38:30 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_145112_35.mp4 02/06 14:38:31 DownloadFile ok... checking file destination 02/06 14:38:31 URLDownloadToFile ok 02/06 14:38:32 Video .sig downloaded ok! 02/06 14:38:32 Snapshot .sig downloaded ok! 02/06 14:38:32 Elapsed download time: 00:00:02 02/06 14:38:32 UpdateVideoname 02/06 14:38:32 Updating: idalarmcra = 384262 02/06 14:38:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384262 ORDER BY IDALARMCRA DESC 02/06 14:38:32 Just before Update() 02/06 14:38:32 Next idalarmcra = 384261 02/06 14:38:32 DownloadVideos::DownloadVideoOfAlarm 02/06 14:38:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:38:32 SAM|1424 02/06 14:38:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143819_143.mp4|100076| 02/06 14:38:32 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143819_143.mp4 02/06 14:38:32 Date = 20190602 02/06 14:38:32 Construct from filename date 02/06 14:38:32 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143819_143.mp4 02/06 14:38:32 Destination file not found 02/06 14:38:32 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143819_143.mp4 02/06 14:38:32 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143819_143.mp4 02/06 14:38:36 DownloadFile ok... checking file destination 02/06 14:38:36 URLDownloadToFile ok 02/06 14:38:36 Video .sig downloaded ok! 02/06 14:38:36 Snapshot .sig downloaded ok! 02/06 14:38:36 Elapsed download time: 00:00:04 02/06 14:38:36 UpdateVideoname 02/06 14:38:36 Updating: idalarmcra = 384261 02/06 14:38:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384261 ORDER BY IDALARMCRA DESC 02/06 14:38:36 Just before Update() 02/06 14:38:36 Next idalarmcra = 384260 02/06 14:38:36 DownloadVideos::DownloadVideoOfAlarm 02/06 14:38:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:38:36 SAM|1423 02/06 14:38:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143815_149.mp4|105657| 02/06 14:38:37 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143815_149.mp4 02/06 14:38:37 Date = 20190602 02/06 14:38:37 Construct from filename date 02/06 14:38:37 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143815_149.mp4 02/06 14:38:37 Destination file not found 02/06 14:38:37 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143815_149.mp4 02/06 14:38:37 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143815_149.mp4 02/06 14:38:39 DownloadFile ok... checking file destination 02/06 14:38:39 URLDownloadToFile ok 02/06 14:38:39 Video .sig downloaded ok! 02/06 14:38:40 Snapshot .sig downloaded ok! 02/06 14:38:40 Elapsed download time: 00:00:04 02/06 14:38:40 UpdateVideoname 02/06 14:38:40 Updating: idalarmcra = 384260 02/06 14:38:40 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384260 ORDER BY IDALARMCRA DESC 02/06 14:38:40 Rollback executed. 02/06 14:38:40 RecordSet closed. 02/06 14:38:40 CheckDDBB 02/06 14:38:40 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:38:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:38:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:38:50 Don't have work. 02/06 14:39:00 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:39:00 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:39:10 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:39:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:39:20 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:39:20 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:39:20 Alarms with pending videos found! 02/06 14:39:20 Next idalarmcra = 384263 02/06 14:39:20 DownloadVideos::DownloadVideoOfAlarm 02/06 14:39:20 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:39:20 SAM|1425 02/06 14:39:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_143904_204.mp4|98094| 02/06 14:39:20 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_143904_204.mp4 02/06 14:39:20 Date = 20190602 02/06 14:39:20 Construct from filename date 02/06 14:39:20 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_143904_204.mp4 02/06 14:39:20 Destination file not found 02/06 14:39:20 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_143904_204.mp4 02/06 14:39:20 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_143904_204.mp4 02/06 14:39:23 DownloadFile ok... checking file destination 02/06 14:39:23 URLDownloadToFile ok 02/06 14:39:23 Video .sig downloaded ok! 02/06 14:39:23 Snapshot .sig downloaded ok! 02/06 14:39:23 Elapsed download time: 00:00:03 02/06 14:39:23 UpdateVideoname 02/06 14:39:23 Updating: idalarmcra = 384263 02/06 14:39:23 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384263 ORDER BY IDALARMCRA DESC 02/06 14:39:23 Just before Update() 02/06 14:39:33 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:39:33 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:39:33 Alarms with pending videos found! 02/06 14:39:33 Next idalarmcra = 384264 02/06 14:39:33 DownloadVideos::DownloadVideoOfAlarm 02/06 14:39:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:39:33 SAM|1426 02/06 14:39:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143925_144.mp4|104669| 02/06 14:39:34 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143925_144.mp4 02/06 14:39:34 Date = 20190602 02/06 14:39:34 Construct from filename date 02/06 14:39:34 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143925_144.mp4 02/06 14:39:34 Destination file not found 02/06 14:39:34 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143925_144.mp4 02/06 14:39:34 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_143925_144.mp4 02/06 14:39:37 DownloadFile ok... checking file destination 02/06 14:39:37 URLDownloadToFile ok 02/06 14:39:37 Video .sig downloaded ok! 02/06 14:39:37 Snapshot .sig downloaded ok! 02/06 14:39:37 Elapsed download time: 00:00:04 02/06 14:39:37 UpdateVideoname 02/06 14:39:37 Updating: idalarmcra = 384264 02/06 14:39:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384264 ORDER BY IDALARMCRA DESC 02/06 14:39:37 Just before Update() 02/06 14:39:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:39:47 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:39:47 Alarms with pending videos found! 02/06 14:39:47 Next idalarmcra = 384266 02/06 14:39:47 DownloadVideos::DownloadVideoOfAlarm 02/06 14:39:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:39:47 SAM|1427 02/06 14:39:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143938_150.mp4|111981| 02/06 14:39:48 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143938_150.mp4 02/06 14:39:48 Date = 20190602 02/06 14:39:48 Construct from filename date 02/06 14:39:48 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143938_150.mp4 02/06 14:39:48 Destination file not found 02/06 14:39:48 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143938_150.mp4 02/06 14:39:48 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_143938_150.mp4 02/06 14:39:51 DownloadFile ok... checking file destination 02/06 14:39:51 URLDownloadToFile ok 02/06 14:39:51 Video .sig downloaded ok! 02/06 14:39:51 Snapshot .sig downloaded ok! 02/06 14:39:51 Elapsed download time: 00:00:04 02/06 14:39:51 UpdateVideoname 02/06 14:39:51 Updating: idalarmcra = 384266 02/06 14:39:51 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384266 ORDER BY IDALARMCRA DESC 02/06 14:39:51 Rollback executed. 02/06 14:39:51 RecordSet closed. 02/06 14:39:51 CheckDDBB 02/06 14:39:51 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:40:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:40:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:40:01 Don't have work. 02/06 14:40:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:40:11 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:40:11 Alarms with pending videos found! 02/06 14:40:11 Next idalarmcra = 384267 02/06 14:40:11 DownloadVideos::DownloadVideoOfAlarm 02/06 14:40:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:40:11 SAM|1429 02/06 14:40:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:40:12 NOK answer received 02/06 14:40:12 UpdateVideoname 02/06 14:40:12 Updating: idalarmcra = 384267 02/06 14:40:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384267 ORDER BY IDALARMCRA DESC 02/06 14:40:12 Just before Update() 02/06 14:40:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:40:22 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:40:22 Alarms with pending videos found! 02/06 14:40:22 Next idalarmcra = 384268 02/06 14:40:22 DownloadVideos::DownloadVideoOfAlarm 02/06 14:40:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:40:22 SAM|22968 02/06 14:40:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_144029_62.mp4|114235| 02/06 14:40:22 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_144029_62.mp4 02/06 14:40:22 Date = 20190602 02/06 14:40:22 Construct from filename date 02/06 14:40:22 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_144029_62.mp4 02/06 14:40:22 Destination file not found 02/06 14:40:22 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_144029_62.mp4 02/06 14:40:22 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_144029_62.mp4 02/06 14:40:24 DownloadFile ok... checking file destination 02/06 14:40:24 URLDownloadToFile ok 02/06 14:40:24 Video .sig downloaded ok! 02/06 14:40:25 Snapshot .sig downloaded ok! 02/06 14:40:25 Elapsed download time: 00:00:03 02/06 14:40:25 UpdateVideoname 02/06 14:40:25 Updating: idalarmcra = 384268 02/06 14:40:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384268 ORDER BY IDALARMCRA DESC 02/06 14:40:25 Just before Update() 02/06 14:40:25 Next idalarmcra = 384267 02/06 14:40:25 DownloadVideos::DownloadVideoOfAlarm 02/06 14:40:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:40:25 SAM|1429 02/06 14:40:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144008_206.mp4|106143| 02/06 14:40:25 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144008_206.mp4 02/06 14:40:25 Date = 20190602 02/06 14:40:25 Construct from filename date 02/06 14:40:25 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144008_206.mp4 02/06 14:40:25 Destination file not found 02/06 14:40:25 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144008_206.mp4 02/06 14:40:25 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144008_206.mp4 02/06 14:40:27 DownloadFile ok... checking file destination 02/06 14:40:27 URLDownloadToFile ok 02/06 14:40:27 Video .sig downloaded ok! 02/06 14:40:27 Snapshot .sig downloaded ok! 02/06 14:40:27 Elapsed download time: 00:00:02 02/06 14:40:27 UpdateVideoname 02/06 14:40:27 Updating: idalarmcra = 384267 02/06 14:40:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384267 ORDER BY IDALARMCRA DESC 02/06 14:40:27 Just before Update() 02/06 14:40:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:40:38 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:40:38 Alarms with pending videos found! 02/06 14:40:38 Next idalarmcra = 384271 02/06 14:40:38 DownloadVideos::DownloadVideoOfAlarm 02/06 14:40:38 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:40:38 SAM|1432 02/06 14:40:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:40:38 NOK answer received 02/06 14:40:38 UpdateVideoname 02/06 14:40:38 Updating: idalarmcra = 384271 02/06 14:40:38 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384271 ORDER BY IDALARMCRA DESC 02/06 14:40:38 Just before Update() 02/06 14:40:38 Next idalarmcra = 384270 02/06 14:40:38 DownloadVideos::DownloadVideoOfAlarm 02/06 14:40:38 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:40:38 SAM|1431 02/06 14:40:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144026_207.mp4|113193| 02/06 14:40:38 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144026_207.mp4 02/06 14:40:38 Date = 20190602 02/06 14:40:38 Construct from filename date 02/06 14:40:38 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144026_207.mp4 02/06 14:40:38 Destination file not found 02/06 14:40:38 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144026_207.mp4 02/06 14:40:38 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144026_207.mp4 02/06 14:40:41 DownloadFile ok... checking file destination 02/06 14:40:41 URLDownloadToFile ok 02/06 14:40:42 Video .sig downloaded ok! 02/06 14:40:42 Snapshot .sig downloaded ok! 02/06 14:40:42 Elapsed download time: 00:00:04 02/06 14:40:42 UpdateVideoname 02/06 14:40:42 Updating: idalarmcra = 384270 02/06 14:40:42 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384270 ORDER BY IDALARMCRA DESC 02/06 14:40:42 Rollback executed. 02/06 14:40:42 RecordSet closed. 02/06 14:40:42 CheckDDBB 02/06 14:40:42 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:40:52 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:40:52 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:40:52 Alarms with pending videos found! 02/06 14:40:52 Next idalarmcra = 384272 02/06 14:40:52 DownloadVideos::DownloadVideoOfAlarm 02/06 14:40:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:40:52 SAM|1134 02/06 14:40:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_143956_430.mp4|110335| 02/06 14:40:53 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_143956_430.mp4 02/06 14:40:53 Date = 20190602 02/06 14:40:53 Construct from filename date 02/06 14:40:53 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_143956_430.mp4 02/06 14:40:53 Destination file not found 02/06 14:40:53 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_143956_430.mp4 02/06 14:40:53 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_143956_430.mp4 02/06 14:40:55 DownloadFile ok... checking file destination 02/06 14:40:55 URLDownloadToFile ok 02/06 14:40:56 Video .sig downloaded ok! 02/06 14:40:56 Snapshot .sig downloaded ok! 02/06 14:40:56 Elapsed download time: 00:00:04 02/06 14:40:56 UpdateVideoname 02/06 14:40:56 Updating: idalarmcra = 384272 02/06 14:40:56 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384272 ORDER BY IDALARMCRA DESC 02/06 14:40:56 Just before Update() 02/06 14:41:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:41:06 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:41:06 Alarms with pending videos found! 02/06 14:41:06 Next idalarmcra = 384277 02/06 14:41:06 DownloadVideos::DownloadVideoOfAlarm 02/06 14:41:06 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:41:06 SAM|1435 02/06 14:41:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:41:06 NOK answer received 02/06 14:41:06 UpdateVideoname 02/06 14:41:06 Updating: idalarmcra = 384277 02/06 14:41:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384277 ORDER BY IDALARMCRA DESC 02/06 14:41:06 Just before Update() 02/06 14:41:06 Next idalarmcra = 384276 02/06 14:41:06 DownloadVideos::DownloadVideoOfAlarm 02/06 14:41:06 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:41:06 SAM|1434 02/06 14:41:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:41:07 NOK answer received 02/06 14:41:07 UpdateVideoname 02/06 14:41:07 Updating: idalarmcra = 384276 02/06 14:41:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384276 ORDER BY IDALARMCRA DESC 02/06 14:41:07 Just before Update() 02/06 14:41:07 Next idalarmcra = 384275 02/06 14:41:07 DownloadVideos::DownloadVideoOfAlarm 02/06 14:41:07 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 46 02/06 14:41:07 SAM|872 02/06 14:41:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteUSAK_DGS_VA_B_Cam2_Event2_20190602_144101_3.mp4|97644| 02/06 14:41:08 FilenameSrc = 20190602\\SiteUSAK_DGS_VA_B_Cam2_Event2_20190602_144101_3.mp4 02/06 14:41:08 Date = 20190602 02/06 14:41:08 Construct from filename date 02/06 14:41:08 Destination: c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam2_Event2_20190602_144101_3.mp4 02/06 14:41:08 Destination file not found 02/06 14:41:08 http://5.26.219.116:21001/20190602\\SiteUSAK_DGS_VA_B_Cam2_Event2_20190602_144101_3.mp4 02/06 14:41:08 c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam2_Event2_20190602_144101_3.mp4 02/06 14:41:08 DownloadFile ok... checking file destination 02/06 14:41:08 URLDownloadToFile ok 02/06 14:41:12 Video .sig downloaded ok! 02/06 14:41:12 Snapshot .sig downloaded ok! 02/06 14:41:12 Elapsed download time: 00:00:05 02/06 14:41:12 UpdateVideoname 02/06 14:41:12 Updating: idalarmcra = 384275 02/06 14:41:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384275 ORDER BY IDALARMCRA DESC 02/06 14:41:12 Just before Update() 02/06 14:41:12 Next idalarmcra = 384274 02/06 14:41:12 DownloadVideos::DownloadVideoOfAlarm 02/06 14:41:12 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:41:12 SAM|1433 02/06 14:41:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144054_151.mp4|105043| 02/06 14:41:12 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144054_151.mp4 02/06 14:41:12 Date = 20190602 02/06 14:41:12 Construct from filename date 02/06 14:41:12 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144054_151.mp4 02/06 14:41:12 Destination file not found 02/06 14:41:12 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144054_151.mp4 02/06 14:41:12 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144054_151.mp4 02/06 14:41:15 DownloadFile ok... checking file destination 02/06 14:41:15 URLDownloadToFile ok 02/06 14:41:15 Video .sig downloaded ok! 02/06 14:41:15 Snapshot .sig downloaded ok! 02/06 14:41:15 Elapsed download time: 00:00:03 02/06 14:41:15 UpdateVideoname 02/06 14:41:15 Updating: idalarmcra = 384274 02/06 14:41:15 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384274 ORDER BY IDALARMCRA DESC 02/06 14:41:15 Rollback executed. 02/06 14:41:15 RecordSet closed. 02/06 14:41:15 CheckDDBB 02/06 14:41:15 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:41:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:41:25 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:41:25 Alarms with pending videos found! 02/06 14:41:25 Next idalarmcra = 384279 02/06 14:41:25 DownloadVideos::DownloadVideoOfAlarm 02/06 14:41:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:41:25 SAM|1436 02/06 14:41:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:41:25 NOK answer received 02/06 14:41:25 UpdateVideoname 02/06 14:41:25 Updating: idalarmcra = 384279 02/06 14:41:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384279 ORDER BY IDALARMCRA DESC 02/06 14:41:25 Just before Update() 02/06 14:41:25 Next idalarmcra = 384278 02/06 14:41:25 DownloadVideos::DownloadVideoOfAlarm 02/06 14:41:25 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:41:25 SAM|1135 02/06 14:41:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_144021_48.mp4|110500| 02/06 14:41:26 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_144021_48.mp4 02/06 14:41:26 Date = 20190602 02/06 14:41:26 Construct from filename date 02/06 14:41:26 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_144021_48.mp4 02/06 14:41:26 Destination file not found 02/06 14:41:26 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_144021_48.mp4 02/06 14:41:26 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_144021_48.mp4 02/06 14:41:29 DownloadFile ok... checking file destination 02/06 14:41:29 URLDownloadToFile ok 02/06 14:41:29 Video .sig downloaded ok! 02/06 14:41:29 Snapshot .sig downloaded ok! 02/06 14:41:29 Elapsed download time: 00:00:04 02/06 14:41:29 UpdateVideoname 02/06 14:41:29 Updating: idalarmcra = 384278 02/06 14:41:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384278 ORDER BY IDALARMCRA DESC 02/06 14:41:29 Just before Update() 02/06 14:41:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:41:40 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:41:40 Alarms with pending videos found! 02/06 14:41:40 Next idalarmcra = 384280 02/06 14:41:40 DownloadVideos::DownloadVideoOfAlarm 02/06 14:41:40 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:41:40 SAM|1437 02/06 14:41:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144123_208.mp4|113089| 02/06 14:41:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144123_208.mp4 02/06 14:41:40 Date = 20190602 02/06 14:41:40 Construct from filename date 02/06 14:41:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144123_208.mp4 02/06 14:41:40 Destination file not found 02/06 14:41:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144123_208.mp4 02/06 14:41:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144123_208.mp4 02/06 14:41:44 DownloadFile ok... checking file destination 02/06 14:41:44 URLDownloadToFile ok 02/06 14:41:44 Video .sig downloaded ok! 02/06 14:41:44 Snapshot .sig downloaded ok! 02/06 14:41:44 Elapsed download time: 00:00:04 02/06 14:41:44 UpdateVideoname 02/06 14:41:44 Updating: idalarmcra = 384280 02/06 14:41:44 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384280 ORDER BY IDALARMCRA DESC 02/06 14:41:44 Rollback executed. 02/06 14:41:44 RecordSet closed. 02/06 14:41:44 CheckDDBB 02/06 14:41:44 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:41:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:41:54 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:41:54 Alarms with pending videos found! 02/06 14:41:54 Next idalarmcra = 384281 02/06 14:41:54 DownloadVideos::DownloadVideoOfAlarm 02/06 14:41:54 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:41:54 SAM|1438 02/06 14:41:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_144141_147.mp4|100286| 02/06 14:41:54 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_144141_147.mp4 02/06 14:41:54 Date = 20190602 02/06 14:41:54 Construct from filename date 02/06 14:41:54 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_144141_147.mp4 02/06 14:41:54 Destination file not found 02/06 14:41:54 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_144141_147.mp4 02/06 14:41:54 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_144141_147.mp4 02/06 14:41:58 DownloadFile ok... checking file destination 02/06 14:41:58 URLDownloadToFile ok 02/06 14:41:58 Video .sig downloaded ok! 02/06 14:41:58 Snapshot .sig downloaded ok! 02/06 14:41:58 Elapsed download time: 00:00:04 02/06 14:41:58 UpdateVideoname 02/06 14:41:58 Updating: idalarmcra = 384281 02/06 14:41:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384281 ORDER BY IDALARMCRA DESC 02/06 14:41:58 Just before Update() 02/06 14:42:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:42:08 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:42:08 Alarms with pending videos found! 02/06 14:42:08 Next idalarmcra = 384282 02/06 14:42:08 DownloadVideos::DownloadVideoOfAlarm 02/06 14:42:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:42:08 SAM|1439 02/06 14:42:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144157_209.mp4|105632| 02/06 14:42:09 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144157_209.mp4 02/06 14:42:09 Date = 20190602 02/06 14:42:09 Construct from filename date 02/06 14:42:09 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144157_209.mp4 02/06 14:42:09 Destination file not found 02/06 14:42:09 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144157_209.mp4 02/06 14:42:09 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_144157_209.mp4 02/06 14:42:12 DownloadFile ok... checking file destination 02/06 14:42:12 URLDownloadToFile ok 02/06 14:42:12 Video .sig downloaded ok! 02/06 14:42:12 Snapshot .sig downloaded ok! 02/06 14:42:12 Elapsed download time: 00:00:04 02/06 14:42:12 UpdateVideoname 02/06 14:42:12 Updating: idalarmcra = 384282 02/06 14:42:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384282 ORDER BY IDALARMCRA DESC 02/06 14:42:12 Just before Update() 02/06 14:42:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:42:22 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:42:22 Alarms with pending videos found! 02/06 14:42:22 Next idalarmcra = 384283 02/06 14:42:22 DownloadVideos::DownloadVideoOfAlarm 02/06 14:42:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:42:22 SAM|1440 02/06 14:42:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144214_154.mp4|99580| 02/06 14:42:23 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144214_154.mp4 02/06 14:42:23 Date = 20190602 02/06 14:42:23 Construct from filename date 02/06 14:42:23 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144214_154.mp4 02/06 14:42:23 Destination file not found 02/06 14:42:23 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144214_154.mp4 02/06 14:42:23 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144214_154.mp4 02/06 14:42:26 DownloadFile ok... checking file destination 02/06 14:42:26 URLDownloadToFile ok 02/06 14:42:26 Video .sig downloaded ok! 02/06 14:42:26 Snapshot .sig downloaded ok! 02/06 14:42:26 Elapsed download time: 00:00:04 02/06 14:42:26 UpdateVideoname 02/06 14:42:26 Updating: idalarmcra = 384283 02/06 14:42:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384283 ORDER BY IDALARMCRA DESC 02/06 14:42:26 Just before Update() 02/06 14:42:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:42:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:42:36 Don't have work. 02/06 14:42:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:42:46 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:42:46 Alarms with pending videos found! 02/06 14:42:46 Next idalarmcra = 384284 02/06 14:42:46 DownloadVideos::DownloadVideoOfAlarm 02/06 14:42:46 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:42:46 SAM|1441 02/06 14:42:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_144238_148.mp4|106028| 02/06 14:42:46 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_144238_148.mp4 02/06 14:42:46 Date = 20190602 02/06 14:42:46 Construct from filename date 02/06 14:42:46 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_144238_148.mp4 02/06 14:42:46 Destination file not found 02/06 14:42:46 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_144238_148.mp4 02/06 14:42:46 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_144238_148.mp4 02/06 14:42:50 DownloadFile ok... checking file destination 02/06 14:42:50 URLDownloadToFile ok 02/06 14:42:50 Video .sig downloaded ok! 02/06 14:42:50 Snapshot .sig downloaded ok! 02/06 14:42:50 Elapsed download time: 00:00:04 02/06 14:42:50 UpdateVideoname 02/06 14:42:50 Updating: idalarmcra = 384284 02/06 14:42:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384284 ORDER BY IDALARMCRA DESC 02/06 14:42:50 Just before Update() 02/06 14:43:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:43:00 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:43:00 Alarms with pending videos found! 02/06 14:43:00 Next idalarmcra = 384285 02/06 14:43:00 DownloadVideos::DownloadVideoOfAlarm 02/06 14:43:00 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:43:00 SAM|1442 02/06 14:43:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144251_155.mp4|109102| 02/06 14:43:00 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144251_155.mp4 02/06 14:43:00 Date = 20190602 02/06 14:43:00 Construct from filename date 02/06 14:43:00 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144251_155.mp4 02/06 14:43:00 Destination file not found 02/06 14:43:00 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144251_155.mp4 02/06 14:43:00 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144251_155.mp4 02/06 14:43:03 DownloadFile ok... checking file destination 02/06 14:43:03 URLDownloadToFile ok 02/06 14:43:03 Video .sig downloaded ok! 02/06 14:43:03 Snapshot .sig downloaded ok! 02/06 14:43:03 Elapsed download time: 00:00:03 02/06 14:43:03 UpdateVideoname 02/06 14:43:03 Updating: idalarmcra = 384285 02/06 14:43:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384285 ORDER BY IDALARMCRA DESC 02/06 14:43:03 Just before Update() 02/06 14:43:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:43:13 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:43:13 Don't have work. 02/06 14:43:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:43:23 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:43:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:43:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:43:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:43:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:43:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:43:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:44:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:44:04 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:44:04 Alarms with pending videos found! 02/06 14:44:04 Next idalarmcra = 384286 02/06 14:44:04 DownloadVideos::DownloadVideoOfAlarm 02/06 14:44:04 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:44:04 SAM|1443 02/06 14:44:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144358_156.mp4|109567| 02/06 14:44:04 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144358_156.mp4 02/06 14:44:04 Date = 20190602 02/06 14:44:04 Construct from filename date 02/06 14:44:04 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144358_156.mp4 02/06 14:44:04 Destination file not found 02/06 14:44:04 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144358_156.mp4 02/06 14:44:04 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144358_156.mp4 02/06 14:44:08 DownloadFile ok... checking file destination 02/06 14:44:08 URLDownloadToFile ok 02/06 14:44:08 Video .sig downloaded ok! 02/06 14:44:08 Snapshot .sig downloaded ok! 02/06 14:44:08 Elapsed download time: 00:00:04 02/06 14:44:08 UpdateVideoname 02/06 14:44:08 Updating: idalarmcra = 384286 02/06 14:44:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384286 ORDER BY IDALARMCRA DESC 02/06 14:44:08 Just before Update() 02/06 14:44:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:44:18 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:44:18 Alarms with pending videos found! 02/06 14:44:18 Next idalarmcra = 384287 02/06 14:44:18 DownloadVideos::DownloadVideoOfAlarm 02/06 14:44:18 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:44:18 SAM|1444 02/06 14:44:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144412_157.mp4|113048| 02/06 14:44:19 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144412_157.mp4 02/06 14:44:19 Date = 20190602 02/06 14:44:19 Construct from filename date 02/06 14:44:19 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144412_157.mp4 02/06 14:44:19 Destination file not found 02/06 14:44:19 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144412_157.mp4 02/06 14:44:19 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144412_157.mp4 02/06 14:44:22 DownloadFile ok... checking file destination 02/06 14:44:22 URLDownloadToFile ok 02/06 14:44:22 Video .sig downloaded ok! 02/06 14:44:22 Snapshot .sig downloaded ok! 02/06 14:44:22 Elapsed download time: 00:00:04 02/06 14:44:22 UpdateVideoname 02/06 14:44:22 Updating: idalarmcra = 384287 02/06 14:44:22 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384287 ORDER BY IDALARMCRA DESC 02/06 14:44:22 Just before Update() 02/06 14:44:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:44:32 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:44:32 Don't have work. 02/06 14:44:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:44:42 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:44:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:44:52 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:45:02 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:45:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:45:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:45:12 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:45:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:45:23 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:45:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:45:33 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:45:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:45:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:45:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:45:53 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:45:53 Alarms with pending videos found! 02/06 14:45:53 Next idalarmcra = 384289 02/06 14:45:53 DownloadVideos::DownloadVideoOfAlarm 02/06 14:45:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:45:53 SAM|1445 02/06 14:45:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:45:53 NOK answer received 02/06 14:45:53 UpdateVideoname 02/06 14:45:53 Updating: idalarmcra = 384289 02/06 14:45:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384289 ORDER BY IDALARMCRA DESC 02/06 14:45:53 Just before Update() 02/06 14:45:53 Next idalarmcra = 384288 02/06 14:45:53 DownloadVideos::DownloadVideoOfAlarm 02/06 14:45:53 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 14:45:53 SAM|163131 02/06 14:45:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:45:54 NOK answer received 02/06 14:45:54 UpdateVideoname 02/06 14:45:54 Updating: idalarmcra = 384288 02/06 14:45:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384288 ORDER BY IDALARMCRA DESC 02/06 14:45:54 Just before Update() 02/06 14:46:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:46:04 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:46:04 Alarms with pending videos found! 02/06 14:46:04 Next idalarmcra = 384290 02/06 14:46:04 DownloadVideos::DownloadVideoOfAlarm 02/06 14:46:04 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 14:46:04 SAM|163132 02/06 14:46:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_145843_99.mp4|115119| 02/06 14:46:04 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_145843_99.mp4 02/06 14:46:04 Date = 20190602 02/06 14:46:04 Construct from filename date 02/06 14:46:04 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_145843_99.mp4 02/06 14:46:04 Destination file not found 02/06 14:46:04 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_145843_99.mp4 02/06 14:46:04 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_145843_99.mp4 02/06 14:46:05 DownloadFile ok... checking file destination 02/06 14:46:05 URLDownloadToFile ok 02/06 14:46:05 Video .sig downloaded ok! 02/06 14:46:06 Snapshot .sig downloaded ok! 02/06 14:46:06 Elapsed download time: 00:00:02 02/06 14:46:06 UpdateVideoname 02/06 14:46:06 Updating: idalarmcra = 384290 02/06 14:46:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384290 ORDER BY IDALARMCRA DESC 02/06 14:46:06 Just before Update() 02/06 14:46:06 Next idalarmcra = 384288 02/06 14:46:06 DownloadVideos::DownloadVideoOfAlarm 02/06 14:46:06 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 14:46:06 SAM|163131 02/06 14:46:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_145836_36.mp4|117205| 02/06 14:46:06 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_145836_36.mp4 02/06 14:46:06 Date = 20190602 02/06 14:46:06 Construct from filename date 02/06 14:46:06 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_145836_36.mp4 02/06 14:46:06 Destination file not found 02/06 14:46:06 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_145836_36.mp4 02/06 14:46:06 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_145836_36.mp4 02/06 14:46:07 DownloadFile ok... checking file destination 02/06 14:46:07 URLDownloadToFile ok 02/06 14:46:07 Video .sig downloaded ok! 02/06 14:46:07 Snapshot .sig downloaded ok! 02/06 14:46:07 Elapsed download time: 00:00:01 02/06 14:46:08 UpdateVideoname 02/06 14:46:08 Updating: idalarmcra = 384288 02/06 14:46:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384288 ORDER BY IDALARMCRA DESC 02/06 14:46:08 Just before Update() 02/06 14:46:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:46:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:46:18 Don't have work. 02/06 14:46:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:46:28 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:46:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:46:38 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:46:38 Alarms with pending videos found! 02/06 14:46:38 Next idalarmcra = 384291 02/06 14:46:38 DownloadVideos::DownloadVideoOfAlarm 02/06 14:46:38 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:46:38 SAM|4714 02/06 14:46:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_144758_154.mp4|115077| 02/06 14:46:38 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_144758_154.mp4 02/06 14:46:38 Date = 20190602 02/06 14:46:38 Construct from filename date 02/06 14:46:38 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_144758_154.mp4 02/06 14:46:38 Destination file not found 02/06 14:46:38 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_144758_154.mp4 02/06 14:46:38 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_144758_154.mp4 02/06 14:46:40 DownloadFile ok... checking file destination 02/06 14:46:40 URLDownloadToFile ok 02/06 14:46:41 Video .sig downloaded ok! 02/06 14:46:41 Snapshot .sig downloaded ok! 02/06 14:46:41 Elapsed download time: 00:00:03 02/06 14:46:41 UpdateVideoname 02/06 14:46:41 Updating: idalarmcra = 384291 02/06 14:46:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384291 ORDER BY IDALARMCRA DESC 02/06 14:46:41 Just before Update() 02/06 14:46:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:46:51 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:46:51 Don't have work. 02/06 14:47:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:47:01 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:47:01 Alarms with pending videos found! 02/06 14:47:01 Next idalarmcra = 384292 02/06 14:47:01 DownloadVideos::DownloadVideoOfAlarm 02/06 14:47:01 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:47:01 SAM|1446 02/06 14:47:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144656_158.mp4|112627| 02/06 14:47:01 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144656_158.mp4 02/06 14:47:01 Date = 20190602 02/06 14:47:01 Construct from filename date 02/06 14:47:01 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144656_158.mp4 02/06 14:47:01 Destination file not found 02/06 14:47:01 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144656_158.mp4 02/06 14:47:01 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144656_158.mp4 02/06 14:47:02 DownloadFile ok... checking file destination 02/06 14:47:02 URLDownloadToFile ok 02/06 14:47:02 Video .sig downloaded ok! 02/06 14:47:02 Snapshot .sig downloaded ok! 02/06 14:47:02 Elapsed download time: 00:00:01 02/06 14:47:02 UpdateVideoname 02/06 14:47:02 Updating: idalarmcra = 384292 02/06 14:47:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384292 ORDER BY IDALARMCRA DESC 02/06 14:47:02 Just before Update() 02/06 14:47:12 [D] Query(2ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:47:12 [D] Query(11ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:47:12 Don't have work. 02/06 14:47:22 [D] Query(2ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:47:22 [D] Query(7ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:47:32 [D] Query(3ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:47:32 [D] Query(16ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:47:32 Alarms with pending videos found! 02/06 14:47:32 Next idalarmcra = 384294 02/06 14:47:32 DownloadVideos::DownloadVideoOfAlarm 02/06 14:47:32 [D] Query(9ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:47:32 SAM|1447 02/06 14:47:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144719_159.mp4|108197| 02/06 14:47:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144719_159.mp4 02/06 14:47:33 Date = 20190602 02/06 14:47:33 Construct from filename date 02/06 14:47:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144719_159.mp4 02/06 14:47:33 Destination file not found 02/06 14:47:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144719_159.mp4 02/06 14:47:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144719_159.mp4 02/06 14:47:33 DownloadFile ok... checking file destination 02/06 14:47:33 URLDownloadToFile ok 02/06 14:47:33 Video .sig downloaded ok! 02/06 14:47:33 Snapshot .sig downloaded ok! 02/06 14:47:33 Elapsed download time: 00:00:01 02/06 14:47:33 UpdateVideoname 02/06 14:47:33 Updating: idalarmcra = 384294 02/06 14:47:33 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384294 ORDER BY IDALARMCRA DESC 02/06 14:47:33 Just before Update() 02/06 14:47:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:47:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:47:43 Don't have work. 02/06 14:47:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:47:53 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:48:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:48:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:48:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:48:14 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:48:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:48:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:48:34 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:48:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:48:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:48:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:48:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:48:54 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:49:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:49:04 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:49:04 Alarms with pending videos found! 02/06 14:49:04 Next idalarmcra = 384295 02/06 14:49:04 DownloadVideos::DownloadVideoOfAlarm 02/06 14:49:04 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:49:04 SAM|1448 02/06 14:49:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144856_160.mp4|105526| 02/06 14:49:04 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144856_160.mp4 02/06 14:49:04 Date = 20190602 02/06 14:49:04 Construct from filename date 02/06 14:49:04 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144856_160.mp4 02/06 14:49:04 Destination file not found 02/06 14:49:04 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144856_160.mp4 02/06 14:49:04 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_144856_160.mp4 02/06 14:49:07 DownloadFile ok... checking file destination 02/06 14:49:07 URLDownloadToFile ok 02/06 14:49:07 Video .sig downloaded ok! 02/06 14:49:07 Snapshot .sig downloaded ok! 02/06 14:49:07 Elapsed download time: 00:00:03 02/06 14:49:07 UpdateVideoname 02/06 14:49:07 Updating: idalarmcra = 384295 02/06 14:49:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384295 ORDER BY IDALARMCRA DESC 02/06 14:49:07 Just before Update() 02/06 14:49:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:49:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:49:17 Don't have work. 02/06 14:49:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:49:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:49:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:49:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:49:47 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:49:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:49:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:49:58 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:50:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:50:08 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:50:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:50:18 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:50:18 Alarms with pending videos found! 02/06 14:50:18 Next idalarmcra = 384297 02/06 14:50:18 DownloadVideos::DownloadVideoOfAlarm 02/06 14:50:18 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:50:18 SAM|1449 02/06 14:50:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:50:18 NOK answer received 02/06 14:50:18 UpdateVideoname 02/06 14:50:18 Updating: idalarmcra = 384297 02/06 14:50:18 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384297 ORDER BY IDALARMCRA DESC 02/06 14:50:18 Just before Update() 02/06 14:50:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:50:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:50:28 Don't have work. 02/06 14:50:38 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:50:38 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:50:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:50:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:50:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:50:59 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:51:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:51:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:51:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:51:19 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:51:19 Alarms with pending videos found! 02/06 14:51:19 Next idalarmcra = 384300 02/06 14:51:19 DownloadVideos::DownloadVideoOfAlarm 02/06 14:51:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:51:19 SAM|1137 02/06 14:51:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_145027_181.mp4|100577| 02/06 14:51:19 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_145027_181.mp4 02/06 14:51:19 Date = 20190602 02/06 14:51:19 Construct from filename date 02/06 14:51:19 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_145027_181.mp4 02/06 14:51:19 Destination file not found 02/06 14:51:19 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_145027_181.mp4 02/06 14:51:19 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_145027_181.mp4 02/06 14:51:20 DownloadFile ok... checking file destination 02/06 14:51:20 URLDownloadToFile ok 02/06 14:51:20 Video .sig downloaded ok! 02/06 14:51:20 Snapshot .sig downloaded ok! 02/06 14:51:20 Elapsed download time: 00:00:01 02/06 14:51:21 UpdateVideoname 02/06 14:51:21 Updating: idalarmcra = 384300 02/06 14:51:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384300 ORDER BY IDALARMCRA DESC 02/06 14:51:21 Just before Update() 02/06 14:51:21 Next idalarmcra = 384299 02/06 14:51:21 DownloadVideos::DownloadVideoOfAlarm 02/06 14:51:21 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 14:51:21 SAM|22292 02/06 14:51:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_145549_7.mp4|104089| 02/06 14:51:21 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_145549_7.mp4 02/06 14:51:21 Date = 20190602 02/06 14:51:21 Construct from filename date 02/06 14:51:21 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_145549_7.mp4 02/06 14:51:21 Destination file not found 02/06 14:51:21 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_145549_7.mp4 02/06 14:51:21 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_145549_7.mp4 02/06 14:51:22 DownloadFile ok... checking file destination 02/06 14:51:22 URLDownloadToFile ok 02/06 14:51:23 Video .sig downloaded ok! 02/06 14:51:23 Snapshot .sig downloaded ok! 02/06 14:51:23 Elapsed download time: 00:00:02 02/06 14:51:23 UpdateVideoname 02/06 14:51:23 Updating: idalarmcra = 384299 02/06 14:51:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384299 ORDER BY IDALARMCRA DESC 02/06 14:51:23 Just before Update() 02/06 14:51:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:51:33 [D] Query(31ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:51:33 Don't have work. 02/06 14:51:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:51:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:51:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:51:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:52:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:52:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:52:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:52:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:52:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:52:24 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:52:24 Alarms with pending videos found! 02/06 14:52:24 Next idalarmcra = 384301 02/06 14:52:24 DownloadVideos::DownloadVideoOfAlarm 02/06 14:52:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:52:24 SAM|1450 02/06 14:52:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:52:24 NOK answer received 02/06 14:52:24 UpdateVideoname 02/06 14:52:24 Updating: idalarmcra = 384301 02/06 14:52:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384301 ORDER BY IDALARMCRA DESC 02/06 14:52:24 Just before Update() 02/06 14:52:34 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:52:34 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:52:34 Alarms with pending videos found! 02/06 14:52:34 Next idalarmcra = 384301 02/06 14:52:34 DownloadVideos::DownloadVideoOfAlarm 02/06 14:52:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:52:34 SAM|1450 02/06 14:52:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145221_162.mp4|105681| 02/06 14:52:34 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145221_162.mp4 02/06 14:52:34 Date = 20190602 02/06 14:52:34 Construct from filename date 02/06 14:52:34 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145221_162.mp4 02/06 14:52:34 Destination file not found 02/06 14:52:34 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145221_162.mp4 02/06 14:52:34 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145221_162.mp4 02/06 14:52:35 DownloadFile ok... checking file destination 02/06 14:52:35 URLDownloadToFile ok 02/06 14:52:35 Video .sig downloaded ok! 02/06 14:52:35 Snapshot .sig downloaded ok! 02/06 14:52:35 Elapsed download time: 00:00:01 02/06 14:52:35 UpdateVideoname 02/06 14:52:35 Updating: idalarmcra = 384301 02/06 14:52:35 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384301 ORDER BY IDALARMCRA DESC 02/06 14:52:35 Just before Update() 02/06 14:52:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:52:45 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:52:45 Alarms with pending videos found! 02/06 14:52:45 Next idalarmcra = 384303 02/06 14:52:45 DownloadVideos::DownloadVideoOfAlarm 02/06 14:52:46 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 14:52:46 SAM|753 02/06 14:52:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_145229_111.mp4|105293| 02/06 14:52:46 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_145229_111.mp4 02/06 14:52:46 Date = 20190602 02/06 14:52:46 Construct from filename date 02/06 14:52:46 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_145229_111.mp4 02/06 14:52:46 Destination file not found 02/06 14:52:46 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_145229_111.mp4 02/06 14:52:46 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_145229_111.mp4 02/06 14:52:46 DownloadFile ok... checking file destination 02/06 14:52:46 URLDownloadToFile ok 02/06 14:52:46 Video .sig downloaded ok! 02/06 14:52:46 Snapshot .sig downloaded ok! 02/06 14:52:46 Elapsed download time: 00:00:00 02/06 14:52:47 UpdateVideoname 02/06 14:52:47 Updating: idalarmcra = 384303 02/06 14:52:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384303 ORDER BY IDALARMCRA DESC 02/06 14:52:47 Just before Update() 02/06 14:52:47 Next idalarmcra = 384302 02/06 14:52:47 DownloadVideos::DownloadVideoOfAlarm 02/06 14:52:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:52:47 SAM|1138 02/06 14:52:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_145143_49.mp4|105625| 02/06 14:52:47 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_145143_49.mp4 02/06 14:52:47 Date = 20190602 02/06 14:52:47 Construct from filename date 02/06 14:52:47 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_145143_49.mp4 02/06 14:52:47 Destination file not found 02/06 14:52:47 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_145143_49.mp4 02/06 14:52:47 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_145143_49.mp4 02/06 14:52:47 DownloadFile ok... checking file destination 02/06 14:52:47 URLDownloadToFile ok 02/06 14:52:47 Video .sig downloaded ok! 02/06 14:52:47 Snapshot .sig downloaded ok! 02/06 14:52:47 Elapsed download time: 00:00:00 02/06 14:52:48 UpdateVideoname 02/06 14:52:48 Updating: idalarmcra = 384302 02/06 14:52:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384302 ORDER BY IDALARMCRA DESC 02/06 14:52:48 Just before Update() 02/06 14:52:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:52:58 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:52:58 Alarms with pending videos found! 02/06 14:52:58 Next idalarmcra = 384304 02/06 14:52:58 DownloadVideos::DownloadVideoOfAlarm 02/06 14:52:58 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:52:58 SAM|1451 02/06 14:52:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:52:58 NOK answer received 02/06 14:52:58 UpdateVideoname 02/06 14:52:58 Updating: idalarmcra = 384304 02/06 14:52:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384304 ORDER BY IDALARMCRA DESC 02/06 14:52:58 Just before Update() 02/06 14:53:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:53:08 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:53:08 Don't have work. 02/06 14:53:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:53:19 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:53:19 Alarms with pending videos found! 02/06 14:53:19 Next idalarmcra = 384305 02/06 14:53:19 DownloadVideos::DownloadVideoOfAlarm 02/06 14:53:19 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:53:19 SAM|22969 02/06 14:53:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:53:19 NOK answer received 02/06 14:53:19 UpdateVideoname 02/06 14:53:19 Updating: idalarmcra = 384305 02/06 14:53:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384305 ORDER BY IDALARMCRA DESC 02/06 14:53:19 Just before Update() 02/06 14:53:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:53:29 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:53:29 Alarms with pending videos found! 02/06 14:53:29 Next idalarmcra = 384305 02/06 14:53:29 DownloadVideos::DownloadVideoOfAlarm 02/06 14:53:29 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 14:53:29 SAM|22969 02/06 14:53:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_145330_63.mp4|113612| 02/06 14:53:30 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_145330_63.mp4 02/06 14:53:30 Date = 20190602 02/06 14:53:30 Construct from filename date 02/06 14:53:30 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_145330_63.mp4 02/06 14:53:30 Destination file not found 02/06 14:53:30 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_145330_63.mp4 02/06 14:53:30 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_145330_63.mp4 02/06 14:53:31 DownloadFile ok... checking file destination 02/06 14:53:31 URLDownloadToFile ok 02/06 14:53:31 Video .sig downloaded ok! 02/06 14:53:31 Snapshot .sig downloaded ok! 02/06 14:53:31 Elapsed download time: 00:00:02 02/06 14:53:32 UpdateVideoname 02/06 14:53:32 Updating: idalarmcra = 384305 02/06 14:53:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384305 ORDER BY IDALARMCRA DESC 02/06 14:53:32 Just before Update() 02/06 14:53:42 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:53:42 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:53:42 Don't have work. 02/06 14:53:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:53:52 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:53:52 Alarms with pending videos found! 02/06 14:53:52 Next idalarmcra = 384306 02/06 14:53:52 DownloadVideos::DownloadVideoOfAlarm 02/06 14:53:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 14:53:52 SAM|1139 02/06 14:53:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 14:53:52 NOK answer received 02/06 14:53:52 UpdateVideoname 02/06 14:53:52 Updating: idalarmcra = 384306 02/06 14:53:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384306 ORDER BY IDALARMCRA DESC 02/06 14:53:52 Just before Update() 02/06 14:54:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:54:02 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:54:02 Alarms with pending videos found! 02/06 14:54:02 Next idalarmcra = 384308 02/06 14:54:02 DownloadVideos::DownloadVideoOfAlarm 02/06 14:54:02 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:54:02 SAM|1452 02/06 14:54:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145350_164.mp4|112643| 02/06 14:54:03 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145350_164.mp4 02/06 14:54:03 Date = 20190602 02/06 14:54:03 Construct from filename date 02/06 14:54:03 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145350_164.mp4 02/06 14:54:03 Destination file not found 02/06 14:54:03 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145350_164.mp4 02/06 14:54:03 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145350_164.mp4 02/06 14:54:03 DownloadFile ok... checking file destination 02/06 14:54:03 URLDownloadToFile ok 02/06 14:54:04 Video .sig downloaded ok! 02/06 14:54:04 Snapshot .sig downloaded ok! 02/06 14:54:04 Elapsed download time: 00:00:02 02/06 14:54:04 UpdateVideoname 02/06 14:54:04 Updating: idalarmcra = 384308 02/06 14:54:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384308 ORDER BY IDALARMCRA DESC 02/06 14:54:04 Just before Update() 02/06 14:54:04 Next idalarmcra = 384307 02/06 14:54:04 DownloadVideos::DownloadVideoOfAlarm 02/06 14:54:04 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 14:54:04 SAM|754 02/06 14:54:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_145356_112.mp4|107494| 02/06 14:54:04 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_145356_112.mp4 02/06 14:54:04 Date = 20190602 02/06 14:54:04 Construct from filename date 02/06 14:54:04 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_145356_112.mp4 02/06 14:54:04 Destination file not found 02/06 14:54:04 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_145356_112.mp4 02/06 14:54:04 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_145356_112.mp4 02/06 14:54:11 DownloadFile ok... checking file destination 02/06 14:54:11 URLDownloadToFile ok 02/06 14:54:11 Video .sig downloaded ok! 02/06 14:54:11 Snapshot .sig downloaded ok! 02/06 14:54:11 Elapsed download time: 00:00:07 02/06 14:54:11 UpdateVideoname 02/06 14:54:11 Updating: idalarmcra = 384307 02/06 14:54:11 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384307 ORDER BY IDALARMCRA DESC 02/06 14:54:11 Rollback executed. 02/06 14:54:11 RecordSet closed. 02/06 14:54:11 CheckDDBB 02/06 14:54:11 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 14:54:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:54:21 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:54:21 Alarms with pending videos found! 02/06 14:54:21 Next idalarmcra = 384310 02/06 14:54:21 DownloadVideos::DownloadVideoOfAlarm 02/06 14:54:21 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:54:21 SAM|1454 02/06 14:54:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_145415_64.mp4|114122| 02/06 14:54:22 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_145415_64.mp4 02/06 14:54:22 Date = 20190602 02/06 14:54:22 Construct from filename date 02/06 14:54:22 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_145415_64.mp4 02/06 14:54:22 Destination file not found 02/06 14:54:22 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_145415_64.mp4 02/06 14:54:22 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_145415_64.mp4 02/06 14:54:22 DownloadFile ok... checking file destination 02/06 14:54:22 URLDownloadToFile ok 02/06 14:54:22 Video .sig downloaded ok! 02/06 14:54:22 Snapshot .sig downloaded ok! 02/06 14:54:22 Elapsed download time: 00:00:01 02/06 14:54:22 UpdateVideoname 02/06 14:54:22 Updating: idalarmcra = 384310 02/06 14:54:22 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384310 ORDER BY IDALARMCRA DESC 02/06 14:54:22 Just before Update() 02/06 14:54:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:54:33 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:54:33 Don't have work. 02/06 14:54:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:54:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:54:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:54:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:55:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:55:03 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:55:03 Alarms with pending videos found! 02/06 14:55:03 Next idalarmcra = 384311 02/06 14:55:03 DownloadVideos::DownloadVideoOfAlarm 02/06 14:55:03 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:55:03 SAM|1455 02/06 14:55:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145451_165.mp4|105956| 02/06 14:55:03 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145451_165.mp4 02/06 14:55:03 Date = 20190602 02/06 14:55:03 Construct from filename date 02/06 14:55:03 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145451_165.mp4 02/06 14:55:03 Destination file not found 02/06 14:55:03 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145451_165.mp4 02/06 14:55:03 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145451_165.mp4 02/06 14:55:03 DownloadFile ok... checking file destination 02/06 14:55:03 URLDownloadToFile ok 02/06 14:55:04 Video .sig downloaded ok! 02/06 14:55:04 Snapshot .sig downloaded ok! 02/06 14:55:04 Elapsed download time: 00:00:01 02/06 14:55:04 UpdateVideoname 02/06 14:55:04 Updating: idalarmcra = 384311 02/06 14:55:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384311 ORDER BY IDALARMCRA DESC 02/06 14:55:04 Just before Update() 02/06 14:55:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:55:14 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:55:14 Don't have work. 02/06 14:55:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:55:24 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:55:24 Alarms with pending videos found! 02/06 14:55:24 Next idalarmcra = 384312 02/06 14:55:24 DownloadVideos::DownloadVideoOfAlarm 02/06 14:55:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 33 02/06 14:55:24 SAM|3223 02/06 14:55:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_145515_33.mp4|99468| 02/06 14:55:25 FilenameSrc = 20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_145515_33.mp4 02/06 14:55:25 Date = 20190602 02/06 14:55:25 Construct from filename date 02/06 14:55:25 Destination: c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_145515_33.mp4 02/06 14:55:25 Destination file not found 02/06 14:55:25 http://192.168.31.100:21000/20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_145515_33.mp4 02/06 14:55:25 c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_145515_33.mp4 02/06 14:55:26 DownloadFile ok... checking file destination 02/06 14:55:26 URLDownloadToFile ok 02/06 14:55:26 Video .sig downloaded ok! 02/06 14:55:27 Snapshot .sig downloaded ok! 02/06 14:55:27 Elapsed download time: 00:00:03 02/06 14:55:27 UpdateVideoname 02/06 14:55:27 Updating: idalarmcra = 384312 02/06 14:55:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384312 ORDER BY IDALARMCRA DESC 02/06 14:55:27 Just before Update() 02/06 14:55:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:55:37 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:55:37 Don't have work. 02/06 14:55:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:55:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:55:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:55:58 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:56:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:56:08 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:56:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:56:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:56:28 [D] Query(19ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:56:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:56:28 Alarms with pending videos found! 02/06 14:56:28 Next idalarmcra = 384315 02/06 14:56:28 DownloadVideos::DownloadVideoOfAlarm 02/06 14:56:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:56:28 SAM|1456 02/06 14:56:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145618_166.mp4|110850| 02/06 14:56:28 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145618_166.mp4 02/06 14:56:28 Date = 20190602 02/06 14:56:28 Construct from filename date 02/06 14:56:28 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145618_166.mp4 02/06 14:56:28 Destination file not found 02/06 14:56:28 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145618_166.mp4 02/06 14:56:28 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145618_166.mp4 02/06 14:56:30 DownloadFile ok... checking file destination 02/06 14:56:30 URLDownloadToFile ok 02/06 14:56:30 Video .sig downloaded ok! 02/06 14:56:30 Snapshot .sig downloaded ok! 02/06 14:56:30 Elapsed download time: 00:00:02 02/06 14:56:30 UpdateVideoname 02/06 14:56:30 Updating: idalarmcra = 384315 02/06 14:56:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384315 ORDER BY IDALARMCRA DESC 02/06 14:56:30 Just before Update() 02/06 14:56:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:56:40 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:56:40 Alarms with pending videos found! 02/06 14:56:40 Next idalarmcra = 384316 02/06 14:56:40 DownloadVideos::DownloadVideoOfAlarm 02/06 14:56:40 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:56:40 SAM|1457 02/06 14:56:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145626_167.mp4|113239| 02/06 14:56:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145626_167.mp4 02/06 14:56:40 Date = 20190602 02/06 14:56:40 Construct from filename date 02/06 14:56:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145626_167.mp4 02/06 14:56:40 Destination file not found 02/06 14:56:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145626_167.mp4 02/06 14:56:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145626_167.mp4 02/06 14:56:45 DownloadFile ok... checking file destination 02/06 14:56:45 URLDownloadToFile ok 02/06 14:56:45 Video .sig downloaded ok! 02/06 14:56:45 Snapshot .sig downloaded ok! 02/06 14:56:45 Elapsed download time: 00:00:05 02/06 14:56:45 UpdateVideoname 02/06 14:56:45 Updating: idalarmcra = 384316 02/06 14:56:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384316 ORDER BY IDALARMCRA DESC 02/06 14:56:45 Just before Update() 02/06 14:56:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:56:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:56:56 Don't have work. 02/06 14:57:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:57:06 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:57:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:57:16 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:57:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:57:26 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:57:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:57:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:57:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:57:46 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:57:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:57:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:58:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:58:06 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:58:06 Alarms with pending videos found! 02/06 14:58:06 Next idalarmcra = 384318 02/06 14:58:06 DownloadVideos::DownloadVideoOfAlarm 02/06 14:58:06 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 14:58:06 SAM|4715 02/06 14:58:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_145927_155.mp4|107429| 02/06 14:58:08 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_145927_155.mp4 02/06 14:58:08 Date = 20190602 02/06 14:58:08 Construct from filename date 02/06 14:58:08 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_145927_155.mp4 02/06 14:58:08 Destination file not found 02/06 14:58:08 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_145927_155.mp4 02/06 14:58:08 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_145927_155.mp4 02/06 14:58:10 DownloadFile ok... checking file destination 02/06 14:58:10 URLDownloadToFile ok 02/06 14:58:10 Video .sig downloaded ok! 02/06 14:58:10 Snapshot .sig downloaded ok! 02/06 14:58:10 Elapsed download time: 00:00:04 02/06 14:58:11 UpdateVideoname 02/06 14:58:11 Updating: idalarmcra = 384318 02/06 14:58:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384318 ORDER BY IDALARMCRA DESC 02/06 14:58:11 Just before Update() 02/06 14:58:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:58:21 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:58:21 Alarms with pending videos found! 02/06 14:58:21 Next idalarmcra = 384319 02/06 14:58:21 DownloadVideos::DownloadVideoOfAlarm 02/06 14:58:21 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 14:58:21 SAM|10901 02/06 14:58:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_135814_131.mp4|92540| 02/06 14:58:22 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_135814_131.mp4 02/06 14:58:22 Date = 20190602 02/06 14:58:22 Construct from filename date 02/06 14:58:22 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_135814_131.mp4 02/06 14:58:22 Destination file not found 02/06 14:58:22 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_135814_131.mp4 02/06 14:58:22 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_135814_131.mp4 02/06 14:58:23 DownloadFile ok... checking file destination 02/06 14:58:23 URLDownloadToFile ok 02/06 14:58:23 Video .sig downloaded ok! 02/06 14:58:24 Snapshot .sig downloaded ok! 02/06 14:58:24 Elapsed download time: 00:00:03 02/06 14:58:24 UpdateVideoname 02/06 14:58:24 Updating: idalarmcra = 384319 02/06 14:58:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384319 ORDER BY IDALARMCRA DESC 02/06 14:58:24 Just before Update() 02/06 14:58:34 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:58:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:58:34 Don't have work. 02/06 14:58:44 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:58:44 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:58:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:58:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:59:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:59:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:59:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:59:14 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:59:14 Alarms with pending videos found! 02/06 14:59:14 Next idalarmcra = 384320 02/06 14:59:14 DownloadVideos::DownloadVideoOfAlarm 02/06 14:59:14 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 14:59:14 SAM|1458 02/06 14:59:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145908_168.mp4|110665| 02/06 14:59:15 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145908_168.mp4 02/06 14:59:15 Date = 20190602 02/06 14:59:15 Construct from filename date 02/06 14:59:15 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145908_168.mp4 02/06 14:59:15 Destination file not found 02/06 14:59:15 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145908_168.mp4 02/06 14:59:15 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_145908_168.mp4 02/06 14:59:15 DownloadFile ok... checking file destination 02/06 14:59:15 URLDownloadToFile ok 02/06 14:59:15 Video .sig downloaded ok! 02/06 14:59:15 Snapshot .sig downloaded ok! 02/06 14:59:15 Elapsed download time: 00:00:01 02/06 14:59:15 UpdateVideoname 02/06 14:59:15 Updating: idalarmcra = 384320 02/06 14:59:15 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384320 ORDER BY IDALARMCRA DESC 02/06 14:59:15 Just before Update() 02/06 14:59:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:59:26 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:59:26 Don't have work. 02/06 14:59:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:59:36 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:59:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:59:46 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 14:59:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 14:59:56 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 13 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 14:59:56 Alarms with pending videos found! 02/06 14:59:56 Next idalarmcra = 384321 02/06 14:59:56 DownloadVideos::DownloadVideoOfAlarm 02/06 14:59:56 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 14:59:56 SAM|14789 02/06 14:59:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_145948_557.mp4|104932| 02/06 14:59:56 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_145948_557.mp4 02/06 14:59:56 Date = 20190602 02/06 14:59:56 Construct from filename date 02/06 14:59:56 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_145948_557.mp4 02/06 14:59:56 Destination file not found 02/06 14:59:56 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_145948_557.mp4 02/06 14:59:56 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_145948_557.mp4 02/06 14:59:57 DownloadFile ok... checking file destination 02/06 14:59:57 URLDownloadToFile ok 02/06 14:59:58 Video .sig downloaded ok! 02/06 14:59:58 Snapshot .sig downloaded ok! 02/06 14:59:58 Elapsed download time: 00:00:02 02/06 14:59:58 UpdateVideoname 02/06 14:59:58 Updating: idalarmcra = 384321 02/06 14:59:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384321 ORDER BY IDALARMCRA DESC 02/06 14:59:58 Just before Update() 02/06 15:00:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:00:08 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:00:08 Don't have work. 02/06 15:00:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:00:18 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:00:18 Alarms with pending videos found! 02/06 15:00:18 Next idalarmcra = 384325 02/06 15:00:18 DownloadVideos::DownloadVideoOfAlarm 02/06 15:00:18 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:00:18 SAM|22970 02/06 15:00:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150023_64.mp4|112804| 02/06 15:00:18 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150023_64.mp4 02/06 15:00:18 Date = 20190602 02/06 15:00:18 Construct from filename date 02/06 15:00:18 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150023_64.mp4 02/06 15:00:18 Destination file not found 02/06 15:00:18 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150023_64.mp4 02/06 15:00:18 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150023_64.mp4 02/06 15:00:20 DownloadFile ok... checking file destination 02/06 15:00:20 URLDownloadToFile ok 02/06 15:00:20 Video .sig downloaded ok! 02/06 15:00:20 Snapshot .sig downloaded ok! 02/06 15:00:20 Elapsed download time: 00:00:02 02/06 15:00:20 UpdateVideoname 02/06 15:00:20 Updating: idalarmcra = 384325 02/06 15:00:20 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384325 ORDER BY IDALARMCRA DESC 02/06 15:00:20 Rollback executed. 02/06 15:00:20 RecordSet closed. 02/06 15:00:20 CheckDDBB 02/06 15:00:20 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:00:31 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:00:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:00:31 Don't have work. 02/06 15:00:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:00:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:00:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:00:51 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:01:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:01:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:01:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:01:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:01:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:01:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:01:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:01:31 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:01:31 Alarms with pending videos found! 02/06 15:01:31 Next idalarmcra = 384327 02/06 15:01:31 DownloadVideos::DownloadVideoOfAlarm 02/06 15:01:31 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:01:31 SAM|1460 02/06 15:01:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150121_170.mp4|115341| 02/06 15:01:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150121_170.mp4 02/06 15:01:31 Date = 20190602 02/06 15:01:31 Construct from filename date 02/06 15:01:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150121_170.mp4 02/06 15:01:31 Destination file not found 02/06 15:01:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150121_170.mp4 02/06 15:01:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150121_170.mp4 02/06 15:01:32 DownloadFile ok... checking file destination 02/06 15:01:32 URLDownloadToFile ok 02/06 15:01:32 Video .sig downloaded ok! 02/06 15:01:32 Snapshot .sig downloaded ok! 02/06 15:01:32 Elapsed download time: 00:00:01 02/06 15:01:32 UpdateVideoname 02/06 15:01:32 Updating: idalarmcra = 384327 02/06 15:01:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384327 ORDER BY IDALARMCRA DESC 02/06 15:01:32 Just before Update() 02/06 15:01:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:01:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:01:42 Don't have work. 02/06 15:01:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:01:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:02:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:02:03 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:02:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:02:13 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:02:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:02:23 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:02:23 Alarms with pending videos found! 02/06 15:02:23 Next idalarmcra = 384329 02/06 15:02:23 DownloadVideos::DownloadVideoOfAlarm 02/06 15:02:23 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:02:23 SAM|1461 02/06 15:02:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150213_171.mp4|111346| 02/06 15:02:23 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150213_171.mp4 02/06 15:02:23 Date = 20190602 02/06 15:02:23 Construct from filename date 02/06 15:02:23 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150213_171.mp4 02/06 15:02:23 Destination file not found 02/06 15:02:23 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150213_171.mp4 02/06 15:02:23 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150213_171.mp4 02/06 15:02:23 DownloadFile ok... checking file destination 02/06 15:02:23 URLDownloadToFile ok 02/06 15:02:23 Video .sig downloaded ok! 02/06 15:02:24 Snapshot .sig downloaded ok! 02/06 15:02:24 Elapsed download time: 00:00:01 02/06 15:02:24 UpdateVideoname 02/06 15:02:24 Updating: idalarmcra = 384329 02/06 15:02:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384329 ORDER BY IDALARMCRA DESC 02/06 15:02:24 Just before Update() 02/06 15:02:24 Next idalarmcra = 384328 02/06 15:02:24 DownloadVideos::DownloadVideoOfAlarm 02/06 15:02:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:02:24 SAM|1140 02/06 15:02:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_150127_50.mp4|107969| 02/06 15:02:24 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_150127_50.mp4 02/06 15:02:24 Date = 20190602 02/06 15:02:24 Construct from filename date 02/06 15:02:24 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_150127_50.mp4 02/06 15:02:24 Destination file not found 02/06 15:02:24 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_150127_50.mp4 02/06 15:02:24 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_150127_50.mp4 02/06 15:02:25 DownloadFile ok... checking file destination 02/06 15:02:25 URLDownloadToFile ok 02/06 15:02:25 Video .sig downloaded ok! 02/06 15:02:25 Snapshot .sig downloaded ok! 02/06 15:02:25 Elapsed download time: 00:00:01 02/06 15:02:25 UpdateVideoname 02/06 15:02:25 Updating: idalarmcra = 384328 02/06 15:02:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384328 ORDER BY IDALARMCRA DESC 02/06 15:02:25 Just before Update() 02/06 15:02:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:02:35 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:02:35 Alarms with pending videos found! 02/06 15:02:35 Next idalarmcra = 384330 02/06 15:02:35 DownloadVideos::DownloadVideoOfAlarm 02/06 15:02:35 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 33 02/06 15:02:35 SAM|3224 02/06 15:02:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_150232_80.mp4|90448| 02/06 15:02:35 FilenameSrc = 20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_150232_80.mp4 02/06 15:02:35 Date = 20190602 02/06 15:02:35 Construct from filename date 02/06 15:02:35 Destination: c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_150232_80.mp4 02/06 15:02:35 Destination file not found 02/06 15:02:35 http://192.168.31.100:21000/20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_150232_80.mp4 02/06 15:02:35 c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_150232_80.mp4 02/06 15:02:37 DownloadFile ok... checking file destination 02/06 15:02:37 URLDownloadToFile ok 02/06 15:02:37 Video .sig downloaded ok! 02/06 15:02:37 Snapshot .sig downloaded ok! 02/06 15:02:37 Elapsed download time: 00:00:02 02/06 15:02:37 UpdateVideoname 02/06 15:02:37 Updating: idalarmcra = 384330 02/06 15:02:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384330 ORDER BY IDALARMCRA DESC 02/06 15:02:37 Just before Update() 02/06 15:02:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:02:48 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:02:48 Alarms with pending videos found! 02/06 15:02:48 Next idalarmcra = 384333 02/06 15:02:48 DownloadVideos::DownloadVideoOfAlarm 02/06 15:02:48 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:02:48 SAM|1462 02/06 15:02:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150237_172.mp4|109444| 02/06 15:02:48 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150237_172.mp4 02/06 15:02:48 Date = 20190602 02/06 15:02:48 Construct from filename date 02/06 15:02:48 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150237_172.mp4 02/06 15:02:48 Destination file not found 02/06 15:02:48 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150237_172.mp4 02/06 15:02:48 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150237_172.mp4 02/06 15:02:48 DownloadFile ok... checking file destination 02/06 15:02:48 URLDownloadToFile ok 02/06 15:02:48 Video .sig downloaded ok! 02/06 15:02:48 Snapshot .sig downloaded ok! 02/06 15:02:48 Elapsed download time: 00:00:00 02/06 15:02:48 UpdateVideoname 02/06 15:02:48 Updating: idalarmcra = 384333 02/06 15:02:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384333 ORDER BY IDALARMCRA DESC 02/06 15:02:48 Just before Update() 02/06 15:02:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:02:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:02:58 Don't have work. 02/06 15:03:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:03:08 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:03:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:03:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:03:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:03:29 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:03:29 Alarms with pending videos found! 02/06 15:03:29 Next idalarmcra = 384334 02/06 15:03:29 DownloadVideos::DownloadVideoOfAlarm 02/06 15:03:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:03:29 SAM|22971 02/06 15:03:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150339_65.mp4|112511| 02/06 15:03:29 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150339_65.mp4 02/06 15:03:29 Date = 20190602 02/06 15:03:29 Construct from filename date 02/06 15:03:29 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150339_65.mp4 02/06 15:03:29 Destination file not found 02/06 15:03:29 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150339_65.mp4 02/06 15:03:29 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150339_65.mp4 02/06 15:03:31 DownloadFile ok... checking file destination 02/06 15:03:31 URLDownloadToFile ok 02/06 15:03:31 Video .sig downloaded ok! 02/06 15:03:32 Snapshot .sig downloaded ok! 02/06 15:03:32 Elapsed download time: 00:00:03 02/06 15:03:32 UpdateVideoname 02/06 15:03:32 Updating: idalarmcra = 384334 02/06 15:03:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384334 ORDER BY IDALARMCRA DESC 02/06 15:03:32 Just before Update() 02/06 15:03:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:03:42 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:03:42 Don't have work. 02/06 15:03:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:03:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:04:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:04:02 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:04:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:04:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:04:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:04:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:04:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:04:33 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:04:33 Alarms with pending videos found! 02/06 15:04:33 Next idalarmcra = 384336 02/06 15:04:33 DownloadVideos::DownloadVideoOfAlarm 02/06 15:04:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:04:33 SAM|1463 02/06 15:04:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150419_173.mp4|105640| 02/06 15:04:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150419_173.mp4 02/06 15:04:33 Date = 20190602 02/06 15:04:33 Construct from filename date 02/06 15:04:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150419_173.mp4 02/06 15:04:33 Destination file not found 02/06 15:04:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150419_173.mp4 02/06 15:04:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150419_173.mp4 02/06 15:04:33 DownloadFile ok... checking file destination 02/06 15:04:33 URLDownloadToFile ok 02/06 15:04:33 Video .sig downloaded ok! 02/06 15:04:34 Snapshot .sig downloaded ok! 02/06 15:04:34 Elapsed download time: 00:00:01 02/06 15:04:34 UpdateVideoname 02/06 15:04:34 Updating: idalarmcra = 384336 02/06 15:04:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384336 ORDER BY IDALARMCRA DESC 02/06 15:04:34 Just before Update() 02/06 15:04:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:04:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:04:44 Don't have work. 02/06 15:04:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:04:54 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:05:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:05:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:05:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:05:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:05:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:05:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:05:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:05:34 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:05:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:05:44 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:05:44 Alarms with pending videos found! 02/06 15:05:44 Next idalarmcra = 384338 02/06 15:05:44 DownloadVideos::DownloadVideoOfAlarm 02/06 15:05:44 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:05:44 SAM|163133 02/06 15:05:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:05:45 NOK answer received 02/06 15:05:45 UpdateVideoname 02/06 15:05:45 Updating: idalarmcra = 384338 02/06 15:05:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384338 ORDER BY IDALARMCRA DESC 02/06 15:05:45 Just before Update() 02/06 15:05:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:05:55 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:05:55 Alarms with pending videos found! 02/06 15:05:55 Next idalarmcra = 384338 02/06 15:05:55 DownloadVideos::DownloadVideoOfAlarm 02/06 15:05:55 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:05:55 SAM|163133 02/06 15:05:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_151828_15.mp4|111382| 02/06 15:05:55 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_151828_15.mp4 02/06 15:05:55 Date = 20190602 02/06 15:05:55 Construct from filename date 02/06 15:05:55 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_151828_15.mp4 02/06 15:05:55 Destination file not found 02/06 15:05:55 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_151828_15.mp4 02/06 15:05:55 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_151828_15.mp4 02/06 15:05:56 DownloadFile ok... checking file destination 02/06 15:05:56 URLDownloadToFile ok 02/06 15:05:56 Video .sig downloaded ok! 02/06 15:05:57 Snapshot .sig downloaded ok! 02/06 15:05:57 Elapsed download time: 00:00:02 02/06 15:05:57 UpdateVideoname 02/06 15:05:57 Updating: idalarmcra = 384338 02/06 15:05:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384338 ORDER BY IDALARMCRA DESC 02/06 15:05:57 Just before Update() 02/06 15:06:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:06:07 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:06:07 Alarms with pending videos found! 02/06 15:06:07 Next idalarmcra = 384341 02/06 15:06:07 DownloadVideos::DownloadVideoOfAlarm 02/06 15:06:07 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 15:06:07 SAM|2075 02/06 15:06:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_150555_99.mp4|112116| 02/06 15:06:07 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_150555_99.mp4 02/06 15:06:07 Date = 20190602 02/06 15:06:07 Construct from filename date 02/06 15:06:07 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_150555_99.mp4 02/06 15:06:07 Destination file not found 02/06 15:06:07 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_150555_99.mp4 02/06 15:06:07 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_150555_99.mp4 02/06 15:06:09 DownloadFile ok... checking file destination 02/06 15:06:09 URLDownloadToFile ok 02/06 15:06:09 Video .sig downloaded ok! 02/06 15:06:10 Snapshot .sig downloaded ok! 02/06 15:06:10 Elapsed download time: 00:00:03 02/06 15:06:10 UpdateVideoname 02/06 15:06:10 Updating: idalarmcra = 384341 02/06 15:06:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384341 ORDER BY IDALARMCRA DESC 02/06 15:06:10 Just before Update() 02/06 15:06:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:06:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:06:20 Don't have work. 02/06 15:06:30 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:06:30 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:06:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:06:40 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:06:40 Alarms with pending videos found! 02/06 15:06:40 Next idalarmcra = 384344 02/06 15:06:40 DownloadVideos::DownloadVideoOfAlarm 02/06 15:06:40 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 15:06:40 SAM|16952 02/06 15:06:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:06:41 NOK answer received 02/06 15:06:41 UpdateVideoname 02/06 15:06:41 Updating: idalarmcra = 384344 02/06 15:06:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384344 ORDER BY IDALARMCRA DESC 02/06 15:06:41 Just before Update() 02/06 15:06:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:06:51 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:06:51 Alarms with pending videos found! 02/06 15:06:51 Next idalarmcra = 384344 02/06 15:06:51 DownloadVideos::DownloadVideoOfAlarm 02/06 15:06:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 15:06:51 SAM|16952 02/06 15:06:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_150640_108.mp4|99384| 02/06 15:06:51 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_150640_108.mp4 02/06 15:06:51 Date = 20190602 02/06 15:06:51 Construct from filename date 02/06 15:06:51 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_150640_108.mp4 02/06 15:06:51 Destination file not found 02/06 15:06:51 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_150640_108.mp4 02/06 15:06:51 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_150640_108.mp4 02/06 15:06:52 DownloadFile ok... checking file destination 02/06 15:06:52 URLDownloadToFile ok 02/06 15:06:52 Video .sig downloaded ok! 02/06 15:06:52 Snapshot .sig downloaded ok! 02/06 15:06:52 Elapsed download time: 00:00:01 02/06 15:06:53 UpdateVideoname 02/06 15:06:53 Updating: idalarmcra = 384344 02/06 15:06:53 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384344 ORDER BY IDALARMCRA DESC 02/06 15:06:53 Just before Update() 02/06 15:07:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:07:03 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:07:03 Alarms with pending videos found! 02/06 15:07:03 Next idalarmcra = 384345 02/06 15:07:03 DownloadVideos::DownloadVideoOfAlarm 02/06 15:07:03 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 17 02/06 15:07:03 SAM|24367 02/06 15:07:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:07:03 NOK answer received 02/06 15:07:03 UpdateVideoname 02/06 15:07:03 Updating: idalarmcra = 384345 02/06 15:07:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384345 ORDER BY IDALARMCRA DESC 02/06 15:07:03 Just before Update() 02/06 15:07:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:07:13 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:07:13 Alarms with pending videos found! 02/06 15:07:13 Next idalarmcra = 384345 02/06 15:07:13 DownloadVideos::DownloadVideoOfAlarm 02/06 15:07:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 17 02/06 15:07:13 SAM|24367 02/06 15:07:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DENIZLI_A_Cam4_Event2_20190602_150702_41.mp4|111778| 02/06 15:07:14 FilenameSrc = 20190602\\SiteDGS_VA_DENIZLI_A_Cam4_Event2_20190602_150702_41.mp4 02/06 15:07:14 Date = 20190602 02/06 15:07:14 Construct from filename date 02/06 15:07:14 Destination: c:\Davantis\CRAServer\\SITE_17\\20190602\\SiteDGS_VA_DENIZLI_A_Cam4_Event2_20190602_150702_41.mp4 02/06 15:07:14 Destination file not found 02/06 15:07:14 http://192.168.21.100:21000/20190602\\SiteDGS_VA_DENIZLI_A_Cam4_Event2_20190602_150702_41.mp4 02/06 15:07:14 c:\Davantis\CRAServer\\SITE_17\\20190602\\SiteDGS_VA_DENIZLI_A_Cam4_Event2_20190602_150702_41.mp4 02/06 15:07:15 DownloadFile ok... checking file destination 02/06 15:07:15 URLDownloadToFile ok 02/06 15:07:15 Video .sig downloaded ok! 02/06 15:07:15 Snapshot .sig downloaded ok! 02/06 15:07:15 Elapsed download time: 00:00:02 02/06 15:07:16 UpdateVideoname 02/06 15:07:16 Updating: idalarmcra = 384345 02/06 15:07:16 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384345 ORDER BY IDALARMCRA DESC 02/06 15:07:16 Just before Update() 02/06 15:07:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:07:26 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:07:26 Don't have work. 02/06 15:07:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:07:36 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:07:36 Alarms with pending videos found! 02/06 15:07:36 Next idalarmcra = 384346 02/06 15:07:36 DownloadVideos::DownloadVideoOfAlarm 02/06 15:07:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:07:36 SAM|22972 02/06 15:07:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150739_66.mp4|114996| 02/06 15:07:36 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150739_66.mp4 02/06 15:07:36 Date = 20190602 02/06 15:07:36 Construct from filename date 02/06 15:07:36 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150739_66.mp4 02/06 15:07:36 Destination file not found 02/06 15:07:36 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150739_66.mp4 02/06 15:07:36 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150739_66.mp4 02/06 15:07:38 DownloadFile ok... checking file destination 02/06 15:07:38 URLDownloadToFile ok 02/06 15:07:38 Video .sig downloaded ok! 02/06 15:07:38 Snapshot .sig downloaded ok! 02/06 15:07:38 Elapsed download time: 00:00:02 02/06 15:07:38 UpdateVideoname 02/06 15:07:38 Updating: idalarmcra = 384346 02/06 15:07:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384346 ORDER BY IDALARMCRA DESC 02/06 15:07:38 Just before Update() 02/06 15:07:48 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:07:48 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:07:48 Alarms with pending videos found! 02/06 15:07:48 Next idalarmcra = 384347 02/06 15:07:48 DownloadVideos::DownloadVideoOfAlarm 02/06 15:07:48 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:07:48 SAM|1141 02/06 15:07:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_150650_51.mp4|108969| 02/06 15:07:49 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_150650_51.mp4 02/06 15:07:49 Date = 20190602 02/06 15:07:49 Construct from filename date 02/06 15:07:49 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_150650_51.mp4 02/06 15:07:49 Destination file not found 02/06 15:07:49 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_150650_51.mp4 02/06 15:07:49 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_150650_51.mp4 02/06 15:07:52 DownloadFile ok... checking file destination 02/06 15:07:52 URLDownloadToFile ok 02/06 15:07:52 Video .sig downloaded ok! 02/06 15:07:52 Snapshot .sig downloaded ok! 02/06 15:07:52 Elapsed download time: 00:00:04 02/06 15:07:52 UpdateVideoname 02/06 15:07:52 Updating: idalarmcra = 384347 02/06 15:07:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384347 ORDER BY IDALARMCRA DESC 02/06 15:07:52 Just before Update() 02/06 15:08:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:08:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:08:02 Don't have work. 02/06 15:08:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:08:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:08:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:08:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:08:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:08:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:08:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:08:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:08:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:08:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:09:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:09:03 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:09:03 Alarms with pending videos found! 02/06 15:09:03 Next idalarmcra = 384350 02/06 15:09:03 DownloadVideos::DownloadVideoOfAlarm 02/06 15:09:03 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:09:03 SAM|1464 02/06 15:09:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150849_174.mp4|102681| 02/06 15:09:03 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150849_174.mp4 02/06 15:09:03 Date = 20190602 02/06 15:09:03 Construct from filename date 02/06 15:09:03 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150849_174.mp4 02/06 15:09:03 Destination file not found 02/06 15:09:03 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150849_174.mp4 02/06 15:09:03 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_150849_174.mp4 02/06 15:09:05 DownloadFile ok... checking file destination 02/06 15:09:05 URLDownloadToFile ok 02/06 15:09:05 Video .sig downloaded ok! 02/06 15:09:05 Snapshot .sig downloaded ok! 02/06 15:09:05 Elapsed download time: 00:00:02 02/06 15:09:05 UpdateVideoname 02/06 15:09:05 Updating: idalarmcra = 384350 02/06 15:09:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384350 ORDER BY IDALARMCRA DESC 02/06 15:09:05 Just before Update() 02/06 15:09:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:09:15 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:09:15 Alarms with pending videos found! 02/06 15:09:15 Next idalarmcra = 384351 02/06 15:09:15 DownloadVideos::DownloadVideoOfAlarm 02/06 15:09:16 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 15:09:16 SAM|3948 02/06 15:09:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_150904_5.mp4|113254| 02/06 15:09:16 FilenameSrc = 20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_150904_5.mp4 02/06 15:09:16 Date = 20190602 02/06 15:09:16 Construct from filename date 02/06 15:09:16 Destination: c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_150904_5.mp4 02/06 15:09:16 Destination file not found 02/06 15:09:16 http://192.168.29.100:21000/20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_150904_5.mp4 02/06 15:09:16 c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_150904_5.mp4 02/06 15:09:17 DownloadFile ok... checking file destination 02/06 15:09:17 URLDownloadToFile ok 02/06 15:09:17 Video .sig downloaded ok! 02/06 15:09:18 Snapshot .sig downloaded ok! 02/06 15:09:18 Elapsed download time: 00:00:02 02/06 15:09:18 UpdateVideoname 02/06 15:09:18 Updating: idalarmcra = 384351 02/06 15:09:18 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384351 ORDER BY IDALARMCRA DESC 02/06 15:09:18 Just before Update() 02/06 15:09:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:09:28 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:09:28 Don't have work. 02/06 15:09:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:09:38 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:09:38 Alarms with pending videos found! 02/06 15:09:38 Next idalarmcra = 384352 02/06 15:09:38 DownloadVideos::DownloadVideoOfAlarm 02/06 15:09:38 [D] Query(9ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:09:38 SAM|22973 02/06 15:09:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150949_67.mp4|113318| 02/06 15:09:39 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150949_67.mp4 02/06 15:09:39 Date = 20190602 02/06 15:09:39 Construct from filename date 02/06 15:09:39 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150949_67.mp4 02/06 15:09:39 Destination file not found 02/06 15:09:39 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150949_67.mp4 02/06 15:09:39 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_150949_67.mp4 02/06 15:09:40 DownloadFile ok... checking file destination 02/06 15:09:40 URLDownloadToFile ok 02/06 15:09:40 Video .sig downloaded ok! 02/06 15:09:40 Snapshot .sig downloaded ok! 02/06 15:09:40 Elapsed download time: 00:00:02 02/06 15:09:41 UpdateVideoname 02/06 15:09:41 Updating: idalarmcra = 384352 02/06 15:09:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384352 ORDER BY IDALARMCRA DESC 02/06 15:09:41 Just before Update() 02/06 15:09:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:09:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:09:51 Don't have work. 02/06 15:10:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:10:01 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:10:01 Alarms with pending videos found! 02/06 15:10:01 Next idalarmcra = 384353 02/06 15:10:01 DownloadVideos::DownloadVideoOfAlarm 02/06 15:10:01 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:10:01 SAM|22974 02/06 15:10:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151007_68.mp4|114707| 02/06 15:10:01 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151007_68.mp4 02/06 15:10:01 Date = 20190602 02/06 15:10:01 Construct from filename date 02/06 15:10:01 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151007_68.mp4 02/06 15:10:01 Destination file not found 02/06 15:10:01 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151007_68.mp4 02/06 15:10:01 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151007_68.mp4 02/06 15:10:02 DownloadFile ok... checking file destination 02/06 15:10:02 URLDownloadToFile ok 02/06 15:10:02 Video .sig downloaded ok! 02/06 15:10:03 Snapshot .sig downloaded ok! 02/06 15:10:03 Elapsed download time: 00:00:02 02/06 15:10:03 UpdateVideoname 02/06 15:10:03 Updating: idalarmcra = 384353 02/06 15:10:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384353 ORDER BY IDALARMCRA DESC 02/06 15:10:03 Just before Update() 02/06 15:10:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:10:13 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:10:13 Alarms with pending videos found! 02/06 15:10:13 Next idalarmcra = 384354 02/06 15:10:13 DownloadVideos::DownloadVideoOfAlarm 02/06 15:10:13 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:10:13 SAM|1465 02/06 15:10:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151004_175.mp4|115275| 02/06 15:10:13 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151004_175.mp4 02/06 15:10:13 Date = 20190602 02/06 15:10:13 Construct from filename date 02/06 15:10:13 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151004_175.mp4 02/06 15:10:13 Destination file not found 02/06 15:10:13 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151004_175.mp4 02/06 15:10:13 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151004_175.mp4 02/06 15:10:14 DownloadFile ok... checking file destination 02/06 15:10:14 URLDownloadToFile ok 02/06 15:10:14 Video .sig downloaded ok! 02/06 15:10:14 Snapshot .sig downloaded ok! 02/06 15:10:14 Elapsed download time: 00:00:01 02/06 15:10:14 UpdateVideoname 02/06 15:10:14 Updating: idalarmcra = 384354 02/06 15:10:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384354 ORDER BY IDALARMCRA DESC 02/06 15:10:14 Just before Update() 02/06 15:10:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:10:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:10:24 Don't have work. 02/06 15:10:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:10:34 [D] Query(28ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:10:34 Alarms with pending videos found! 02/06 15:10:34 Next idalarmcra = 384355 02/06 15:10:34 DownloadVideos::DownloadVideoOfAlarm 02/06 15:10:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 31 02/06 15:10:34 SAM|13170 02/06 15:10:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_151026_11.mp4|110336| 02/06 15:10:35 FilenameSrc = 20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_151026_11.mp4 02/06 15:10:35 Date = 20190602 02/06 15:10:35 Construct from filename date 02/06 15:10:35 Destination: c:\Davantis\CRAServer\\SITE_31\\20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_151026_11.mp4 02/06 15:10:35 Destination file not found 02/06 15:10:35 http://192.168.26.100:21000/20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_151026_11.mp4 02/06 15:10:35 c:\Davantis\CRAServer\\SITE_31\\20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_151026_11.mp4 02/06 15:10:36 DownloadFile ok... checking file destination 02/06 15:10:36 URLDownloadToFile ok 02/06 15:10:37 Video .sig downloaded ok! 02/06 15:10:37 Snapshot .sig downloaded ok! 02/06 15:10:37 Elapsed download time: 00:00:03 02/06 15:10:37 UpdateVideoname 02/06 15:10:37 Updating: idalarmcra = 384355 02/06 15:10:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384355 ORDER BY IDALARMCRA DESC 02/06 15:10:37 Just before Update() 02/06 15:10:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:10:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:10:47 Don't have work. 02/06 15:10:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:10:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:11:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:11:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:11:17 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:11:18 [D] Query(30ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:11:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:11:28 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:11:28 Alarms with pending videos found! 02/06 15:11:28 Next idalarmcra = 384357 02/06 15:11:28 DownloadVideos::DownloadVideoOfAlarm 02/06 15:11:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 15:11:28 SAM|4716 02/06 15:11:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam2_Event2_20190602_151236_24.mp4|111891| 02/06 15:11:28 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam2_Event2_20190602_151236_24.mp4 02/06 15:11:28 Date = 20190602 02/06 15:11:28 Construct from filename date 02/06 15:11:28 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam2_Event2_20190602_151236_24.mp4 02/06 15:11:28 Destination file not found 02/06 15:11:28 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam2_Event2_20190602_151236_24.mp4 02/06 15:11:28 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam2_Event2_20190602_151236_24.mp4 02/06 15:11:30 DownloadFile ok... checking file destination 02/06 15:11:30 URLDownloadToFile ok 02/06 15:11:31 Video .sig downloaded ok! 02/06 15:11:31 Snapshot .sig downloaded ok! 02/06 15:11:31 Elapsed download time: 00:00:03 02/06 15:11:31 UpdateVideoname 02/06 15:11:31 Updating: idalarmcra = 384357 02/06 15:11:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384357 ORDER BY IDALARMCRA DESC 02/06 15:11:31 Just before Update() 02/06 15:11:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:11:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:11:41 Don't have work. 02/06 15:11:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:11:51 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:11:51 Alarms with pending videos found! 02/06 15:11:51 Next idalarmcra = 384358 02/06 15:11:51 DownloadVideos::DownloadVideoOfAlarm 02/06 15:11:51 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:11:51 SAM|1466 02/06 15:11:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151141_176.mp4|110776| 02/06 15:11:52 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151141_176.mp4 02/06 15:11:52 Date = 20190602 02/06 15:11:52 Construct from filename date 02/06 15:11:52 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151141_176.mp4 02/06 15:11:52 Destination file not found 02/06 15:11:52 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151141_176.mp4 02/06 15:11:52 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151141_176.mp4 02/06 15:11:52 DownloadFile ok... checking file destination 02/06 15:11:52 URLDownloadToFile ok 02/06 15:11:52 Video .sig downloaded ok! 02/06 15:11:52 Snapshot .sig downloaded ok! 02/06 15:11:52 Elapsed download time: 00:00:01 02/06 15:11:52 UpdateVideoname 02/06 15:11:52 Updating: idalarmcra = 384358 02/06 15:11:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384358 ORDER BY IDALARMCRA DESC 02/06 15:11:52 Just before Update() 02/06 15:12:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:12:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:12:03 Don't have work. 02/06 15:12:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:12:13 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:12:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:12:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:12:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:12:33 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:12:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:12:43 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:12:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:12:53 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:13:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:13:03 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:13:03 Alarms with pending videos found! 02/06 15:13:03 Next idalarmcra = 384359 02/06 15:13:03 DownloadVideos::DownloadVideoOfAlarm 02/06 15:13:03 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 15:13:03 SAM|6107 02/06 15:13:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_151253_4.mp4|108958| 02/06 15:13:03 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_151253_4.mp4 02/06 15:13:03 Date = 20190602 02/06 15:13:03 Construct from filename date 02/06 15:13:03 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_151253_4.mp4 02/06 15:13:03 Destination file not found 02/06 15:13:03 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_151253_4.mp4 02/06 15:13:03 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_151253_4.mp4 02/06 15:13:06 DownloadFile ok... checking file destination 02/06 15:13:06 URLDownloadToFile ok 02/06 15:13:06 Video .sig downloaded ok! 02/06 15:13:06 Snapshot .sig downloaded ok! 02/06 15:13:06 Elapsed download time: 00:00:03 02/06 15:13:07 UpdateVideoname 02/06 15:13:07 Updating: idalarmcra = 384359 02/06 15:13:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384359 ORDER BY IDALARMCRA DESC 02/06 15:13:07 Just before Update() 02/06 15:13:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:13:17 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:13:17 Don't have work. 02/06 15:13:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:13:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:13:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:13:37 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:13:37 Alarms with pending videos found! 02/06 15:13:37 Next idalarmcra = 384360 02/06 15:13:37 DownloadVideos::DownloadVideoOfAlarm 02/06 15:13:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 15:13:37 SAM|22293 02/06 15:13:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:13:37 NOK answer received 02/06 15:13:37 UpdateVideoname 02/06 15:13:37 Updating: idalarmcra = 384360 02/06 15:13:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384360 ORDER BY IDALARMCRA DESC 02/06 15:13:37 Just before Update() 02/06 15:13:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:13:48 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:13:48 Alarms with pending videos found! 02/06 15:13:48 Next idalarmcra = 384360 02/06 15:13:48 DownloadVideos::DownloadVideoOfAlarm 02/06 15:13:48 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 15:13:48 SAM|22293 02/06 15:13:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_151813_5.mp4|118598| 02/06 15:13:48 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_151813_5.mp4 02/06 15:13:48 Date = 20190602 02/06 15:13:48 Construct from filename date 02/06 15:13:48 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_151813_5.mp4 02/06 15:13:48 Destination file not found 02/06 15:13:48 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_151813_5.mp4 02/06 15:13:48 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_151813_5.mp4 02/06 15:13:49 DownloadFile ok... checking file destination 02/06 15:13:49 URLDownloadToFile ok 02/06 15:13:49 Video .sig downloaded ok! 02/06 15:13:49 Snapshot .sig downloaded ok! 02/06 15:13:49 Elapsed download time: 00:00:01 02/06 15:13:50 UpdateVideoname 02/06 15:13:50 Updating: idalarmcra = 384360 02/06 15:13:50 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384360 ORDER BY IDALARMCRA DESC 02/06 15:13:50 Just before Update() 02/06 15:14:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:14:00 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:14:00 Don't have work. 02/06 15:14:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:14:10 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:14:10 Alarms with pending videos found! 02/06 15:14:10 Next idalarmcra = 384361 02/06 15:14:10 DownloadVideos::DownloadVideoOfAlarm 02/06 15:14:10 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:14:10 SAM|1467 02/06 15:14:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:14:10 NOK answer received 02/06 15:14:10 UpdateVideoname 02/06 15:14:10 Updating: idalarmcra = 384361 02/06 15:14:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384361 ORDER BY IDALARMCRA DESC 02/06 15:14:10 Just before Update() 02/06 15:14:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:14:20 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:14:20 Alarms with pending videos found! 02/06 15:14:20 Next idalarmcra = 384362 02/06 15:14:20 DownloadVideos::DownloadVideoOfAlarm 02/06 15:14:20 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:14:20 SAM|1142 02/06 15:14:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151326_52.mp4|108740| 02/06 15:14:21 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151326_52.mp4 02/06 15:14:21 Date = 20190602 02/06 15:14:21 Construct from filename date 02/06 15:14:21 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151326_52.mp4 02/06 15:14:21 Destination file not found 02/06 15:14:21 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151326_52.mp4 02/06 15:14:21 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151326_52.mp4 02/06 15:14:23 DownloadFile ok... checking file destination 02/06 15:14:23 URLDownloadToFile ok 02/06 15:14:23 Video .sig downloaded ok! 02/06 15:14:24 Snapshot .sig downloaded ok! 02/06 15:14:24 Elapsed download time: 00:00:04 02/06 15:14:24 UpdateVideoname 02/06 15:14:24 Updating: idalarmcra = 384362 02/06 15:14:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384362 ORDER BY IDALARMCRA DESC 02/06 15:14:24 Just before Update() 02/06 15:14:24 Next idalarmcra = 384361 02/06 15:14:24 DownloadVideos::DownloadVideoOfAlarm 02/06 15:14:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:14:24 SAM|1467 02/06 15:14:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151407_210.mp4|104383| 02/06 15:14:24 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151407_210.mp4 02/06 15:14:24 Date = 20190602 02/06 15:14:24 Construct from filename date 02/06 15:14:24 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151407_210.mp4 02/06 15:14:24 Destination file not found 02/06 15:14:24 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151407_210.mp4 02/06 15:14:24 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151407_210.mp4 02/06 15:14:25 DownloadFile ok... checking file destination 02/06 15:14:25 URLDownloadToFile ok 02/06 15:14:25 Video .sig downloaded ok! 02/06 15:14:25 Snapshot .sig downloaded ok! 02/06 15:14:25 Elapsed download time: 00:00:01 02/06 15:14:25 UpdateVideoname 02/06 15:14:25 Updating: idalarmcra = 384361 02/06 15:14:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384361 ORDER BY IDALARMCRA DESC 02/06 15:14:25 Just before Update() 02/06 15:14:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:14:35 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:14:35 Alarms with pending videos found! 02/06 15:14:35 Next idalarmcra = 384363 02/06 15:14:35 DownloadVideos::DownloadVideoOfAlarm 02/06 15:14:35 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:14:35 SAM|1468 02/06 15:14:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151424_150.mp4|101366| 02/06 15:14:36 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151424_150.mp4 02/06 15:14:36 Date = 20190602 02/06 15:14:36 Construct from filename date 02/06 15:14:36 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151424_150.mp4 02/06 15:14:36 Destination file not found 02/06 15:14:36 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151424_150.mp4 02/06 15:14:36 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151424_150.mp4 02/06 15:14:36 DownloadFile ok... checking file destination 02/06 15:14:36 URLDownloadToFile ok 02/06 15:14:36 Video .sig downloaded ok! 02/06 15:14:36 Snapshot .sig downloaded ok! 02/06 15:14:36 Elapsed download time: 00:00:01 02/06 15:14:36 UpdateVideoname 02/06 15:14:36 Updating: idalarmcra = 384363 02/06 15:14:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384363 ORDER BY IDALARMCRA DESC 02/06 15:14:36 Just before Update() 02/06 15:14:46 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:14:46 [D] Query(30ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:14:46 Don't have work. 02/06 15:14:56 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:14:56 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:14:56 Alarms with pending videos found! 02/06 15:14:56 Next idalarmcra = 384366 02/06 15:14:56 DownloadVideos::DownloadVideoOfAlarm 02/06 15:14:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:14:56 SAM|1470 02/06 15:14:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151444_151.mp4|104306| 02/06 15:14:57 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151444_151.mp4 02/06 15:14:57 Date = 20190602 02/06 15:14:57 Construct from filename date 02/06 15:14:57 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151444_151.mp4 02/06 15:14:57 Destination file not found 02/06 15:14:57 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151444_151.mp4 02/06 15:14:57 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151444_151.mp4 02/06 15:14:57 DownloadFile ok... checking file destination 02/06 15:14:57 URLDownloadToFile ok 02/06 15:14:57 Video .sig downloaded ok! 02/06 15:14:57 Snapshot .sig downloaded ok! 02/06 15:14:57 Elapsed download time: 00:00:01 02/06 15:14:57 UpdateVideoname 02/06 15:14:57 Updating: idalarmcra = 384366 02/06 15:14:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384366 ORDER BY IDALARMCRA DESC 02/06 15:14:57 Just before Update() 02/06 15:14:57 Next idalarmcra = 384365 02/06 15:14:57 DownloadVideos::DownloadVideoOfAlarm 02/06 15:14:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:14:57 SAM|1471 02/06 15:14:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151444_177.mp4|107451| 02/06 15:14:57 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151444_177.mp4 02/06 15:14:57 Date = 20190602 02/06 15:14:57 Construct from filename date 02/06 15:14:57 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151444_177.mp4 02/06 15:14:57 Destination file not found 02/06 15:14:57 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151444_177.mp4 02/06 15:14:57 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151444_177.mp4 02/06 15:14:57 DownloadFile ok... checking file destination 02/06 15:14:57 URLDownloadToFile ok 02/06 15:14:57 Video .sig downloaded ok! 02/06 15:14:58 Snapshot .sig downloaded ok! 02/06 15:14:58 Elapsed download time: 00:00:01 02/06 15:14:58 UpdateVideoname 02/06 15:14:58 Updating: idalarmcra = 384365 02/06 15:14:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384365 ORDER BY IDALARMCRA DESC 02/06 15:14:58 Just before Update() 02/06 15:14:58 Next idalarmcra = 384364 02/06 15:14:58 DownloadVideos::DownloadVideoOfAlarm 02/06 15:14:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:14:58 SAM|1469 02/06 15:14:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151443_211.mp4|96465| 02/06 15:14:58 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151443_211.mp4 02/06 15:14:58 Date = 20190602 02/06 15:14:58 Construct from filename date 02/06 15:14:58 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151443_211.mp4 02/06 15:14:58 Destination file not found 02/06 15:14:58 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151443_211.mp4 02/06 15:14:58 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151443_211.mp4 02/06 15:14:58 DownloadFile ok... checking file destination 02/06 15:14:58 URLDownloadToFile ok 02/06 15:14:58 Video .sig downloaded ok! 02/06 15:14:58 Snapshot .sig downloaded ok! 02/06 15:14:58 Elapsed download time: 00:00:00 02/06 15:14:59 UpdateVideoname 02/06 15:14:59 Updating: idalarmcra = 384364 02/06 15:14:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384364 ORDER BY IDALARMCRA DESC 02/06 15:14:59 Just before Update() 02/06 15:15:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:15:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:15:09 Don't have work. 02/06 15:15:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:15:19 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:15:19 Alarms with pending videos found! 02/06 15:15:19 Next idalarmcra = 384367 02/06 15:15:19 DownloadVideos::DownloadVideoOfAlarm 02/06 15:15:19 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 15:15:19 SAM|10902 02/06 15:15:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_141505_132.mp4|98155| 02/06 15:15:19 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_141505_132.mp4 02/06 15:15:19 Date = 20190602 02/06 15:15:19 Construct from filename date 02/06 15:15:19 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_141505_132.mp4 02/06 15:15:19 Destination file not found 02/06 15:15:19 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_141505_132.mp4 02/06 15:15:19 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_141505_132.mp4 02/06 15:15:21 DownloadFile ok... checking file destination 02/06 15:15:21 URLDownloadToFile ok 02/06 15:15:21 Video .sig downloaded ok! 02/06 15:15:22 Snapshot .sig downloaded ok! 02/06 15:15:22 Elapsed download time: 00:00:03 02/06 15:15:22 UpdateVideoname 02/06 15:15:22 Updating: idalarmcra = 384367 02/06 15:15:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384367 ORDER BY IDALARMCRA DESC 02/06 15:15:22 Just before Update() 02/06 15:15:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:15:32 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:15:32 Alarms with pending videos found! 02/06 15:15:32 Next idalarmcra = 384370 02/06 15:15:32 DownloadVideos::DownloadVideoOfAlarm 02/06 15:15:32 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:15:32 SAM|22975 02/06 15:15:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:15:32 NOK answer received 02/06 15:15:32 UpdateVideoname 02/06 15:15:32 Updating: idalarmcra = 384370 02/06 15:15:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384370 ORDER BY IDALARMCRA DESC 02/06 15:15:32 Just before Update() 02/06 15:15:32 Next idalarmcra = 384369 02/06 15:15:32 DownloadVideos::DownloadVideoOfAlarm 02/06 15:15:32 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 15:15:32 SAM|10903 02/06 15:15:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_141527_133.mp4|92779| 02/06 15:15:33 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_141527_133.mp4 02/06 15:15:33 Date = 20190602 02/06 15:15:33 Construct from filename date 02/06 15:15:33 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_141527_133.mp4 02/06 15:15:33 Destination file not found 02/06 15:15:33 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_141527_133.mp4 02/06 15:15:33 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_141527_133.mp4 02/06 15:15:35 DownloadFile ok... checking file destination 02/06 15:15:35 URLDownloadToFile ok 02/06 15:15:35 Video .sig downloaded ok! 02/06 15:15:35 Snapshot .sig downloaded ok! 02/06 15:15:35 Elapsed download time: 00:00:03 02/06 15:15:35 UpdateVideoname 02/06 15:15:35 Updating: idalarmcra = 384369 02/06 15:15:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384369 ORDER BY IDALARMCRA DESC 02/06 15:15:35 Just before Update() 02/06 15:15:35 Next idalarmcra = 384368 02/06 15:15:35 DownloadVideos::DownloadVideoOfAlarm 02/06 15:15:35 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:15:35 SAM|1472 02/06 15:15:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151522_178.mp4|98476| 02/06 15:15:35 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151522_178.mp4 02/06 15:15:35 Date = 20190602 02/06 15:15:35 Construct from filename date 02/06 15:15:35 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151522_178.mp4 02/06 15:15:35 Destination file not found 02/06 15:15:35 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151522_178.mp4 02/06 15:15:35 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151522_178.mp4 02/06 15:15:35 DownloadFile ok... checking file destination 02/06 15:15:35 URLDownloadToFile ok 02/06 15:15:36 Video .sig downloaded ok! 02/06 15:15:36 Snapshot .sig downloaded ok! 02/06 15:15:36 Elapsed download time: 00:00:01 02/06 15:15:36 UpdateVideoname 02/06 15:15:36 Updating: idalarmcra = 384368 02/06 15:15:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384368 ORDER BY IDALARMCRA DESC 02/06 15:15:36 Just before Update() 02/06 15:15:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:15:46 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:15:46 Alarms with pending videos found! 02/06 15:15:46 Next idalarmcra = 384371 02/06 15:15:46 DownloadVideos::DownloadVideoOfAlarm 02/06 15:15:46 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:15:46 SAM|1473 02/06 15:15:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:15:46 NOK answer received 02/06 15:15:46 UpdateVideoname 02/06 15:15:46 Updating: idalarmcra = 384371 02/06 15:15:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384371 ORDER BY IDALARMCRA DESC 02/06 15:15:46 Just before Update() 02/06 15:15:46 Next idalarmcra = 384370 02/06 15:15:46 DownloadVideos::DownloadVideoOfAlarm 02/06 15:15:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:15:46 SAM|22975 02/06 15:15:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151543_69.mp4|111488| 02/06 15:15:46 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151543_69.mp4 02/06 15:15:46 Date = 20190602 02/06 15:15:46 Construct from filename date 02/06 15:15:46 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151543_69.mp4 02/06 15:15:46 Destination file not found 02/06 15:15:46 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151543_69.mp4 02/06 15:15:46 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151543_69.mp4 02/06 15:15:47 DownloadFile ok... checking file destination 02/06 15:15:47 URLDownloadToFile ok 02/06 15:15:48 Video .sig downloaded ok! 02/06 15:15:48 Snapshot .sig downloaded ok! 02/06 15:15:48 Elapsed download time: 00:00:02 02/06 15:15:48 UpdateVideoname 02/06 15:15:48 Updating: idalarmcra = 384370 02/06 15:15:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384370 ORDER BY IDALARMCRA DESC 02/06 15:15:48 Just before Update() 02/06 15:15:58 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:15:58 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:15:58 Alarms with pending videos found! 02/06 15:15:58 Next idalarmcra = 384371 02/06 15:15:58 DownloadVideos::DownloadVideoOfAlarm 02/06 15:15:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:15:58 SAM|1473 02/06 15:15:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151543_179.mp4|105991| 02/06 15:15:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151543_179.mp4 02/06 15:15:59 Date = 20190602 02/06 15:15:59 Construct from filename date 02/06 15:15:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151543_179.mp4 02/06 15:15:59 Destination file not found 02/06 15:15:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151543_179.mp4 02/06 15:15:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151543_179.mp4 02/06 15:15:59 DownloadFile ok... checking file destination 02/06 15:15:59 URLDownloadToFile ok 02/06 15:15:59 Video .sig downloaded ok! 02/06 15:15:59 Snapshot .sig downloaded ok! 02/06 15:15:59 Elapsed download time: 00:00:01 02/06 15:15:59 UpdateVideoname 02/06 15:15:59 Updating: idalarmcra = 384371 02/06 15:15:59 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384371 ORDER BY IDALARMCRA DESC 02/06 15:15:59 Just before Update() 02/06 15:16:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:16:10 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:16:10 Alarms with pending videos found! 02/06 15:16:10 Next idalarmcra = 384377 02/06 15:16:10 DownloadVideos::DownloadVideoOfAlarm 02/06 15:16:10 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:16:10 SAM|1476 02/06 15:16:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151559_180.mp4|108739| 02/06 15:16:10 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151559_180.mp4 02/06 15:16:10 Date = 20190602 02/06 15:16:10 Construct from filename date 02/06 15:16:10 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151559_180.mp4 02/06 15:16:10 Destination file not found 02/06 15:16:10 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151559_180.mp4 02/06 15:16:10 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_151559_180.mp4 02/06 15:16:10 DownloadFile ok... checking file destination 02/06 15:16:10 URLDownloadToFile ok 02/06 15:16:10 Video .sig downloaded ok! 02/06 15:16:11 Snapshot .sig downloaded ok! 02/06 15:16:11 Elapsed download time: 00:00:01 02/06 15:16:11 UpdateVideoname 02/06 15:16:11 Updating: idalarmcra = 384377 02/06 15:16:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384377 ORDER BY IDALARMCRA DESC 02/06 15:16:11 Just before Update() 02/06 15:16:11 Next idalarmcra = 384376 02/06 15:16:11 DownloadVideos::DownloadVideoOfAlarm 02/06 15:16:11 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:16:11 SAM|1475 02/06 15:16:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151557_212.mp4|105148| 02/06 15:16:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151557_212.mp4 02/06 15:16:11 Date = 20190602 02/06 15:16:11 Construct from filename date 02/06 15:16:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151557_212.mp4 02/06 15:16:11 Destination file not found 02/06 15:16:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151557_212.mp4 02/06 15:16:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_151557_212.mp4 02/06 15:16:11 DownloadFile ok... checking file destination 02/06 15:16:11 URLDownloadToFile ok 02/06 15:16:11 Video .sig downloaded ok! 02/06 15:16:11 Snapshot .sig downloaded ok! 02/06 15:16:11 Elapsed download time: 00:00:00 02/06 15:16:11 UpdateVideoname 02/06 15:16:11 Updating: idalarmcra = 384376 02/06 15:16:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384376 ORDER BY IDALARMCRA DESC 02/06 15:16:11 Just before Update() 02/06 15:16:11 Next idalarmcra = 384375 02/06 15:16:11 DownloadVideos::DownloadVideoOfAlarm 02/06 15:16:11 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:16:11 SAM|1474 02/06 15:16:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151555_152.mp4|104926| 02/06 15:16:12 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151555_152.mp4 02/06 15:16:12 Date = 20190602 02/06 15:16:12 Construct from filename date 02/06 15:16:12 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151555_152.mp4 02/06 15:16:12 Destination file not found 02/06 15:16:12 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151555_152.mp4 02/06 15:16:12 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_151555_152.mp4 02/06 15:16:12 DownloadFile ok... checking file destination 02/06 15:16:12 URLDownloadToFile ok 02/06 15:16:12 Video .sig downloaded ok! 02/06 15:16:12 Snapshot .sig downloaded ok! 02/06 15:16:12 Elapsed download time: 00:00:01 02/06 15:16:13 UpdateVideoname 02/06 15:16:13 Updating: idalarmcra = 384375 02/06 15:16:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384375 ORDER BY IDALARMCRA DESC 02/06 15:16:13 Just before Update() 02/06 15:16:13 Next idalarmcra = 384374 02/06 15:16:13 DownloadVideos::DownloadVideoOfAlarm 02/06 15:16:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:16:13 SAM|755 02/06 15:16:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_151559_113.mp4|100656| 02/06 15:16:13 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_151559_113.mp4 02/06 15:16:13 Date = 20190602 02/06 15:16:13 Construct from filename date 02/06 15:16:13 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_151559_113.mp4 02/06 15:16:13 Destination file not found 02/06 15:16:13 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_151559_113.mp4 02/06 15:16:13 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_151559_113.mp4 02/06 15:16:17 DownloadFile ok... checking file destination 02/06 15:16:17 URLDownloadToFile ok 02/06 15:16:17 Video .sig downloaded ok! 02/06 15:16:17 Snapshot .sig downloaded ok! 02/06 15:16:17 Elapsed download time: 00:00:04 02/06 15:16:17 UpdateVideoname 02/06 15:16:17 Updating: idalarmcra = 384374 02/06 15:16:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384374 ORDER BY IDALARMCRA DESC 02/06 15:16:17 Just before Update() 02/06 15:16:17 Next idalarmcra = 384373 02/06 15:16:17 DownloadVideos::DownloadVideoOfAlarm 02/06 15:16:17 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 37 02/06 15:16:17 SAM|2516 02/06 15:16:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_151558_19.mp4|111655| 02/06 15:16:18 FilenameSrc = 20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_151558_19.mp4 02/06 15:16:18 Date = 20190602 02/06 15:16:18 Construct from filename date 02/06 15:16:18 Destination: c:\Davantis\CRAServer\\SITE_37\\20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_151558_19.mp4 02/06 15:16:18 Destination file not found 02/06 15:16:18 http://192.168.34.100:21000/20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_151558_19.mp4 02/06 15:16:18 c:\Davantis\CRAServer\\SITE_37\\20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_151558_19.mp4 02/06 15:16:19 DownloadFile ok... checking file destination 02/06 15:16:19 URLDownloadToFile ok 02/06 15:16:20 Video .sig downloaded ok! 02/06 15:16:20 Snapshot .sig downloaded ok! 02/06 15:16:20 Elapsed download time: 00:00:03 02/06 15:16:20 UpdateVideoname 02/06 15:16:20 Updating: idalarmcra = 384373 02/06 15:16:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384373 ORDER BY IDALARMCRA DESC 02/06 15:16:20 Just before Update() 02/06 15:16:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:16:30 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:16:30 Alarms with pending videos found! 02/06 15:16:30 Next idalarmcra = 384381 02/06 15:16:30 DownloadVideos::DownloadVideoOfAlarm 02/06 15:16:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 15:16:30 SAM|6108 02/06 15:16:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_151622_5.mp4|97164| 02/06 15:16:30 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_151622_5.mp4 02/06 15:16:30 Date = 20190602 02/06 15:16:30 Construct from filename date 02/06 15:16:30 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_151622_5.mp4 02/06 15:16:30 Destination file not found 02/06 15:16:30 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_151622_5.mp4 02/06 15:16:30 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_151622_5.mp4 02/06 15:16:33 DownloadFile ok... checking file destination 02/06 15:16:33 URLDownloadToFile ok 02/06 15:16:33 Video .sig downloaded ok! 02/06 15:16:34 Snapshot .sig downloaded ok! 02/06 15:16:34 Elapsed download time: 00:00:04 02/06 15:16:34 UpdateVideoname 02/06 15:16:34 Updating: idalarmcra = 384381 02/06 15:16:34 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384381 ORDER BY IDALARMCRA DESC 02/06 15:16:34 Just before Update() 02/06 15:16:34 Next idalarmcra = 384380 02/06 15:16:34 DownloadVideos::DownloadVideoOfAlarm 02/06 15:16:34 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:16:34 SAM|1143 02/06 15:16:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_151536_433.mp4|108184| 02/06 15:16:34 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_151536_433.mp4 02/06 15:16:34 Date = 20190602 02/06 15:16:34 Construct from filename date 02/06 15:16:34 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_151536_433.mp4 02/06 15:16:34 Destination file not found 02/06 15:16:34 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_151536_433.mp4 02/06 15:16:34 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_151536_433.mp4 02/06 15:16:37 DownloadFile ok... checking file destination 02/06 15:16:37 URLDownloadToFile ok 02/06 15:16:38 Video .sig downloaded ok! 02/06 15:16:38 Snapshot .sig downloaded ok! 02/06 15:16:38 Elapsed download time: 00:00:04 02/06 15:16:38 UpdateVideoname 02/06 15:16:38 Updating: idalarmcra = 384380 02/06 15:16:38 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384380 ORDER BY IDALARMCRA DESC 02/06 15:16:38 Rollback executed. 02/06 15:16:38 RecordSet closed. 02/06 15:16:38 CheckDDBB 02/06 15:16:38 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:16:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:16:48 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:16:48 Alarms with pending videos found! 02/06 15:16:48 Next idalarmcra = 384383 02/06 15:16:48 DownloadVideos::DownloadVideoOfAlarm 02/06 15:16:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 15:16:48 SAM|2077 02/06 15:16:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_151635_101.mp4|111130| 02/06 15:16:48 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_151635_101.mp4 02/06 15:16:48 Date = 20190602 02/06 15:16:48 Construct from filename date 02/06 15:16:48 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_151635_101.mp4 02/06 15:16:48 Destination file not found 02/06 15:16:48 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_151635_101.mp4 02/06 15:16:48 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_151635_101.mp4 02/06 15:16:51 DownloadFile ok... checking file destination 02/06 15:16:51 URLDownloadToFile ok 02/06 15:16:51 Video .sig downloaded ok! 02/06 15:16:51 Snapshot .sig downloaded ok! 02/06 15:16:51 Elapsed download time: 00:00:03 02/06 15:16:51 UpdateVideoname 02/06 15:16:51 Updating: idalarmcra = 384383 02/06 15:16:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384383 ORDER BY IDALARMCRA DESC 02/06 15:16:51 Just before Update() 02/06 15:16:51 Next idalarmcra = 384382 02/06 15:16:51 DownloadVideos::DownloadVideoOfAlarm 02/06 15:16:51 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:16:51 SAM|1144 02/06 15:16:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151550_53.mp4|101044| 02/06 15:16:52 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151550_53.mp4 02/06 15:16:52 Date = 20190602 02/06 15:16:52 Construct from filename date 02/06 15:16:52 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151550_53.mp4 02/06 15:16:52 Destination file not found 02/06 15:16:52 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151550_53.mp4 02/06 15:16:52 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151550_53.mp4 02/06 15:16:57 DownloadFile ok... checking file destination 02/06 15:16:57 URLDownloadToFile ok 02/06 15:16:57 Video .sig downloaded ok! 02/06 15:16:57 Snapshot .sig downloaded ok! 02/06 15:16:57 Elapsed download time: 00:00:06 02/06 15:16:57 UpdateVideoname 02/06 15:16:57 Updating: idalarmcra = 384382 02/06 15:16:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384382 ORDER BY IDALARMCRA DESC 02/06 15:16:57 Just before Update() 02/06 15:16:57 Next idalarmcra = 384379 02/06 15:16:57 DownloadVideos::DownloadVideoOfAlarm 02/06 15:16:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:16:57 SAM|756 02/06 15:16:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_151621_114.mp4|104675| 02/06 15:16:57 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_151621_114.mp4 02/06 15:16:57 Date = 20190602 02/06 15:16:57 Construct from filename date 02/06 15:16:57 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_151621_114.mp4 02/06 15:16:57 Destination file not found 02/06 15:16:57 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_151621_114.mp4 02/06 15:16:57 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_151621_114.mp4 02/06 15:17:01 DownloadFile ok... checking file destination 02/06 15:17:01 URLDownloadToFile ok 02/06 15:17:01 Video .sig downloaded ok! 02/06 15:17:01 Snapshot .sig downloaded ok! 02/06 15:17:01 Elapsed download time: 00:00:04 02/06 15:17:01 UpdateVideoname 02/06 15:17:01 Updating: idalarmcra = 384379 02/06 15:17:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384379 ORDER BY IDALARMCRA DESC 02/06 15:17:01 Just before Update() 02/06 15:17:01 Next idalarmcra = 384378 02/06 15:17:01 DownloadVideos::DownloadVideoOfAlarm 02/06 15:17:01 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 31 02/06 15:17:01 SAM|13171 02/06 15:17:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_151606_12.mp4|109470| 02/06 15:17:02 FilenameSrc = 20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_151606_12.mp4 02/06 15:17:02 Date = 20190602 02/06 15:17:02 Construct from filename date 02/06 15:17:02 Destination: c:\Davantis\CRAServer\\SITE_31\\20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_151606_12.mp4 02/06 15:17:02 Destination file not found 02/06 15:17:02 http://192.168.26.100:21000/20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_151606_12.mp4 02/06 15:17:02 c:\Davantis\CRAServer\\SITE_31\\20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_151606_12.mp4 02/06 15:17:03 DownloadFile ok... checking file destination 02/06 15:17:03 URLDownloadToFile ok 02/06 15:17:04 Video .sig downloaded ok! 02/06 15:17:04 Snapshot .sig downloaded ok! 02/06 15:17:04 Elapsed download time: 00:00:03 02/06 15:17:04 UpdateVideoname 02/06 15:17:04 Updating: idalarmcra = 384378 02/06 15:17:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384378 ORDER BY IDALARMCRA DESC 02/06 15:17:04 Just before Update() 02/06 15:17:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:17:14 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:17:14 Alarms with pending videos found! 02/06 15:17:14 Next idalarmcra = 384386 02/06 15:17:14 DownloadVideos::DownloadVideoOfAlarm 02/06 15:17:14 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:17:14 SAM|1147 02/06 15:17:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_151615_182.mp4|107079| 02/06 15:17:15 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_151615_182.mp4 02/06 15:17:15 Date = 20190602 02/06 15:17:15 Construct from filename date 02/06 15:17:15 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_151615_182.mp4 02/06 15:17:15 Destination file not found 02/06 15:17:15 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_151615_182.mp4 02/06 15:17:15 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_151615_182.mp4 02/06 15:17:18 DownloadFile ok... checking file destination 02/06 15:17:18 URLDownloadToFile ok 02/06 15:17:18 Video .sig downloaded ok! 02/06 15:17:18 Snapshot .sig downloaded ok! 02/06 15:17:18 Elapsed download time: 00:00:04 02/06 15:17:18 UpdateVideoname 02/06 15:17:18 Updating: idalarmcra = 384386 02/06 15:17:18 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384386 ORDER BY IDALARMCRA DESC 02/06 15:17:18 Rollback executed. 02/06 15:17:18 RecordSet closed. 02/06 15:17:18 CheckDDBB 02/06 15:17:18 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:17:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:17:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:17:28 Alarms with pending videos found! 02/06 15:17:28 Next idalarmcra = 384387 02/06 15:17:28 DownloadVideos::DownloadVideoOfAlarm 02/06 15:17:28 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:17:28 SAM|22976 02/06 15:17:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151738_70.mp4|111645| 02/06 15:17:29 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151738_70.mp4 02/06 15:17:29 Date = 20190602 02/06 15:17:29 Construct from filename date 02/06 15:17:29 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151738_70.mp4 02/06 15:17:29 Destination file not found 02/06 15:17:29 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151738_70.mp4 02/06 15:17:29 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151738_70.mp4 02/06 15:17:30 DownloadFile ok... checking file destination 02/06 15:17:30 URLDownloadToFile ok 02/06 15:17:30 Video .sig downloaded ok! 02/06 15:17:31 Snapshot .sig downloaded ok! 02/06 15:17:31 Elapsed download time: 00:00:03 02/06 15:17:31 UpdateVideoname 02/06 15:17:31 Updating: idalarmcra = 384387 02/06 15:17:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384387 ORDER BY IDALARMCRA DESC 02/06 15:17:31 Just before Update() 02/06 15:17:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:17:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:17:41 Don't have work. 02/06 15:17:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:17:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:18:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:18:01 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:18:01 Alarms with pending videos found! 02/06 15:18:01 Next idalarmcra = 384389 02/06 15:18:01 DownloadVideos::DownloadVideoOfAlarm 02/06 15:18:01 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:18:01 SAM|22977 02/06 15:18:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151808_71.mp4|111174| 02/06 15:18:01 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151808_71.mp4 02/06 15:18:01 Date = 20190602 02/06 15:18:01 Construct from filename date 02/06 15:18:01 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151808_71.mp4 02/06 15:18:01 Destination file not found 02/06 15:18:01 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151808_71.mp4 02/06 15:18:01 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151808_71.mp4 02/06 15:18:03 DownloadFile ok... checking file destination 02/06 15:18:03 URLDownloadToFile ok 02/06 15:18:03 Video .sig downloaded ok! 02/06 15:18:03 Snapshot .sig downloaded ok! 02/06 15:18:03 Elapsed download time: 00:00:02 02/06 15:18:04 UpdateVideoname 02/06 15:18:04 Updating: idalarmcra = 384389 02/06 15:18:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384389 ORDER BY IDALARMCRA DESC 02/06 15:18:04 Just before Update() 02/06 15:18:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:18:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:18:14 Don't have work. 02/06 15:18:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:18:24 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:18:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:18:34 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:18:34 Alarms with pending videos found! 02/06 15:18:34 Next idalarmcra = 384390 02/06 15:18:34 DownloadVideos::DownloadVideoOfAlarm 02/06 15:18:34 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:18:34 SAM|22978 02/06 15:18:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151844_72.mp4|114276| 02/06 15:18:34 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151844_72.mp4 02/06 15:18:34 Date = 20190602 02/06 15:18:34 Construct from filename date 02/06 15:18:34 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151844_72.mp4 02/06 15:18:34 Destination file not found 02/06 15:18:34 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151844_72.mp4 02/06 15:18:34 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_151844_72.mp4 02/06 15:18:36 DownloadFile ok... checking file destination 02/06 15:18:36 URLDownloadToFile ok 02/06 15:18:36 Video .sig downloaded ok! 02/06 15:18:37 Snapshot .sig downloaded ok! 02/06 15:18:37 Elapsed download time: 00:00:03 02/06 15:18:37 UpdateVideoname 02/06 15:18:37 Updating: idalarmcra = 384390 02/06 15:18:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384390 ORDER BY IDALARMCRA DESC 02/06 15:18:37 Just before Update() 02/06 15:18:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:18:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:18:47 Don't have work. 02/06 15:18:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:18:57 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:18:57 Alarms with pending videos found! 02/06 15:18:57 Next idalarmcra = 384391 02/06 15:18:57 DownloadVideos::DownloadVideoOfAlarm 02/06 15:18:57 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 15:18:57 SAM|4717 02/06 15:18:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:18:58 NOK answer received 02/06 15:18:58 UpdateVideoname 02/06 15:18:58 Updating: idalarmcra = 384391 02/06 15:18:58 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384391 ORDER BY IDALARMCRA DESC 02/06 15:18:58 Just before Update() 02/06 15:19:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:19:08 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:19:08 Alarms with pending videos found! 02/06 15:19:08 Next idalarmcra = 384391 02/06 15:19:08 DownloadVideos::DownloadVideoOfAlarm 02/06 15:19:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 15:19:08 SAM|4717 02/06 15:19:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_152020_156.mp4|113707| 02/06 15:19:08 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_152020_156.mp4 02/06 15:19:08 Date = 20190602 02/06 15:19:08 Construct from filename date 02/06 15:19:08 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_152020_156.mp4 02/06 15:19:08 Destination file not found 02/06 15:19:08 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_152020_156.mp4 02/06 15:19:08 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_152020_156.mp4 02/06 15:19:10 DownloadFile ok... checking file destination 02/06 15:19:10 URLDownloadToFile ok 02/06 15:19:10 Video .sig downloaded ok! 02/06 15:19:10 Snapshot .sig downloaded ok! 02/06 15:19:10 Elapsed download time: 00:00:02 02/06 15:19:11 UpdateVideoname 02/06 15:19:11 Updating: idalarmcra = 384391 02/06 15:19:11 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384391 ORDER BY IDALARMCRA DESC 02/06 15:19:11 Rollback executed. 02/06 15:19:11 RecordSet closed. 02/06 15:19:11 CheckDDBB 02/06 15:19:11 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:19:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:19:21 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:19:21 Alarms with pending videos found! 02/06 15:19:21 Next idalarmcra = 384393 02/06 15:19:21 DownloadVideos::DownloadVideoOfAlarm 02/06 15:19:21 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 15:19:21 SAM|22294 02/06 15:19:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:19:21 NOK answer received 02/06 15:19:21 UpdateVideoname 02/06 15:19:21 Updating: idalarmcra = 384393 02/06 15:19:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384393 ORDER BY IDALARMCRA DESC 02/06 15:19:21 Just before Update() 02/06 15:19:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:19:31 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:19:31 Alarms with pending videos found! 02/06 15:19:31 Next idalarmcra = 384393 02/06 15:19:31 DownloadVideos::DownloadVideoOfAlarm 02/06 15:19:31 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 15:19:31 SAM|22294 02/06 15:19:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_152354_8.mp4|104162| 02/06 15:19:31 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_152354_8.mp4 02/06 15:19:31 Date = 20190602 02/06 15:19:31 Construct from filename date 02/06 15:19:31 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_152354_8.mp4 02/06 15:19:31 Destination file not found 02/06 15:19:31 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_152354_8.mp4 02/06 15:19:31 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam6_Event2_20190602_152354_8.mp4 02/06 15:19:33 DownloadFile ok... checking file destination 02/06 15:19:33 URLDownloadToFile ok 02/06 15:19:33 Video .sig downloaded ok! 02/06 15:19:34 Snapshot .sig downloaded ok! 02/06 15:19:34 Elapsed download time: 00:00:03 02/06 15:19:34 UpdateVideoname 02/06 15:19:34 Updating: idalarmcra = 384393 02/06 15:19:34 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384393 ORDER BY IDALARMCRA DESC 02/06 15:19:34 Just before Update() 02/06 15:19:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:19:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:19:44 Don't have work. 02/06 15:19:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:19:54 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:20:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:20:04 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:20:04 Alarms with pending videos found! 02/06 15:20:04 Next idalarmcra = 384394 02/06 15:20:04 DownloadVideos::DownloadVideoOfAlarm 02/06 15:20:04 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:20:04 SAM|22979 02/06 15:20:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_152009_73.mp4|112698| 02/06 15:20:05 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_152009_73.mp4 02/06 15:20:05 Date = 20190602 02/06 15:20:05 Construct from filename date 02/06 15:20:05 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_152009_73.mp4 02/06 15:20:05 Destination file not found 02/06 15:20:05 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_152009_73.mp4 02/06 15:20:05 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_152009_73.mp4 02/06 15:20:07 DownloadFile ok... checking file destination 02/06 15:20:07 URLDownloadToFile ok 02/06 15:20:08 Video .sig downloaded ok! 02/06 15:20:08 Snapshot .sig downloaded ok! 02/06 15:20:08 Elapsed download time: 00:00:04 02/06 15:20:08 UpdateVideoname 02/06 15:20:08 Updating: idalarmcra = 384394 02/06 15:20:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384394 ORDER BY IDALARMCRA DESC 02/06 15:20:08 Just before Update() 02/06 15:20:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:20:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:20:18 Don't have work. 02/06 15:20:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:20:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:20:28 Alarms with pending videos found! 02/06 15:20:28 Next idalarmcra = 384395 02/06 15:20:28 DownloadVideos::DownloadVideoOfAlarm 02/06 15:20:28 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:20:28 SAM|1148 02/06 15:20:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151929_55.mp4|108906| 02/06 15:20:29 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151929_55.mp4 02/06 15:20:29 Date = 20190602 02/06 15:20:29 Construct from filename date 02/06 15:20:29 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151929_55.mp4 02/06 15:20:29 Destination file not found 02/06 15:20:29 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151929_55.mp4 02/06 15:20:29 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151929_55.mp4 02/06 15:20:29 DownloadFile ok... checking file destination 02/06 15:20:29 URLDownloadToFile ok 02/06 15:20:29 Video .sig downloaded ok! 02/06 15:20:29 Snapshot .sig downloaded ok! 02/06 15:20:29 Elapsed download time: 00:00:01 02/06 15:20:29 UpdateVideoname 02/06 15:20:29 Updating: idalarmcra = 384395 02/06 15:20:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384395 ORDER BY IDALARMCRA DESC 02/06 15:20:29 Just before Update() 02/06 15:20:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:20:40 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:20:40 Alarms with pending videos found! 02/06 15:20:40 Next idalarmcra = 384396 02/06 15:20:40 DownloadVideos::DownloadVideoOfAlarm 02/06 15:20:40 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:20:40 SAM|1149 02/06 15:20:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151945_56.mp4|112627| 02/06 15:20:40 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151945_56.mp4 02/06 15:20:40 Date = 20190602 02/06 15:20:40 Construct from filename date 02/06 15:20:40 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151945_56.mp4 02/06 15:20:40 Destination file not found 02/06 15:20:40 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151945_56.mp4 02/06 15:20:40 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_151945_56.mp4 02/06 15:20:40 DownloadFile ok... checking file destination 02/06 15:20:40 URLDownloadToFile ok 02/06 15:20:40 Video .sig downloaded ok! 02/06 15:20:40 Snapshot .sig downloaded ok! 02/06 15:20:40 Elapsed download time: 00:00:00 02/06 15:20:40 UpdateVideoname 02/06 15:20:40 Updating: idalarmcra = 384396 02/06 15:20:40 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384396 ORDER BY IDALARMCRA DESC 02/06 15:20:40 Just before Update() 02/06 15:20:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:20:50 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:20:50 Don't have work. 02/06 15:21:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:21:00 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:21:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:21:11 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:21:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:21:21 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:21:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:21:31 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:21:31 Alarms with pending videos found! 02/06 15:21:31 Next idalarmcra = 384400 02/06 15:21:31 DownloadVideos::DownloadVideoOfAlarm 02/06 15:21:31 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:21:31 SAM|163135 02/06 15:21:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_153407_100.mp4|114526| 02/06 15:21:31 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_153407_100.mp4 02/06 15:21:31 Date = 20190602 02/06 15:21:31 Construct from filename date 02/06 15:21:31 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_153407_100.mp4 02/06 15:21:31 Destination file not found 02/06 15:21:31 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_153407_100.mp4 02/06 15:21:31 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_153407_100.mp4 02/06 15:21:32 DownloadFile ok... checking file destination 02/06 15:21:32 URLDownloadToFile ok 02/06 15:21:32 Video .sig downloaded ok! 02/06 15:21:32 Snapshot .sig downloaded ok! 02/06 15:21:32 Elapsed download time: 00:00:01 02/06 15:21:33 UpdateVideoname 02/06 15:21:33 Updating: idalarmcra = 384400 02/06 15:21:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384400 ORDER BY IDALARMCRA DESC 02/06 15:21:33 Just before Update() 02/06 15:21:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:21:43 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:21:43 Alarms with pending videos found! 02/06 15:21:43 Next idalarmcra = 384402 02/06 15:21:43 DownloadVideos::DownloadVideoOfAlarm 02/06 15:21:43 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:21:43 SAM|163136 02/06 15:21:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_153422_16.mp4|108124| 02/06 15:21:43 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_153422_16.mp4 02/06 15:21:43 Date = 20190602 02/06 15:21:43 Construct from filename date 02/06 15:21:43 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_153422_16.mp4 02/06 15:21:43 Destination file not found 02/06 15:21:43 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_153422_16.mp4 02/06 15:21:43 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_153422_16.mp4 02/06 15:21:44 DownloadFile ok... checking file destination 02/06 15:21:44 URLDownloadToFile ok 02/06 15:21:44 Video .sig downloaded ok! 02/06 15:21:44 Snapshot .sig downloaded ok! 02/06 15:21:44 Elapsed download time: 00:00:01 02/06 15:21:44 UpdateVideoname 02/06 15:21:44 Updating: idalarmcra = 384402 02/06 15:21:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384402 ORDER BY IDALARMCRA DESC 02/06 15:21:44 Just before Update() 02/06 15:21:44 Next idalarmcra = 384401 02/06 15:21:44 DownloadVideos::DownloadVideoOfAlarm 02/06 15:21:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:21:44 SAM|1477 02/06 15:21:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152136_153.mp4|97212| 02/06 15:21:44 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152136_153.mp4 02/06 15:21:44 Date = 20190602 02/06 15:21:44 Construct from filename date 02/06 15:21:44 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152136_153.mp4 02/06 15:21:44 Destination file not found 02/06 15:21:44 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152136_153.mp4 02/06 15:21:44 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152136_153.mp4 02/06 15:21:47 DownloadFile ok... checking file destination 02/06 15:21:47 URLDownloadToFile ok 02/06 15:21:47 Video .sig downloaded ok! 02/06 15:21:47 Snapshot .sig downloaded ok! 02/06 15:21:47 Elapsed download time: 00:00:03 02/06 15:21:47 UpdateVideoname 02/06 15:21:47 Updating: idalarmcra = 384401 02/06 15:21:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384401 ORDER BY IDALARMCRA DESC 02/06 15:21:47 Just before Update() 02/06 15:21:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:21:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:21:58 Don't have work. 02/06 15:22:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:22:08 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:22:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:22:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:22:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:22:28 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:22:28 Alarms with pending videos found! 02/06 15:22:28 Next idalarmcra = 384404 02/06 15:22:28 DownloadVideos::DownloadVideoOfAlarm 02/06 15:22:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:22:28 SAM|1478 02/06 15:22:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152219_181.mp4|108522| 02/06 15:22:28 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152219_181.mp4 02/06 15:22:28 Date = 20190602 02/06 15:22:28 Construct from filename date 02/06 15:22:28 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152219_181.mp4 02/06 15:22:28 Destination file not found 02/06 15:22:28 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152219_181.mp4 02/06 15:22:28 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152219_181.mp4 02/06 15:22:33 DownloadFile ok... checking file destination 02/06 15:22:33 URLDownloadToFile ok 02/06 15:22:33 Video .sig downloaded ok! 02/06 15:22:33 Snapshot .sig downloaded ok! 02/06 15:22:33 Elapsed download time: 00:00:05 02/06 15:22:33 UpdateVideoname 02/06 15:22:33 Updating: idalarmcra = 384404 02/06 15:22:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384404 ORDER BY IDALARMCRA DESC 02/06 15:22:33 Just before Update() 02/06 15:22:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:22:43 [D] Query(20ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:22:43 Alarms with pending videos found! 02/06 15:22:43 Next idalarmcra = 384405 02/06 15:22:43 DownloadVideos::DownloadVideoOfAlarm 02/06 15:22:43 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:22:43 SAM|1479 02/06 15:22:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152237_182.mp4|99755| 02/06 15:22:43 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152237_182.mp4 02/06 15:22:43 Date = 20190602 02/06 15:22:43 Construct from filename date 02/06 15:22:43 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152237_182.mp4 02/06 15:22:43 Destination file not found 02/06 15:22:43 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152237_182.mp4 02/06 15:22:43 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152237_182.mp4 02/06 15:22:47 DownloadFile ok... checking file destination 02/06 15:22:47 URLDownloadToFile ok 02/06 15:22:47 Video .sig downloaded ok! 02/06 15:22:47 Snapshot .sig downloaded ok! 02/06 15:22:47 Elapsed download time: 00:00:04 02/06 15:22:47 UpdateVideoname 02/06 15:22:47 Updating: idalarmcra = 384405 02/06 15:22:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384405 ORDER BY IDALARMCRA DESC 02/06 15:22:47 Just before Update() 02/06 15:22:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:22:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:22:58 Don't have work. 02/06 15:23:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:23:08 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:23:08 Alarms with pending videos found! 02/06 15:23:08 Next idalarmcra = 384410 02/06 15:23:08 DownloadVideos::DownloadVideoOfAlarm 02/06 15:23:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:23:08 SAM|757 02/06 15:23:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:23:08 NOK answer received 02/06 15:23:08 UpdateVideoname 02/06 15:23:08 Updating: idalarmcra = 384410 02/06 15:23:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384410 ORDER BY IDALARMCRA DESC 02/06 15:23:08 Just before Update() 02/06 15:23:08 Next idalarmcra = 384409 02/06 15:23:08 DownloadVideos::DownloadVideoOfAlarm 02/06 15:23:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:23:08 SAM|758 02/06 15:23:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:23:08 NOK answer received 02/06 15:23:08 UpdateVideoname 02/06 15:23:08 Updating: idalarmcra = 384409 02/06 15:23:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384409 ORDER BY IDALARMCRA DESC 02/06 15:23:08 Just before Update() 02/06 15:23:08 Next idalarmcra = 384408 02/06 15:23:08 DownloadVideos::DownloadVideoOfAlarm 02/06 15:23:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:23:08 SAM|1152 02/06 15:23:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152216_57.mp4|100890| 02/06 15:23:09 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152216_57.mp4 02/06 15:23:09 Date = 20190602 02/06 15:23:09 Construct from filename date 02/06 15:23:09 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152216_57.mp4 02/06 15:23:09 Destination file not found 02/06 15:23:09 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152216_57.mp4 02/06 15:23:09 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152216_57.mp4 02/06 15:23:09 DownloadFile ok... checking file destination 02/06 15:23:09 URLDownloadToFile ok 02/06 15:23:10 Video .sig downloaded ok! 02/06 15:23:10 Snapshot .sig downloaded ok! 02/06 15:23:10 Elapsed download time: 00:00:02 02/06 15:23:10 UpdateVideoname 02/06 15:23:10 Updating: idalarmcra = 384408 02/06 15:23:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384408 ORDER BY IDALARMCRA DESC 02/06 15:23:10 Just before Update() 02/06 15:23:10 Next idalarmcra = 384407 02/06 15:23:10 DownloadVideos::DownloadVideoOfAlarm 02/06 15:23:10 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:23:10 SAM|1151 02/06 15:23:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_152212_183.mp4|105485| 02/06 15:23:10 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_152212_183.mp4 02/06 15:23:10 Date = 20190602 02/06 15:23:10 Construct from filename date 02/06 15:23:10 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_152212_183.mp4 02/06 15:23:10 Destination file not found 02/06 15:23:10 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_152212_183.mp4 02/06 15:23:10 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_152212_183.mp4 02/06 15:23:11 DownloadFile ok... checking file destination 02/06 15:23:11 URLDownloadToFile ok 02/06 15:23:11 Video .sig downloaded ok! 02/06 15:23:11 Snapshot .sig downloaded ok! 02/06 15:23:11 Elapsed download time: 00:00:01 02/06 15:23:11 UpdateVideoname 02/06 15:23:11 Updating: idalarmcra = 384407 02/06 15:23:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384407 ORDER BY IDALARMCRA DESC 02/06 15:23:11 Just before Update() 02/06 15:23:11 Next idalarmcra = 384406 02/06 15:23:11 DownloadVideos::DownloadVideoOfAlarm 02/06 15:23:11 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:23:11 SAM|1150 02/06 15:23:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152209_435.mp4|107029| 02/06 15:23:11 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152209_435.mp4 02/06 15:23:11 Date = 20190602 02/06 15:23:11 Construct from filename date 02/06 15:23:11 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152209_435.mp4 02/06 15:23:11 Destination file not found 02/06 15:23:11 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152209_435.mp4 02/06 15:23:11 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152209_435.mp4 02/06 15:23:11 DownloadFile ok... checking file destination 02/06 15:23:11 URLDownloadToFile ok 02/06 15:23:12 Video .sig downloaded ok! 02/06 15:23:12 Snapshot .sig downloaded ok! 02/06 15:23:12 Elapsed download time: 00:00:01 02/06 15:23:12 UpdateVideoname 02/06 15:23:12 Updating: idalarmcra = 384406 02/06 15:23:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384406 ORDER BY IDALARMCRA DESC 02/06 15:23:12 Just before Update() 02/06 15:23:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:23:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:23:22 Don't have work. 02/06 15:23:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:23:32 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:23:32 Alarms with pending videos found! 02/06 15:23:32 Next idalarmcra = 384411 02/06 15:23:32 DownloadVideos::DownloadVideoOfAlarm 02/06 15:23:32 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 37 02/06 15:23:32 SAM|2517 02/06 15:23:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_152324_20.mp4|113096| 02/06 15:23:33 FilenameSrc = 20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_152324_20.mp4 02/06 15:23:33 Date = 20190602 02/06 15:23:33 Construct from filename date 02/06 15:23:33 Destination: c:\Davantis\CRAServer\\SITE_37\\20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_152324_20.mp4 02/06 15:23:33 Destination file not found 02/06 15:23:33 http://192.168.34.100:21000/20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_152324_20.mp4 02/06 15:23:33 c:\Davantis\CRAServer\\SITE_37\\20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_152324_20.mp4 02/06 15:23:35 DownloadFile ok... checking file destination 02/06 15:23:35 URLDownloadToFile ok 02/06 15:23:35 Video .sig downloaded ok! 02/06 15:23:35 Snapshot .sig downloaded ok! 02/06 15:23:35 Elapsed download time: 00:00:03 02/06 15:23:35 UpdateVideoname 02/06 15:23:35 Updating: idalarmcra = 384411 02/06 15:23:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384411 ORDER BY IDALARMCRA DESC 02/06 15:23:35 Just before Update() 02/06 15:23:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:23:46 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:23:46 Alarms with pending videos found! 02/06 15:23:46 Next idalarmcra = 384413 02/06 15:23:46 DownloadVideos::DownloadVideoOfAlarm 02/06 15:23:46 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:23:46 SAM|1153 02/06 15:23:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:23:47 NOK answer received 02/06 15:23:47 UpdateVideoname 02/06 15:23:47 Updating: idalarmcra = 384413 02/06 15:23:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384413 ORDER BY IDALARMCRA DESC 02/06 15:23:47 Just before Update() 02/06 15:23:47 Next idalarmcra = 384412 02/06 15:23:47 DownloadVideos::DownloadVideoOfAlarm 02/06 15:23:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:23:47 SAM|1480 02/06 15:23:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152335_154.mp4|100124| 02/06 15:23:47 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152335_154.mp4 02/06 15:23:47 Date = 20190602 02/06 15:23:47 Construct from filename date 02/06 15:23:47 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152335_154.mp4 02/06 15:23:47 Destination file not found 02/06 15:23:47 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152335_154.mp4 02/06 15:23:47 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152335_154.mp4 02/06 15:23:51 DownloadFile ok... checking file destination 02/06 15:23:51 URLDownloadToFile ok 02/06 15:23:51 Video .sig downloaded ok! 02/06 15:23:51 Snapshot .sig downloaded ok! 02/06 15:23:51 Elapsed download time: 00:00:04 02/06 15:23:51 UpdateVideoname 02/06 15:23:51 Updating: idalarmcra = 384412 02/06 15:23:51 [D] Query(5ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384412 ORDER BY IDALARMCRA DESC 02/06 15:23:51 Rollback executed. 02/06 15:23:51 RecordSet closed. 02/06 15:23:51 CheckDDBB 02/06 15:23:51 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:24:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:24:02 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:24:02 Alarms with pending videos found! 02/06 15:24:02 Next idalarmcra = 384415 02/06 15:24:02 DownloadVideos::DownloadVideoOfAlarm 02/06 15:24:02 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:24:02 SAM|1481 02/06 15:24:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152350_183.mp4|111030| 02/06 15:24:02 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152350_183.mp4 02/06 15:24:02 Date = 20190602 02/06 15:24:02 Construct from filename date 02/06 15:24:02 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152350_183.mp4 02/06 15:24:02 Destination file not found 02/06 15:24:02 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152350_183.mp4 02/06 15:24:02 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152350_183.mp4 02/06 15:24:06 DownloadFile ok... checking file destination 02/06 15:24:06 URLDownloadToFile ok 02/06 15:24:06 Video .sig downloaded ok! 02/06 15:24:06 Snapshot .sig downloaded ok! 02/06 15:24:06 Elapsed download time: 00:00:04 02/06 15:24:07 UpdateVideoname 02/06 15:24:07 Updating: idalarmcra = 384415 02/06 15:24:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384415 ORDER BY IDALARMCRA DESC 02/06 15:24:07 Just before Update() 02/06 15:24:07 Next idalarmcra = 384414 02/06 15:24:07 DownloadVideos::DownloadVideoOfAlarm 02/06 15:24:07 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:24:07 SAM|1154 02/06 15:24:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_152259_184.mp4|103406| 02/06 15:24:07 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_152259_184.mp4 02/06 15:24:07 Date = 20190602 02/06 15:24:07 Construct from filename date 02/06 15:24:07 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_152259_184.mp4 02/06 15:24:07 Destination file not found 02/06 15:24:07 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_152259_184.mp4 02/06 15:24:07 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_152259_184.mp4 02/06 15:24:07 DownloadFile ok... checking file destination 02/06 15:24:07 URLDownloadToFile ok 02/06 15:24:07 Video .sig downloaded ok! 02/06 15:24:07 Snapshot .sig downloaded ok! 02/06 15:24:07 Elapsed download time: 00:00:00 02/06 15:24:07 UpdateVideoname 02/06 15:24:07 Updating: idalarmcra = 384414 02/06 15:24:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384414 ORDER BY IDALARMCRA DESC 02/06 15:24:07 Just before Update() 02/06 15:24:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:24:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:24:18 Don't have work. 02/06 15:24:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:24:28 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:24:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:24:38 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:24:38 Alarms with pending videos found! 02/06 15:24:38 Next idalarmcra = 384416 02/06 15:24:38 DownloadVideos::DownloadVideoOfAlarm 02/06 15:24:38 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:24:38 SAM|1155 02/06 15:24:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152343_58.mp4|98954| 02/06 15:24:38 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152343_58.mp4 02/06 15:24:38 Date = 20190602 02/06 15:24:38 Construct from filename date 02/06 15:24:38 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152343_58.mp4 02/06 15:24:38 Destination file not found 02/06 15:24:38 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152343_58.mp4 02/06 15:24:38 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152343_58.mp4 02/06 15:24:38 DownloadFile ok... checking file destination 02/06 15:24:38 URLDownloadToFile ok 02/06 15:24:39 Video .sig downloaded ok! 02/06 15:24:39 Snapshot .sig downloaded ok! 02/06 15:24:39 Elapsed download time: 00:00:01 02/06 15:24:39 UpdateVideoname 02/06 15:24:39 Updating: idalarmcra = 384416 02/06 15:24:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384416 ORDER BY IDALARMCRA DESC 02/06 15:24:39 Just before Update() 02/06 15:24:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:24:49 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:24:49 Don't have work. 02/06 15:24:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:24:59 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:24:59 Alarms with pending videos found! 02/06 15:24:59 Next idalarmcra = 384418 02/06 15:24:59 DownloadVideos::DownloadVideoOfAlarm 02/06 15:24:59 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:24:59 SAM|759 02/06 15:24:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152452_116.mp4|90924| 02/06 15:24:59 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152452_116.mp4 02/06 15:24:59 Date = 20190602 02/06 15:24:59 Construct from filename date 02/06 15:24:59 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152452_116.mp4 02/06 15:24:59 Destination file not found 02/06 15:24:59 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152452_116.mp4 02/06 15:24:59 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152452_116.mp4 02/06 15:25:00 DownloadFile ok... checking file destination 02/06 15:25:00 URLDownloadToFile ok 02/06 15:25:00 Video .sig downloaded ok! 02/06 15:25:00 Snapshot .sig downloaded ok! 02/06 15:25:00 Elapsed download time: 00:00:01 02/06 15:25:00 UpdateVideoname 02/06 15:25:00 Updating: idalarmcra = 384418 02/06 15:25:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384418 ORDER BY IDALARMCRA DESC 02/06 15:25:00 Just before Update() 02/06 15:25:00 Next idalarmcra = 384417 02/06 15:25:00 DownloadVideos::DownloadVideoOfAlarm 02/06 15:25:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:25:00 SAM|1156 02/06 15:25:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152402_437.mp4|101926| 02/06 15:25:00 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152402_437.mp4 02/06 15:25:00 Date = 20190602 02/06 15:25:00 Construct from filename date 02/06 15:25:00 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152402_437.mp4 02/06 15:25:00 Destination file not found 02/06 15:25:00 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152402_437.mp4 02/06 15:25:00 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152402_437.mp4 02/06 15:25:00 DownloadFile ok... checking file destination 02/06 15:25:00 URLDownloadToFile ok 02/06 15:25:01 Video .sig downloaded ok! 02/06 15:25:01 Snapshot .sig downloaded ok! 02/06 15:25:01 Elapsed download time: 00:00:01 02/06 15:25:01 UpdateVideoname 02/06 15:25:01 Updating: idalarmcra = 384417 02/06 15:25:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384417 ORDER BY IDALARMCRA DESC 02/06 15:25:01 Just before Update() 02/06 15:25:11 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:25:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:25:11 Don't have work. 02/06 15:25:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:25:21 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:25:21 Alarms with pending videos found! 02/06 15:25:21 Next idalarmcra = 384421 02/06 15:25:21 DownloadVideos::DownloadVideoOfAlarm 02/06 15:25:21 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:25:21 SAM|760 02/06 15:25:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152515_117.mp4|104208| 02/06 15:25:21 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152515_117.mp4 02/06 15:25:21 Date = 20190602 02/06 15:25:21 Construct from filename date 02/06 15:25:21 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152515_117.mp4 02/06 15:25:21 Destination file not found 02/06 15:25:21 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152515_117.mp4 02/06 15:25:21 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152515_117.mp4 02/06 15:25:22 DownloadFile ok... checking file destination 02/06 15:25:22 URLDownloadToFile ok 02/06 15:25:22 Video .sig downloaded ok! 02/06 15:25:22 Snapshot .sig downloaded ok! 02/06 15:25:22 Elapsed download time: 00:00:01 02/06 15:25:22 UpdateVideoname 02/06 15:25:22 Updating: idalarmcra = 384421 02/06 15:25:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384421 ORDER BY IDALARMCRA DESC 02/06 15:25:22 Just before Update() 02/06 15:25:22 Next idalarmcra = 384420 02/06 15:25:22 DownloadVideos::DownloadVideoOfAlarm 02/06 15:25:22 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:25:22 SAM|1158 02/06 15:25:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152426_438.mp4|102286| 02/06 15:25:22 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152426_438.mp4 02/06 15:25:22 Date = 20190602 02/06 15:25:22 Construct from filename date 02/06 15:25:22 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152426_438.mp4 02/06 15:25:22 Destination file not found 02/06 15:25:22 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152426_438.mp4 02/06 15:25:22 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_152426_438.mp4 02/06 15:25:22 DownloadFile ok... checking file destination 02/06 15:25:22 URLDownloadToFile ok 02/06 15:25:22 Video .sig downloaded ok! 02/06 15:25:23 Snapshot .sig downloaded ok! 02/06 15:25:23 Elapsed download time: 00:00:01 02/06 15:25:23 UpdateVideoname 02/06 15:25:23 Updating: idalarmcra = 384420 02/06 15:25:23 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384420 ORDER BY IDALARMCRA DESC 02/06 15:25:23 Just before Update() 02/06 15:25:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:25:33 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:25:33 Alarms with pending videos found! 02/06 15:25:33 Next idalarmcra = 384423 02/06 15:25:33 DownloadVideos::DownloadVideoOfAlarm 02/06 15:25:33 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:25:33 SAM|1159 02/06 15:25:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152439_60.mp4|108934| 02/06 15:25:33 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152439_60.mp4 02/06 15:25:33 Date = 20190602 02/06 15:25:33 Construct from filename date 02/06 15:25:33 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152439_60.mp4 02/06 15:25:33 Destination file not found 02/06 15:25:33 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152439_60.mp4 02/06 15:25:33 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152439_60.mp4 02/06 15:25:33 DownloadFile ok... checking file destination 02/06 15:25:33 URLDownloadToFile ok 02/06 15:25:34 Video .sig downloaded ok! 02/06 15:25:34 Snapshot .sig downloaded ok! 02/06 15:25:34 Elapsed download time: 00:00:01 02/06 15:25:34 UpdateVideoname 02/06 15:25:34 Updating: idalarmcra = 384423 02/06 15:25:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384423 ORDER BY IDALARMCRA DESC 02/06 15:25:34 Just before Update() 02/06 15:25:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:25:44 [D] Query(30ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:25:44 Don't have work. 02/06 15:25:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:25:54 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:26:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:26:04 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:26:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:26:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:26:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:26:24 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:26:24 Alarms with pending videos found! 02/06 15:26:24 Next idalarmcra = 384426 02/06 15:26:24 DownloadVideos::DownloadVideoOfAlarm 02/06 15:26:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:26:24 SAM|22980 02/06 15:26:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_152634_74.mp4|113612| 02/06 15:26:25 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_152634_74.mp4 02/06 15:26:25 Date = 20190602 02/06 15:26:25 Construct from filename date 02/06 15:26:25 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_152634_74.mp4 02/06 15:26:25 Destination file not found 02/06 15:26:25 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_152634_74.mp4 02/06 15:26:25 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_152634_74.mp4 02/06 15:26:27 DownloadFile ok... checking file destination 02/06 15:26:27 URLDownloadToFile ok 02/06 15:26:27 Video .sig downloaded ok! 02/06 15:26:28 Snapshot .sig downloaded ok! 02/06 15:26:28 Elapsed download time: 00:00:04 02/06 15:26:28 UpdateVideoname 02/06 15:26:28 Updating: idalarmcra = 384426 02/06 15:26:28 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384426 ORDER BY IDALARMCRA DESC 02/06 15:26:28 Just before Update() 02/06 15:26:28 Next idalarmcra = 384424 02/06 15:26:28 DownloadVideos::DownloadVideoOfAlarm 02/06 15:26:28 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:26:28 SAM|163137 02/06 15:26:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_153901_38.mp4|115331| 02/06 15:26:28 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_153901_38.mp4 02/06 15:26:28 Date = 20190602 02/06 15:26:28 Construct from filename date 02/06 15:26:28 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_153901_38.mp4 02/06 15:26:28 Destination file not found 02/06 15:26:28 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_153901_38.mp4 02/06 15:26:28 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_153901_38.mp4 02/06 15:26:29 DownloadFile ok... checking file destination 02/06 15:26:29 URLDownloadToFile ok 02/06 15:26:29 Video .sig downloaded ok! 02/06 15:26:30 Snapshot .sig downloaded ok! 02/06 15:26:30 Elapsed download time: 00:00:02 02/06 15:26:30 UpdateVideoname 02/06 15:26:30 Updating: idalarmcra = 384424 02/06 15:26:30 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384424 ORDER BY IDALARMCRA DESC 02/06 15:26:30 Just before Update() 02/06 15:26:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:26:40 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:26:40 Alarms with pending videos found! 02/06 15:26:40 Next idalarmcra = 384429 02/06 15:26:40 DownloadVideos::DownloadVideoOfAlarm 02/06 15:26:40 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:26:40 SAM|1484 02/06 15:26:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152630_184.mp4|109000| 02/06 15:26:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152630_184.mp4 02/06 15:26:40 Date = 20190602 02/06 15:26:40 Construct from filename date 02/06 15:26:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152630_184.mp4 02/06 15:26:40 Destination file not found 02/06 15:26:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152630_184.mp4 02/06 15:26:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152630_184.mp4 02/06 15:26:40 DownloadFile ok... checking file destination 02/06 15:26:40 URLDownloadToFile ok 02/06 15:26:41 Video .sig downloaded ok! 02/06 15:26:41 Snapshot .sig downloaded ok! 02/06 15:26:41 Elapsed download time: 00:00:01 02/06 15:26:41 UpdateVideoname 02/06 15:26:41 Updating: idalarmcra = 384429 02/06 15:26:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384429 ORDER BY IDALARMCRA DESC 02/06 15:26:41 Just before Update() 02/06 15:26:41 Next idalarmcra = 384428 02/06 15:26:41 DownloadVideos::DownloadVideoOfAlarm 02/06 15:26:41 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:26:41 SAM|1482 02/06 15:26:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152626_155.mp4|105097| 02/06 15:26:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152626_155.mp4 02/06 15:26:41 Date = 20190602 02/06 15:26:41 Construct from filename date 02/06 15:26:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152626_155.mp4 02/06 15:26:41 Destination file not found 02/06 15:26:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152626_155.mp4 02/06 15:26:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152626_155.mp4 02/06 15:26:41 DownloadFile ok... checking file destination 02/06 15:26:41 URLDownloadToFile ok 02/06 15:26:41 Video .sig downloaded ok! 02/06 15:26:42 Snapshot .sig downloaded ok! 02/06 15:26:42 Elapsed download time: 00:00:01 02/06 15:26:42 UpdateVideoname 02/06 15:26:42 Updating: idalarmcra = 384428 02/06 15:26:42 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384428 ORDER BY IDALARMCRA DESC 02/06 15:26:42 Just before Update() 02/06 15:26:42 Next idalarmcra = 384427 02/06 15:26:42 DownloadVideos::DownloadVideoOfAlarm 02/06 15:26:42 [D] Query(14ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:26:42 SAM|1483 02/06 15:26:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152626_213.mp4|106468| 02/06 15:26:42 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152626_213.mp4 02/06 15:26:42 Date = 20190602 02/06 15:26:42 Construct from filename date 02/06 15:26:42 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152626_213.mp4 02/06 15:26:42 Destination file not found 02/06 15:26:42 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152626_213.mp4 02/06 15:26:42 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152626_213.mp4 02/06 15:26:42 DownloadFile ok... checking file destination 02/06 15:26:42 URLDownloadToFile ok 02/06 15:26:42 Video .sig downloaded ok! 02/06 15:26:42 Snapshot .sig downloaded ok! 02/06 15:26:42 Elapsed download time: 00:00:00 02/06 15:26:42 UpdateVideoname 02/06 15:26:42 Updating: idalarmcra = 384427 02/06 15:26:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384427 ORDER BY IDALARMCRA DESC 02/06 15:26:42 Just before Update() 02/06 15:26:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:26:52 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:26:52 Don't have work. 02/06 15:27:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:27:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:27:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:27:13 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:27:13 Alarms with pending videos found! 02/06 15:27:13 Next idalarmcra = 384431 02/06 15:27:13 DownloadVideos::DownloadVideoOfAlarm 02/06 15:27:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:27:13 SAM|1485 02/06 15:27:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152707_156.mp4|101152| 02/06 15:27:13 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152707_156.mp4 02/06 15:27:13 Date = 20190602 02/06 15:27:13 Construct from filename date 02/06 15:27:13 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152707_156.mp4 02/06 15:27:13 Destination file not found 02/06 15:27:13 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152707_156.mp4 02/06 15:27:13 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152707_156.mp4 02/06 15:27:13 DownloadFile ok... checking file destination 02/06 15:27:13 URLDownloadToFile ok 02/06 15:27:14 Video .sig downloaded ok! 02/06 15:27:14 Snapshot .sig downloaded ok! 02/06 15:27:14 Elapsed download time: 00:00:01 02/06 15:27:14 UpdateVideoname 02/06 15:27:14 Updating: idalarmcra = 384431 02/06 15:27:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384431 ORDER BY IDALARMCRA DESC 02/06 15:27:14 Just before Update() 02/06 15:27:14 Next idalarmcra = 384430 02/06 15:27:14 DownloadVideos::DownloadVideoOfAlarm 02/06 15:27:14 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:27:14 SAM|1486 02/06 15:27:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152707_214.mp4|108919| 02/06 15:27:14 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152707_214.mp4 02/06 15:27:14 Date = 20190602 02/06 15:27:14 Construct from filename date 02/06 15:27:14 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152707_214.mp4 02/06 15:27:14 Destination file not found 02/06 15:27:14 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152707_214.mp4 02/06 15:27:14 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152707_214.mp4 02/06 15:27:14 DownloadFile ok... checking file destination 02/06 15:27:14 URLDownloadToFile ok 02/06 15:27:14 Video .sig downloaded ok! 02/06 15:27:15 Snapshot .sig downloaded ok! 02/06 15:27:15 Elapsed download time: 00:00:01 02/06 15:27:15 UpdateVideoname 02/06 15:27:15 Updating: idalarmcra = 384430 02/06 15:27:15 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384430 ORDER BY IDALARMCRA DESC 02/06 15:27:15 Just before Update() 02/06 15:27:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:27:25 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:27:25 Alarms with pending videos found! 02/06 15:27:25 Next idalarmcra = 384434 02/06 15:27:25 DownloadVideos::DownloadVideoOfAlarm 02/06 15:27:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:27:25 SAM|1487 02/06 15:27:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152715_185.mp4|95585| 02/06 15:27:25 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152715_185.mp4 02/06 15:27:25 Date = 20190602 02/06 15:27:25 Construct from filename date 02/06 15:27:25 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152715_185.mp4 02/06 15:27:25 Destination file not found 02/06 15:27:25 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152715_185.mp4 02/06 15:27:25 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152715_185.mp4 02/06 15:27:25 DownloadFile ok... checking file destination 02/06 15:27:25 URLDownloadToFile ok 02/06 15:27:25 Video .sig downloaded ok! 02/06 15:27:25 Snapshot .sig downloaded ok! 02/06 15:27:25 Elapsed download time: 00:00:00 02/06 15:27:25 UpdateVideoname 02/06 15:27:25 Updating: idalarmcra = 384434 02/06 15:27:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384434 ORDER BY IDALARMCRA DESC 02/06 15:27:25 Just before Update() 02/06 15:27:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:27:35 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:27:35 Alarms with pending videos found! 02/06 15:27:35 Next idalarmcra = 384436 02/06 15:27:35 DownloadVideos::DownloadVideoOfAlarm 02/06 15:27:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:27:35 SAM|1488 02/06 15:27:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:27:36 NOK answer received 02/06 15:27:36 UpdateVideoname 02/06 15:27:36 Updating: idalarmcra = 384436 02/06 15:27:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384436 ORDER BY IDALARMCRA DESC 02/06 15:27:36 Just before Update() 02/06 15:27:36 Next idalarmcra = 384435 02/06 15:27:36 DownloadVideos::DownloadVideoOfAlarm 02/06 15:27:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 15:27:36 SAM|10904 02/06 15:27:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_142720_134.mp4|86162| 02/06 15:27:36 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_142720_134.mp4 02/06 15:27:36 Date = 20190602 02/06 15:27:36 Construct from filename date 02/06 15:27:36 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_142720_134.mp4 02/06 15:27:36 Destination file not found 02/06 15:27:36 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_142720_134.mp4 02/06 15:27:36 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_142720_134.mp4 02/06 15:27:38 DownloadFile ok... checking file destination 02/06 15:27:38 URLDownloadToFile ok 02/06 15:27:38 Video .sig downloaded ok! 02/06 15:27:38 Snapshot .sig downloaded ok! 02/06 15:27:38 Elapsed download time: 00:00:02 02/06 15:27:38 UpdateVideoname 02/06 15:27:38 Updating: idalarmcra = 384435 02/06 15:27:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384435 ORDER BY IDALARMCRA DESC 02/06 15:27:38 Just before Update() 02/06 15:27:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:27:48 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:27:48 Alarms with pending videos found! 02/06 15:27:48 Next idalarmcra = 384437 02/06 15:27:48 DownloadVideos::DownloadVideoOfAlarm 02/06 15:27:49 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:27:49 SAM|1160 02/06 15:27:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152653_61.mp4|108135| 02/06 15:27:49 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152653_61.mp4 02/06 15:27:49 Date = 20190602 02/06 15:27:49 Construct from filename date 02/06 15:27:49 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152653_61.mp4 02/06 15:27:49 Destination file not found 02/06 15:27:49 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152653_61.mp4 02/06 15:27:49 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_152653_61.mp4 02/06 15:27:50 DownloadFile ok... checking file destination 02/06 15:27:50 URLDownloadToFile ok 02/06 15:27:51 Video .sig downloaded ok! 02/06 15:27:51 Snapshot .sig downloaded ok! 02/06 15:27:51 Elapsed download time: 00:00:02 02/06 15:27:51 UpdateVideoname 02/06 15:27:51 Updating: idalarmcra = 384437 02/06 15:27:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384437 ORDER BY IDALARMCRA DESC 02/06 15:27:51 Just before Update() 02/06 15:27:51 Next idalarmcra = 384436 02/06 15:27:51 DownloadVideos::DownloadVideoOfAlarm 02/06 15:27:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:27:51 SAM|1488 02/06 15:27:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152733_186.mp4|108246| 02/06 15:27:51 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152733_186.mp4 02/06 15:27:51 Date = 20190602 02/06 15:27:51 Construct from filename date 02/06 15:27:51 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152733_186.mp4 02/06 15:27:51 Destination file not found 02/06 15:27:51 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152733_186.mp4 02/06 15:27:51 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152733_186.mp4 02/06 15:27:52 DownloadFile ok... checking file destination 02/06 15:27:52 URLDownloadToFile ok 02/06 15:27:52 Video .sig downloaded ok! 02/06 15:27:52 Snapshot .sig downloaded ok! 02/06 15:27:52 Elapsed download time: 00:00:01 02/06 15:27:52 UpdateVideoname 02/06 15:27:52 Updating: idalarmcra = 384436 02/06 15:27:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384436 ORDER BY IDALARMCRA DESC 02/06 15:27:52 Just before Update() 02/06 15:28:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:28:02 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:28:02 Don't have work. 02/06 15:28:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:28:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:28:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:28:22 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:28:22 Alarms with pending videos found! 02/06 15:28:22 Next idalarmcra = 384439 02/06 15:28:22 DownloadVideos::DownloadVideoOfAlarm 02/06 15:28:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:28:22 SAM|1489 02/06 15:28:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:28:23 NOK answer received 02/06 15:28:23 UpdateVideoname 02/06 15:28:23 Updating: idalarmcra = 384439 02/06 15:28:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384439 ORDER BY IDALARMCRA DESC 02/06 15:28:23 Just before Update() 02/06 15:28:23 Next idalarmcra = 384438 02/06 15:28:23 DownloadVideos::DownloadVideoOfAlarm 02/06 15:28:23 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:28:23 SAM|761 02/06 15:28:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152812_118.mp4|102852| 02/06 15:28:23 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152812_118.mp4 02/06 15:28:23 Date = 20190602 02/06 15:28:23 Construct from filename date 02/06 15:28:23 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152812_118.mp4 02/06 15:28:23 Destination file not found 02/06 15:28:23 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152812_118.mp4 02/06 15:28:23 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_152812_118.mp4 02/06 15:28:24 DownloadFile ok... checking file destination 02/06 15:28:24 URLDownloadToFile ok 02/06 15:28:24 Video .sig downloaded ok! 02/06 15:28:24 Snapshot .sig downloaded ok! 02/06 15:28:24 Elapsed download time: 00:00:01 02/06 15:28:24 UpdateVideoname 02/06 15:28:24 Updating: idalarmcra = 384438 02/06 15:28:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384438 ORDER BY IDALARMCRA DESC 02/06 15:28:24 Just before Update() 02/06 15:28:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:28:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:28:35 Don't have work. 02/06 15:28:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:28:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:28:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:28:55 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:28:55 Alarms with pending videos found! 02/06 15:28:55 Next idalarmcra = 384440 02/06 15:28:55 DownloadVideos::DownloadVideoOfAlarm 02/06 15:28:55 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 15:28:55 SAM|14790 02/06 15:28:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:28:55 NOK answer received 02/06 15:28:55 UpdateVideoname 02/06 15:28:55 Updating: idalarmcra = 384440 02/06 15:28:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384440 ORDER BY IDALARMCRA DESC 02/06 15:28:55 Just before Update() 02/06 15:29:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:29:05 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:29:05 Alarms with pending videos found! 02/06 15:29:05 Next idalarmcra = 384440 02/06 15:29:05 DownloadVideos::DownloadVideoOfAlarm 02/06 15:29:05 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 15:29:05 SAM|14790 02/06 15:29:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_152852_558.mp4|112653| 02/06 15:29:06 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_152852_558.mp4 02/06 15:29:06 Date = 20190602 02/06 15:29:06 Construct from filename date 02/06 15:29:06 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_152852_558.mp4 02/06 15:29:06 Destination file not found 02/06 15:29:06 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_152852_558.mp4 02/06 15:29:06 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_152852_558.mp4 02/06 15:29:07 DownloadFile ok... checking file destination 02/06 15:29:07 URLDownloadToFile ok 02/06 15:29:08 Video .sig downloaded ok! 02/06 15:29:08 Snapshot .sig downloaded ok! 02/06 15:29:08 Elapsed download time: 00:00:03 02/06 15:29:08 UpdateVideoname 02/06 15:29:08 Updating: idalarmcra = 384440 02/06 15:29:08 [D] Query(7ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384440 ORDER BY IDALARMCRA DESC 02/06 15:29:08 Just before Update() 02/06 15:29:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:29:18 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:29:18 Don't have work. 02/06 15:29:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:29:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:29:28 Alarms with pending videos found! 02/06 15:29:28 Next idalarmcra = 384442 02/06 15:29:28 DownloadVideos::DownloadVideoOfAlarm 02/06 15:29:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:29:28 SAM|1490 02/06 15:29:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:29:29 NOK answer received 02/06 15:29:29 UpdateVideoname 02/06 15:29:29 Updating: idalarmcra = 384442 02/06 15:29:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384442 ORDER BY IDALARMCRA DESC 02/06 15:29:29 Just before Update() 02/06 15:29:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:29:39 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:29:39 Alarms with pending videos found! 02/06 15:29:39 Next idalarmcra = 384443 02/06 15:29:39 DownloadVideos::DownloadVideoOfAlarm 02/06 15:29:39 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:29:39 SAM|1491 02/06 15:29:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152928_157.mp4|107999| 02/06 15:29:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152928_157.mp4 02/06 15:29:40 Date = 20190602 02/06 15:29:40 Construct from filename date 02/06 15:29:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152928_157.mp4 02/06 15:29:40 Destination file not found 02/06 15:29:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152928_157.mp4 02/06 15:29:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_152928_157.mp4 02/06 15:29:40 DownloadFile ok... checking file destination 02/06 15:29:40 URLDownloadToFile ok 02/06 15:29:40 Video .sig downloaded ok! 02/06 15:29:40 Snapshot .sig downloaded ok! 02/06 15:29:40 Elapsed download time: 00:00:01 02/06 15:29:40 UpdateVideoname 02/06 15:29:40 Updating: idalarmcra = 384443 02/06 15:29:40 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384443 ORDER BY IDALARMCRA DESC 02/06 15:29:40 Just before Update() 02/06 15:29:40 Next idalarmcra = 384442 02/06 15:29:40 DownloadVideos::DownloadVideoOfAlarm 02/06 15:29:40 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:29:40 SAM|1490 02/06 15:29:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152926_215.mp4|111103| 02/06 15:29:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152926_215.mp4 02/06 15:29:41 Date = 20190602 02/06 15:29:41 Construct from filename date 02/06 15:29:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152926_215.mp4 02/06 15:29:41 Destination file not found 02/06 15:29:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152926_215.mp4 02/06 15:29:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_152926_215.mp4 02/06 15:29:41 DownloadFile ok... checking file destination 02/06 15:29:41 URLDownloadToFile ok 02/06 15:29:41 Video .sig downloaded ok! 02/06 15:29:42 Snapshot .sig downloaded ok! 02/06 15:29:42 Elapsed download time: 00:00:02 02/06 15:29:42 UpdateVideoname 02/06 15:29:42 Updating: idalarmcra = 384442 02/06 15:29:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384442 ORDER BY IDALARMCRA DESC 02/06 15:29:42 Just before Update() 02/06 15:29:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:29:52 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:29:52 Alarms with pending videos found! 02/06 15:29:52 Next idalarmcra = 384444 02/06 15:29:52 DownloadVideos::DownloadVideoOfAlarm 02/06 15:29:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:29:52 SAM|1492 02/06 15:29:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152933_187.mp4|113979| 02/06 15:29:52 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152933_187.mp4 02/06 15:29:52 Date = 20190602 02/06 15:29:52 Construct from filename date 02/06 15:29:52 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152933_187.mp4 02/06 15:29:52 Destination file not found 02/06 15:29:52 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152933_187.mp4 02/06 15:29:52 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_152933_187.mp4 02/06 15:29:52 DownloadFile ok... checking file destination 02/06 15:29:52 URLDownloadToFile ok 02/06 15:29:52 Video .sig downloaded ok! 02/06 15:29:52 Snapshot .sig downloaded ok! 02/06 15:29:52 Elapsed download time: 00:00:00 02/06 15:29:52 UpdateVideoname 02/06 15:29:52 Updating: idalarmcra = 384444 02/06 15:29:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384444 ORDER BY IDALARMCRA DESC 02/06 15:29:52 Just before Update() 02/06 15:30:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:30:03 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:30:03 Don't have work. 02/06 15:30:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:30:13 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:30:13 Alarms with pending videos found! 02/06 15:30:13 Next idalarmcra = 384445 02/06 15:30:13 DownloadVideos::DownloadVideoOfAlarm 02/06 15:30:13 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 15:30:13 SAM|10905 02/06 15:30:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_143002_135.mp4|94539| 02/06 15:30:13 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_143002_135.mp4 02/06 15:30:13 Date = 20190602 02/06 15:30:13 Construct from filename date 02/06 15:30:13 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_143002_135.mp4 02/06 15:30:13 Destination file not found 02/06 15:30:13 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_143002_135.mp4 02/06 15:30:13 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_143002_135.mp4 02/06 15:30:14 DownloadFile ok... checking file destination 02/06 15:30:14 URLDownloadToFile ok 02/06 15:30:14 Video .sig downloaded ok! 02/06 15:30:15 Snapshot .sig downloaded ok! 02/06 15:30:15 Elapsed download time: 00:00:02 02/06 15:30:15 UpdateVideoname 02/06 15:30:15 Updating: idalarmcra = 384445 02/06 15:30:15 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384445 ORDER BY IDALARMCRA DESC 02/06 15:30:15 Just before Update() 02/06 15:30:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:30:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:30:25 Don't have work. 02/06 15:30:35 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:30:35 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:30:35 Alarms with pending videos found! 02/06 15:30:35 Next idalarmcra = 384447 02/06 15:30:35 DownloadVideos::DownloadVideoOfAlarm 02/06 15:30:35 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:30:35 SAM|1493 02/06 15:30:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153025_188.mp4|106899| 02/06 15:30:35 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153025_188.mp4 02/06 15:30:35 Date = 20190602 02/06 15:30:35 Construct from filename date 02/06 15:30:35 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153025_188.mp4 02/06 15:30:35 Destination file not found 02/06 15:30:35 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153025_188.mp4 02/06 15:30:35 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153025_188.mp4 02/06 15:30:35 DownloadFile ok... checking file destination 02/06 15:30:35 URLDownloadToFile ok 02/06 15:30:35 Video .sig downloaded ok! 02/06 15:30:35 Snapshot .sig downloaded ok! 02/06 15:30:35 Elapsed download time: 00:00:00 02/06 15:30:36 UpdateVideoname 02/06 15:30:36 Updating: idalarmcra = 384447 02/06 15:30:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384447 ORDER BY IDALARMCRA DESC 02/06 15:30:36 Just before Update() 02/06 15:30:36 Next idalarmcra = 384446 02/06 15:30:36 DownloadVideos::DownloadVideoOfAlarm 02/06 15:30:36 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:30:36 SAM|22981 02/06 15:30:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153042_75.mp4|114083| 02/06 15:30:36 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153042_75.mp4 02/06 15:30:36 Date = 20190602 02/06 15:30:36 Construct from filename date 02/06 15:30:36 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153042_75.mp4 02/06 15:30:36 Destination file not found 02/06 15:30:36 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153042_75.mp4 02/06 15:30:36 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153042_75.mp4 02/06 15:30:37 DownloadFile ok... checking file destination 02/06 15:30:37 URLDownloadToFile ok 02/06 15:30:38 Video .sig downloaded ok! 02/06 15:30:38 Snapshot .sig downloaded ok! 02/06 15:30:38 Elapsed download time: 00:00:02 02/06 15:30:39 UpdateVideoname 02/06 15:30:39 Updating: idalarmcra = 384446 02/06 15:30:39 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384446 ORDER BY IDALARMCRA DESC 02/06 15:30:39 Just before Update() 02/06 15:30:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:30:49 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:30:49 Alarms with pending videos found! 02/06 15:30:49 Next idalarmcra = 384448 02/06 15:30:49 DownloadVideos::DownloadVideoOfAlarm 02/06 15:30:49 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:30:49 SAM|1494 02/06 15:30:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153041_158.mp4|102788| 02/06 15:30:49 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153041_158.mp4 02/06 15:30:49 Date = 20190602 02/06 15:30:49 Construct from filename date 02/06 15:30:49 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153041_158.mp4 02/06 15:30:49 Destination file not found 02/06 15:30:49 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153041_158.mp4 02/06 15:30:49 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153041_158.mp4 02/06 15:30:49 DownloadFile ok... checking file destination 02/06 15:30:49 URLDownloadToFile ok 02/06 15:30:50 Video .sig downloaded ok! 02/06 15:30:50 Snapshot .sig downloaded ok! 02/06 15:30:50 Elapsed download time: 00:00:01 02/06 15:30:50 UpdateVideoname 02/06 15:30:50 Updating: idalarmcra = 384448 02/06 15:30:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384448 ORDER BY IDALARMCRA DESC 02/06 15:30:50 Just before Update() 02/06 15:31:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:31:00 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:31:00 Alarms with pending videos found! 02/06 15:31:00 Next idalarmcra = 384451 02/06 15:31:00 DownloadVideos::DownloadVideoOfAlarm 02/06 15:31:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:31:00 SAM|1497 02/06 15:31:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153047_189.mp4|104874| 02/06 15:31:00 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153047_189.mp4 02/06 15:31:00 Date = 20190602 02/06 15:31:00 Construct from filename date 02/06 15:31:00 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153047_189.mp4 02/06 15:31:00 Destination file not found 02/06 15:31:00 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153047_189.mp4 02/06 15:31:00 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153047_189.mp4 02/06 15:31:00 DownloadFile ok... checking file destination 02/06 15:31:00 URLDownloadToFile ok 02/06 15:31:00 Video .sig downloaded ok! 02/06 15:31:01 Snapshot .sig downloaded ok! 02/06 15:31:01 Elapsed download time: 00:00:01 02/06 15:31:01 UpdateVideoname 02/06 15:31:01 Updating: idalarmcra = 384451 02/06 15:31:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384451 ORDER BY IDALARMCRA DESC 02/06 15:31:01 Just before Update() 02/06 15:31:01 Next idalarmcra = 384450 02/06 15:31:01 DownloadVideos::DownloadVideoOfAlarm 02/06 15:31:01 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:31:01 SAM|1496 02/06 15:31:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153045_66.mp4|112128| 02/06 15:31:01 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153045_66.mp4 02/06 15:31:01 Date = 20190602 02/06 15:31:01 Construct from filename date 02/06 15:31:01 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153045_66.mp4 02/06 15:31:01 Destination file not found 02/06 15:31:01 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153045_66.mp4 02/06 15:31:01 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153045_66.mp4 02/06 15:31:01 DownloadFile ok... checking file destination 02/06 15:31:01 URLDownloadToFile ok 02/06 15:31:01 Video .sig downloaded ok! 02/06 15:31:01 Snapshot .sig downloaded ok! 02/06 15:31:01 Elapsed download time: 00:00:00 02/06 15:31:01 UpdateVideoname 02/06 15:31:01 Updating: idalarmcra = 384450 02/06 15:31:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384450 ORDER BY IDALARMCRA DESC 02/06 15:31:01 Just before Update() 02/06 15:31:01 Next idalarmcra = 384449 02/06 15:31:01 DownloadVideos::DownloadVideoOfAlarm 02/06 15:31:01 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:31:01 SAM|1495 02/06 15:31:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153043_216.mp4|107516| 02/06 15:31:01 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153043_216.mp4 02/06 15:31:01 Date = 20190602 02/06 15:31:01 Construct from filename date 02/06 15:31:01 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153043_216.mp4 02/06 15:31:01 Destination file not found 02/06 15:31:01 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153043_216.mp4 02/06 15:31:01 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153043_216.mp4 02/06 15:31:02 DownloadFile ok... checking file destination 02/06 15:31:02 URLDownloadToFile ok 02/06 15:31:02 Video .sig downloaded ok! 02/06 15:31:02 Snapshot .sig downloaded ok! 02/06 15:31:02 Elapsed download time: 00:00:01 02/06 15:31:02 UpdateVideoname 02/06 15:31:02 Updating: idalarmcra = 384449 02/06 15:31:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384449 ORDER BY IDALARMCRA DESC 02/06 15:31:02 Just before Update() 02/06 15:31:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:31:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:31:12 Don't have work. 02/06 15:31:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:31:22 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:31:22 Alarms with pending videos found! 02/06 15:31:22 Next idalarmcra = 384453 02/06 15:31:22 DownloadVideos::DownloadVideoOfAlarm 02/06 15:31:22 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:31:22 SAM|1499 02/06 15:31:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153107_217.mp4|107535| 02/06 15:31:22 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153107_217.mp4 02/06 15:31:22 Date = 20190602 02/06 15:31:22 Construct from filename date 02/06 15:31:22 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153107_217.mp4 02/06 15:31:22 Destination file not found 02/06 15:31:22 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153107_217.mp4 02/06 15:31:22 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153107_217.mp4 02/06 15:31:23 DownloadFile ok... checking file destination 02/06 15:31:23 URLDownloadToFile ok 02/06 15:31:23 Video .sig downloaded ok! 02/06 15:31:23 Snapshot .sig downloaded ok! 02/06 15:31:23 Elapsed download time: 00:00:01 02/06 15:31:23 UpdateVideoname 02/06 15:31:23 Updating: idalarmcra = 384453 02/06 15:31:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384453 ORDER BY IDALARMCRA DESC 02/06 15:31:23 Just before Update() 02/06 15:31:23 Next idalarmcra = 384452 02/06 15:31:23 DownloadVideos::DownloadVideoOfAlarm 02/06 15:31:23 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:31:23 SAM|1498 02/06 15:31:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153106_159.mp4|105389| 02/06 15:31:23 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153106_159.mp4 02/06 15:31:23 Date = 20190602 02/06 15:31:23 Construct from filename date 02/06 15:31:23 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153106_159.mp4 02/06 15:31:23 Destination file not found 02/06 15:31:23 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153106_159.mp4 02/06 15:31:23 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153106_159.mp4 02/06 15:31:23 DownloadFile ok... checking file destination 02/06 15:31:23 URLDownloadToFile ok 02/06 15:31:23 Video .sig downloaded ok! 02/06 15:31:23 Snapshot .sig downloaded ok! 02/06 15:31:23 Elapsed download time: 00:00:00 02/06 15:31:23 UpdateVideoname 02/06 15:31:23 Updating: idalarmcra = 384452 02/06 15:31:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384452 ORDER BY IDALARMCRA DESC 02/06 15:31:23 Just before Update() 02/06 15:31:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:31:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:31:34 Don't have work. 02/06 15:31:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:31:44 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:31:44 Alarms with pending videos found! 02/06 15:31:44 Next idalarmcra = 384454 02/06 15:31:44 DownloadVideos::DownloadVideoOfAlarm 02/06 15:31:44 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:31:44 SAM|762 02/06 15:31:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_153130_119.mp4|108189| 02/06 15:31:44 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_153130_119.mp4 02/06 15:31:44 Date = 20190602 02/06 15:31:44 Construct from filename date 02/06 15:31:44 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_153130_119.mp4 02/06 15:31:44 Destination file not found 02/06 15:31:44 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_153130_119.mp4 02/06 15:31:44 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_153130_119.mp4 02/06 15:31:44 DownloadFile ok... checking file destination 02/06 15:31:44 URLDownloadToFile ok 02/06 15:31:45 Video .sig downloaded ok! 02/06 15:31:45 Snapshot .sig downloaded ok! 02/06 15:31:45 Elapsed download time: 00:00:01 02/06 15:31:45 UpdateVideoname 02/06 15:31:45 Updating: idalarmcra = 384454 02/06 15:31:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384454 ORDER BY IDALARMCRA DESC 02/06 15:31:45 Just before Update() 02/06 15:31:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:31:55 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:31:55 Don't have work. 02/06 15:32:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:32:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:32:15 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:32:15 [D] Query(29ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:32:15 Alarms with pending videos found! 02/06 15:32:15 Next idalarmcra = 384457 02/06 15:32:15 DownloadVideos::DownloadVideoOfAlarm 02/06 15:32:15 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:32:15 SAM|1501 02/06 15:32:15 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153209_218.mp4|99937| 02/06 15:32:15 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153209_218.mp4 02/06 15:32:15 Date = 20190602 02/06 15:32:15 Construct from filename date 02/06 15:32:15 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153209_218.mp4 02/06 15:32:15 Destination file not found 02/06 15:32:15 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153209_218.mp4 02/06 15:32:15 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153209_218.mp4 02/06 15:32:16 DownloadFile ok... checking file destination 02/06 15:32:16 URLDownloadToFile ok 02/06 15:32:16 Video .sig downloaded ok! 02/06 15:32:16 Snapshot .sig downloaded ok! 02/06 15:32:16 Elapsed download time: 00:00:01 02/06 15:32:16 UpdateVideoname 02/06 15:32:16 Updating: idalarmcra = 384457 02/06 15:32:16 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384457 ORDER BY IDALARMCRA DESC 02/06 15:32:16 Just before Update() 02/06 15:32:16 Next idalarmcra = 384456 02/06 15:32:16 DownloadVideos::DownloadVideoOfAlarm 02/06 15:32:16 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:32:16 SAM|1500 02/06 15:32:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153208_160.mp4|111214| 02/06 15:32:16 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153208_160.mp4 02/06 15:32:16 Date = 20190602 02/06 15:32:16 Construct from filename date 02/06 15:32:16 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153208_160.mp4 02/06 15:32:16 Destination file not found 02/06 15:32:16 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153208_160.mp4 02/06 15:32:16 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153208_160.mp4 02/06 15:32:16 DownloadFile ok... checking file destination 02/06 15:32:16 URLDownloadToFile ok 02/06 15:32:16 Video .sig downloaded ok! 02/06 15:32:17 Snapshot .sig downloaded ok! 02/06 15:32:17 Elapsed download time: 00:00:01 02/06 15:32:17 UpdateVideoname 02/06 15:32:17 Updating: idalarmcra = 384456 02/06 15:32:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384456 ORDER BY IDALARMCRA DESC 02/06 15:32:17 Just before Update() 02/06 15:32:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:32:27 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:32:27 Alarms with pending videos found! 02/06 15:32:27 Next idalarmcra = 384458 02/06 15:32:27 DownloadVideos::DownloadVideoOfAlarm 02/06 15:32:27 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:32:27 SAM|1502 02/06 15:32:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153216_190.mp4|105298| 02/06 15:32:27 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153216_190.mp4 02/06 15:32:27 Date = 20190602 02/06 15:32:27 Construct from filename date 02/06 15:32:27 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153216_190.mp4 02/06 15:32:27 Destination file not found 02/06 15:32:27 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153216_190.mp4 02/06 15:32:27 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153216_190.mp4 02/06 15:32:27 DownloadFile ok... checking file destination 02/06 15:32:27 URLDownloadToFile ok 02/06 15:32:27 Video .sig downloaded ok! 02/06 15:32:27 Snapshot .sig downloaded ok! 02/06 15:32:27 Elapsed download time: 00:00:00 02/06 15:32:27 UpdateVideoname 02/06 15:32:27 Updating: idalarmcra = 384458 02/06 15:32:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384458 ORDER BY IDALARMCRA DESC 02/06 15:32:27 Just before Update() 02/06 15:32:37 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:32:38 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:32:38 Alarms with pending videos found! 02/06 15:32:38 Next idalarmcra = 384459 02/06 15:32:38 DownloadVideos::DownloadVideoOfAlarm 02/06 15:32:38 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:32:38 SAM|1503 02/06 15:32:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153229_161.mp4|107561| 02/06 15:32:38 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153229_161.mp4 02/06 15:32:38 Date = 20190602 02/06 15:32:38 Construct from filename date 02/06 15:32:38 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153229_161.mp4 02/06 15:32:38 Destination file not found 02/06 15:32:38 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153229_161.mp4 02/06 15:32:38 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153229_161.mp4 02/06 15:32:38 DownloadFile ok... checking file destination 02/06 15:32:38 URLDownloadToFile ok 02/06 15:32:38 Video .sig downloaded ok! 02/06 15:32:38 Snapshot .sig downloaded ok! 02/06 15:32:38 Elapsed download time: 00:00:00 02/06 15:32:38 UpdateVideoname 02/06 15:32:38 Updating: idalarmcra = 384459 02/06 15:32:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384459 ORDER BY IDALARMCRA DESC 02/06 15:32:38 Just before Update() 02/06 15:32:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:32:48 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:32:48 Don't have work. 02/06 15:32:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:32:58 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:32:58 Alarms with pending videos found! 02/06 15:32:58 Next idalarmcra = 384463 02/06 15:32:58 DownloadVideos::DownloadVideoOfAlarm 02/06 15:32:58 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:32:58 SAM|1506 02/06 15:32:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153250_191.mp4|111429| 02/06 15:32:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153250_191.mp4 02/06 15:32:59 Date = 20190602 02/06 15:32:59 Construct from filename date 02/06 15:32:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153250_191.mp4 02/06 15:32:59 Destination file not found 02/06 15:32:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153250_191.mp4 02/06 15:32:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153250_191.mp4 02/06 15:32:59 DownloadFile ok... checking file destination 02/06 15:32:59 URLDownloadToFile ok 02/06 15:32:59 Video .sig downloaded ok! 02/06 15:32:59 Snapshot .sig downloaded ok! 02/06 15:32:59 Elapsed download time: 00:00:01 02/06 15:32:59 UpdateVideoname 02/06 15:32:59 Updating: idalarmcra = 384463 02/06 15:32:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384463 ORDER BY IDALARMCRA DESC 02/06 15:32:59 Just before Update() 02/06 15:32:59 Next idalarmcra = 384462 02/06 15:32:59 DownloadVideos::DownloadVideoOfAlarm 02/06 15:32:59 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:32:59 SAM|1504 02/06 15:32:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153249_67.mp4|107263| 02/06 15:32:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153249_67.mp4 02/06 15:32:59 Date = 20190602 02/06 15:32:59 Construct from filename date 02/06 15:32:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153249_67.mp4 02/06 15:32:59 Destination file not found 02/06 15:32:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153249_67.mp4 02/06 15:32:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153249_67.mp4 02/06 15:33:00 DownloadFile ok... checking file destination 02/06 15:33:00 URLDownloadToFile ok 02/06 15:33:00 Video .sig downloaded ok! 02/06 15:33:00 Snapshot .sig downloaded ok! 02/06 15:33:00 Elapsed download time: 00:00:01 02/06 15:33:00 UpdateVideoname 02/06 15:33:00 Updating: idalarmcra = 384462 02/06 15:33:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384462 ORDER BY IDALARMCRA DESC 02/06 15:33:00 Just before Update() 02/06 15:33:00 Next idalarmcra = 384460 02/06 15:33:00 DownloadVideos::DownloadVideoOfAlarm 02/06 15:33:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:33:00 SAM|1505 02/06 15:33:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153249_162.mp4|96632| 02/06 15:33:00 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153249_162.mp4 02/06 15:33:00 Date = 20190602 02/06 15:33:00 Construct from filename date 02/06 15:33:00 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153249_162.mp4 02/06 15:33:00 Destination file not found 02/06 15:33:00 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153249_162.mp4 02/06 15:33:00 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153249_162.mp4 02/06 15:33:00 DownloadFile ok... checking file destination 02/06 15:33:00 URLDownloadToFile ok 02/06 15:33:00 Video .sig downloaded ok! 02/06 15:33:01 Snapshot .sig downloaded ok! 02/06 15:33:01 Elapsed download time: 00:00:01 02/06 15:33:01 UpdateVideoname 02/06 15:33:01 Updating: idalarmcra = 384460 02/06 15:33:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384460 ORDER BY IDALARMCRA DESC 02/06 15:33:01 Just before Update() 02/06 15:33:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:33:11 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:33:11 Alarms with pending videos found! 02/06 15:33:11 Next idalarmcra = 384464 02/06 15:33:11 DownloadVideos::DownloadVideoOfAlarm 02/06 15:33:11 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:33:11 SAM|1507 02/06 15:33:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153258_219.mp4|104047| 02/06 15:33:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153258_219.mp4 02/06 15:33:11 Date = 20190602 02/06 15:33:11 Construct from filename date 02/06 15:33:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153258_219.mp4 02/06 15:33:11 Destination file not found 02/06 15:33:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153258_219.mp4 02/06 15:33:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153258_219.mp4 02/06 15:33:11 DownloadFile ok... checking file destination 02/06 15:33:11 URLDownloadToFile ok 02/06 15:33:11 Video .sig downloaded ok! 02/06 15:33:11 Snapshot .sig downloaded ok! 02/06 15:33:11 Elapsed download time: 00:00:00 02/06 15:33:11 UpdateVideoname 02/06 15:33:11 Updating: idalarmcra = 384464 02/06 15:33:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384464 ORDER BY IDALARMCRA DESC 02/06 15:33:11 Just before Update() 02/06 15:33:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:33:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:33:22 Don't have work. 02/06 15:33:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:33:32 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:33:32 Alarms with pending videos found! 02/06 15:33:32 Next idalarmcra = 384466 02/06 15:33:32 DownloadVideos::DownloadVideoOfAlarm 02/06 15:33:32 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:33:32 SAM|763 02/06 15:33:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_153323_120.mp4|104556| 02/06 15:33:32 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_153323_120.mp4 02/06 15:33:32 Date = 20190602 02/06 15:33:32 Construct from filename date 02/06 15:33:32 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_153323_120.mp4 02/06 15:33:32 Destination file not found 02/06 15:33:32 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_153323_120.mp4 02/06 15:33:32 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_153323_120.mp4 02/06 15:33:33 DownloadFile ok... checking file destination 02/06 15:33:33 URLDownloadToFile ok 02/06 15:33:33 Video .sig downloaded ok! 02/06 15:33:33 Snapshot .sig downloaded ok! 02/06 15:33:33 Elapsed download time: 00:00:01 02/06 15:33:33 UpdateVideoname 02/06 15:33:33 Updating: idalarmcra = 384466 02/06 15:33:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384466 ORDER BY IDALARMCRA DESC 02/06 15:33:33 Just before Update() 02/06 15:33:33 Next idalarmcra = 384465 02/06 15:33:33 DownloadVideos::DownloadVideoOfAlarm 02/06 15:33:33 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:33:33 SAM|1508 02/06 15:33:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153320_68.mp4|110127| 02/06 15:33:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153320_68.mp4 02/06 15:33:33 Date = 20190602 02/06 15:33:33 Construct from filename date 02/06 15:33:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153320_68.mp4 02/06 15:33:33 Destination file not found 02/06 15:33:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153320_68.mp4 02/06 15:33:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_153320_68.mp4 02/06 15:33:34 DownloadFile ok... checking file destination 02/06 15:33:34 URLDownloadToFile ok 02/06 15:33:34 Video .sig downloaded ok! 02/06 15:33:34 Snapshot .sig downloaded ok! 02/06 15:33:34 Elapsed download time: 00:00:01 02/06 15:33:34 UpdateVideoname 02/06 15:33:34 Updating: idalarmcra = 384465 02/06 15:33:34 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384465 ORDER BY IDALARMCRA DESC 02/06 15:33:34 Just before Update() 02/06 15:33:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:33:44 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:33:44 Alarms with pending videos found! 02/06 15:33:44 Next idalarmcra = 384467 02/06 15:33:44 DownloadVideos::DownloadVideoOfAlarm 02/06 15:33:44 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:33:44 SAM|22982 02/06 15:33:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153351_76.mp4|116116| 02/06 15:33:44 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153351_76.mp4 02/06 15:33:44 Date = 20190602 02/06 15:33:44 Construct from filename date 02/06 15:33:44 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153351_76.mp4 02/06 15:33:44 Destination file not found 02/06 15:33:44 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153351_76.mp4 02/06 15:33:44 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153351_76.mp4 02/06 15:33:46 DownloadFile ok... checking file destination 02/06 15:33:46 URLDownloadToFile ok 02/06 15:33:46 Video .sig downloaded ok! 02/06 15:33:47 Snapshot .sig downloaded ok! 02/06 15:33:47 Elapsed download time: 00:00:03 02/06 15:33:47 UpdateVideoname 02/06 15:33:47 Updating: idalarmcra = 384467 02/06 15:33:47 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384467 ORDER BY IDALARMCRA DESC 02/06 15:33:47 Rollback executed. 02/06 15:33:47 RecordSet closed. 02/06 15:33:47 CheckDDBB 02/06 15:33:47 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:33:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:33:57 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:33:57 Don't have work. 02/06 15:34:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:34:07 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:34:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:34:17 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:34:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:34:27 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:34:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:34:37 [D] Query(32ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:34:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:34:48 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:34:48 Alarms with pending videos found! 02/06 15:34:48 Next idalarmcra = 384468 02/06 15:34:48 DownloadVideos::DownloadVideoOfAlarm 02/06 15:34:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:34:48 SAM|1509 02/06 15:34:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153437_192.mp4|105148| 02/06 15:34:48 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153437_192.mp4 02/06 15:34:48 Date = 20190602 02/06 15:34:48 Construct from filename date 02/06 15:34:48 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153437_192.mp4 02/06 15:34:48 Destination file not found 02/06 15:34:48 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153437_192.mp4 02/06 15:34:48 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153437_192.mp4 02/06 15:34:48 DownloadFile ok... checking file destination 02/06 15:34:48 URLDownloadToFile ok 02/06 15:34:48 Video .sig downloaded ok! 02/06 15:34:49 Snapshot .sig downloaded ok! 02/06 15:34:49 Elapsed download time: 00:00:01 02/06 15:34:49 UpdateVideoname 02/06 15:34:49 Updating: idalarmcra = 384468 02/06 15:34:49 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384468 ORDER BY IDALARMCRA DESC 02/06 15:34:49 Just before Update() 02/06 15:34:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:34:59 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:34:59 Don't have work. 02/06 15:35:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:35:09 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:35:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:35:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:35:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:35:29 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:35:29 Alarms with pending videos found! 02/06 15:35:29 Next idalarmcra = 384469 02/06 15:35:29 DownloadVideos::DownloadVideoOfAlarm 02/06 15:35:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:35:29 SAM|163138 02/06 15:35:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_154807_18.mp4|111956| 02/06 15:35:29 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_154807_18.mp4 02/06 15:35:29 Date = 20190602 02/06 15:35:29 Construct from filename date 02/06 15:35:29 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_154807_18.mp4 02/06 15:35:29 Destination file not found 02/06 15:35:29 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_154807_18.mp4 02/06 15:35:29 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_154807_18.mp4 02/06 15:35:31 DownloadFile ok... checking file destination 02/06 15:35:31 URLDownloadToFile ok 02/06 15:35:31 Video .sig downloaded ok! 02/06 15:35:31 Snapshot .sig downloaded ok! 02/06 15:35:31 Elapsed download time: 00:00:02 02/06 15:35:31 UpdateVideoname 02/06 15:35:31 Updating: idalarmcra = 384469 02/06 15:35:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384469 ORDER BY IDALARMCRA DESC 02/06 15:35:31 Just before Update() 02/06 15:35:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:35:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:35:41 Don't have work. 02/06 15:35:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:35:51 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:35:51 Alarms with pending videos found! 02/06 15:35:51 Next idalarmcra = 384471 02/06 15:35:51 DownloadVideos::DownloadVideoOfAlarm 02/06 15:35:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:35:51 SAM|1510 02/06 15:35:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:35:52 NOK answer received 02/06 15:35:52 UpdateVideoname 02/06 15:35:52 Updating: idalarmcra = 384471 02/06 15:35:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384471 ORDER BY IDALARMCRA DESC 02/06 15:35:52 Just before Update() 02/06 15:36:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:36:02 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:36:02 Alarms with pending videos found! 02/06 15:36:02 Next idalarmcra = 384472 02/06 15:36:02 DownloadVideos::DownloadVideoOfAlarm 02/06 15:36:02 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 15:36:02 SAM|4718 02/06 15:36:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_153717_157.mp4|112080| 02/06 15:36:02 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_153717_157.mp4 02/06 15:36:02 Date = 20190602 02/06 15:36:02 Construct from filename date 02/06 15:36:02 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_153717_157.mp4 02/06 15:36:02 Destination file not found 02/06 15:36:02 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_153717_157.mp4 02/06 15:36:02 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_153717_157.mp4 02/06 15:36:03 DownloadFile ok... checking file destination 02/06 15:36:03 URLDownloadToFile ok 02/06 15:36:04 Video .sig downloaded ok! 02/06 15:36:04 Snapshot .sig downloaded ok! 02/06 15:36:04 Elapsed download time: 00:00:02 02/06 15:36:04 UpdateVideoname 02/06 15:36:04 Updating: idalarmcra = 384472 02/06 15:36:04 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384472 ORDER BY IDALARMCRA DESC 02/06 15:36:04 Just before Update() 02/06 15:36:04 Next idalarmcra = 384471 02/06 15:36:04 DownloadVideos::DownloadVideoOfAlarm 02/06 15:36:04 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:36:04 SAM|1510 02/06 15:36:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153550_193.mp4|100354| 02/06 15:36:05 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153550_193.mp4 02/06 15:36:05 Date = 20190602 02/06 15:36:05 Construct from filename date 02/06 15:36:05 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153550_193.mp4 02/06 15:36:05 Destination file not found 02/06 15:36:05 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153550_193.mp4 02/06 15:36:05 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153550_193.mp4 02/06 15:36:05 DownloadFile ok... checking file destination 02/06 15:36:05 URLDownloadToFile ok 02/06 15:36:05 Video .sig downloaded ok! 02/06 15:36:05 Snapshot .sig downloaded ok! 02/06 15:36:05 Elapsed download time: 00:00:01 02/06 15:36:05 UpdateVideoname 02/06 15:36:05 Updating: idalarmcra = 384471 02/06 15:36:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384471 ORDER BY IDALARMCRA DESC 02/06 15:36:05 Just before Update() 02/06 15:36:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:36:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:36:15 Don't have work. 02/06 15:36:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:36:26 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:36:26 Alarms with pending videos found! 02/06 15:36:26 Next idalarmcra = 384476 02/06 15:36:26 DownloadVideos::DownloadVideoOfAlarm 02/06 15:36:26 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:36:26 SAM|1511 02/06 15:36:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153619_220.mp4|106261| 02/06 15:36:26 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153619_220.mp4 02/06 15:36:26 Date = 20190602 02/06 15:36:26 Construct from filename date 02/06 15:36:26 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153619_220.mp4 02/06 15:36:26 Destination file not found 02/06 15:36:26 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153619_220.mp4 02/06 15:36:26 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153619_220.mp4 02/06 15:36:26 DownloadFile ok... checking file destination 02/06 15:36:26 URLDownloadToFile ok 02/06 15:36:26 Video .sig downloaded ok! 02/06 15:36:26 Snapshot .sig downloaded ok! 02/06 15:36:26 Elapsed download time: 00:00:00 02/06 15:36:27 UpdateVideoname 02/06 15:36:27 Updating: idalarmcra = 384476 02/06 15:36:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384476 ORDER BY IDALARMCRA DESC 02/06 15:36:27 Just before Update() 02/06 15:36:27 Next idalarmcra = 384475 02/06 15:36:27 DownloadVideos::DownloadVideoOfAlarm 02/06 15:36:27 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:36:27 SAM|1512 02/06 15:36:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153619_163.mp4|112767| 02/06 15:36:27 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153619_163.mp4 02/06 15:36:27 Date = 20190602 02/06 15:36:27 Construct from filename date 02/06 15:36:27 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153619_163.mp4 02/06 15:36:27 Destination file not found 02/06 15:36:27 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153619_163.mp4 02/06 15:36:27 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153619_163.mp4 02/06 15:36:27 DownloadFile ok... checking file destination 02/06 15:36:27 URLDownloadToFile ok 02/06 15:36:27 Video .sig downloaded ok! 02/06 15:36:27 Snapshot .sig downloaded ok! 02/06 15:36:27 Elapsed download time: 00:00:00 02/06 15:36:27 UpdateVideoname 02/06 15:36:27 Updating: idalarmcra = 384475 02/06 15:36:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384475 ORDER BY IDALARMCRA DESC 02/06 15:36:27 Just before Update() 02/06 15:36:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:36:37 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:36:38 Alarms with pending videos found! 02/06 15:36:38 Next idalarmcra = 384477 02/06 15:36:38 DownloadVideos::DownloadVideoOfAlarm 02/06 15:36:38 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 46 02/06 15:36:38 SAM|873 02/06 15:36:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteUSAK_DGS_VA_B_Cam4_Event2_20190602_153634_3.mp4|109856| 02/06 15:36:38 FilenameSrc = 20190602\\SiteUSAK_DGS_VA_B_Cam4_Event2_20190602_153634_3.mp4 02/06 15:36:38 Date = 20190602 02/06 15:36:38 Construct from filename date 02/06 15:36:38 Destination: c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam4_Event2_20190602_153634_3.mp4 02/06 15:36:38 Destination file not found 02/06 15:36:38 http://5.26.219.116:21001/20190602\\SiteUSAK_DGS_VA_B_Cam4_Event2_20190602_153634_3.mp4 02/06 15:36:38 c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam4_Event2_20190602_153634_3.mp4 02/06 15:36:38 DownloadFile ok... checking file destination 02/06 15:36:38 URLDownloadToFile ok 02/06 15:36:38 Video .sig downloaded ok! 02/06 15:36:39 Snapshot .sig downloaded ok! 02/06 15:36:39 Elapsed download time: 00:00:01 02/06 15:36:39 UpdateVideoname 02/06 15:36:39 Updating: idalarmcra = 384477 02/06 15:36:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384477 ORDER BY IDALARMCRA DESC 02/06 15:36:39 Just before Update() 02/06 15:36:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:36:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:36:49 Don't have work. 02/06 15:36:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:36:59 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:36:59 Alarms with pending videos found! 02/06 15:36:59 Next idalarmcra = 384481 02/06 15:36:59 DownloadVideos::DownloadVideoOfAlarm 02/06 15:36:59 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:36:59 SAM|1515 02/06 15:36:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153654_164.mp4|110298| 02/06 15:36:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153654_164.mp4 02/06 15:36:59 Date = 20190602 02/06 15:36:59 Construct from filename date 02/06 15:36:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153654_164.mp4 02/06 15:36:59 Destination file not found 02/06 15:36:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153654_164.mp4 02/06 15:36:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153654_164.mp4 02/06 15:36:59 DownloadFile ok... checking file destination 02/06 15:36:59 URLDownloadToFile ok 02/06 15:37:00 Video .sig downloaded ok! 02/06 15:37:00 Snapshot .sig downloaded ok! 02/06 15:37:00 Elapsed download time: 00:00:01 02/06 15:37:00 UpdateVideoname 02/06 15:37:00 Updating: idalarmcra = 384481 02/06 15:37:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384481 ORDER BY IDALARMCRA DESC 02/06 15:37:00 Just before Update() 02/06 15:37:00 Next idalarmcra = 384480 02/06 15:37:00 DownloadVideos::DownloadVideoOfAlarm 02/06 15:37:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:37:00 SAM|1514 02/06 15:37:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153652_194.mp4|110951| 02/06 15:37:00 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153652_194.mp4 02/06 15:37:00 Date = 20190602 02/06 15:37:00 Construct from filename date 02/06 15:37:00 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153652_194.mp4 02/06 15:37:00 Destination file not found 02/06 15:37:00 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153652_194.mp4 02/06 15:37:00 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153652_194.mp4 02/06 15:37:00 DownloadFile ok... checking file destination 02/06 15:37:00 URLDownloadToFile ok 02/06 15:37:00 Video .sig downloaded ok! 02/06 15:37:01 Snapshot .sig downloaded ok! 02/06 15:37:01 Elapsed download time: 00:00:01 02/06 15:37:01 UpdateVideoname 02/06 15:37:01 Updating: idalarmcra = 384480 02/06 15:37:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384480 ORDER BY IDALARMCRA DESC 02/06 15:37:01 Just before Update() 02/06 15:37:01 Next idalarmcra = 384479 02/06 15:37:01 DownloadVideos::DownloadVideoOfAlarm 02/06 15:37:01 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:37:01 SAM|1513 02/06 15:37:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153650_221.mp4|108799| 02/06 15:37:01 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153650_221.mp4 02/06 15:37:01 Date = 20190602 02/06 15:37:01 Construct from filename date 02/06 15:37:01 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153650_221.mp4 02/06 15:37:01 Destination file not found 02/06 15:37:01 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153650_221.mp4 02/06 15:37:01 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_153650_221.mp4 02/06 15:37:01 DownloadFile ok... checking file destination 02/06 15:37:01 URLDownloadToFile ok 02/06 15:37:01 Video .sig downloaded ok! 02/06 15:37:01 Snapshot .sig downloaded ok! 02/06 15:37:01 Elapsed download time: 00:00:00 02/06 15:37:01 UpdateVideoname 02/06 15:37:01 Updating: idalarmcra = 384479 02/06 15:37:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384479 ORDER BY IDALARMCRA DESC 02/06 15:37:01 Just before Update() 02/06 15:37:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:37:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:37:12 Don't have work. 02/06 15:37:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:37:22 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:37:22 Alarms with pending videos found! 02/06 15:37:22 Next idalarmcra = 384482 02/06 15:37:22 DownloadVideos::DownloadVideoOfAlarm 02/06 15:37:22 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:37:22 SAM|22983 02/06 15:37:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:37:22 NOK answer received 02/06 15:37:22 UpdateVideoname 02/06 15:37:22 Updating: idalarmcra = 384482 02/06 15:37:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384482 ORDER BY IDALARMCRA DESC 02/06 15:37:22 Just before Update() 02/06 15:37:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:37:32 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:37:32 Alarms with pending videos found! 02/06 15:37:32 Next idalarmcra = 384484 02/06 15:37:32 DownloadVideos::DownloadVideoOfAlarm 02/06 15:37:32 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:37:32 SAM|163139 02/06 15:37:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_155011_39.mp4|114067| 02/06 15:37:32 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_155011_39.mp4 02/06 15:37:32 Date = 20190602 02/06 15:37:32 Construct from filename date 02/06 15:37:32 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_155011_39.mp4 02/06 15:37:32 Destination file not found 02/06 15:37:32 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_155011_39.mp4 02/06 15:37:32 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_155011_39.mp4 02/06 15:37:33 DownloadFile ok... checking file destination 02/06 15:37:33 URLDownloadToFile ok 02/06 15:37:34 Video .sig downloaded ok! 02/06 15:37:34 Snapshot .sig downloaded ok! 02/06 15:37:34 Elapsed download time: 00:00:02 02/06 15:37:34 UpdateVideoname 02/06 15:37:34 Updating: idalarmcra = 384484 02/06 15:37:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384484 ORDER BY IDALARMCRA DESC 02/06 15:37:34 Just before Update() 02/06 15:37:34 Next idalarmcra = 384483 02/06 15:37:34 DownloadVideos::DownloadVideoOfAlarm 02/06 15:37:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 15:37:34 SAM|16953 02/06 15:37:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_153724_109.mp4|104159| 02/06 15:37:35 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_153724_109.mp4 02/06 15:37:35 Date = 20190602 02/06 15:37:35 Construct from filename date 02/06 15:37:35 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_153724_109.mp4 02/06 15:37:35 Destination file not found 02/06 15:37:35 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_153724_109.mp4 02/06 15:37:35 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_153724_109.mp4 02/06 15:37:37 DownloadFile ok... checking file destination 02/06 15:37:37 URLDownloadToFile ok 02/06 15:37:37 Video .sig downloaded ok! 02/06 15:37:37 Snapshot .sig downloaded ok! 02/06 15:37:37 Elapsed download time: 00:00:03 02/06 15:37:37 UpdateVideoname 02/06 15:37:37 Updating: idalarmcra = 384483 02/06 15:37:37 [D] Query(3ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384483 ORDER BY IDALARMCRA DESC 02/06 15:37:37 Rollback executed. 02/06 15:37:37 RecordSet closed. 02/06 15:37:37 CheckDDBB 02/06 15:37:37 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:37:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:37:47 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:37:47 Alarms with pending videos found! 02/06 15:37:47 Next idalarmcra = 384482 02/06 15:37:47 DownloadVideos::DownloadVideoOfAlarm 02/06 15:37:47 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:37:47 SAM|22983 02/06 15:37:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153733_77.mp4|110006| 02/06 15:37:48 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153733_77.mp4 02/06 15:37:48 Date = 20190602 02/06 15:37:48 Construct from filename date 02/06 15:37:48 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153733_77.mp4 02/06 15:37:48 Destination file not found 02/06 15:37:48 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153733_77.mp4 02/06 15:37:48 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153733_77.mp4 02/06 15:37:49 DownloadFile ok... checking file destination 02/06 15:37:49 URLDownloadToFile ok 02/06 15:37:49 Video .sig downloaded ok! 02/06 15:37:49 Snapshot .sig downloaded ok! 02/06 15:37:49 Elapsed download time: 00:00:02 02/06 15:37:49 UpdateVideoname 02/06 15:37:49 Updating: idalarmcra = 384482 02/06 15:37:49 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384482 ORDER BY IDALARMCRA DESC 02/06 15:37:49 Just before Update() 02/06 15:37:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:38:00 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:38:00 Don't have work. 02/06 15:38:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:38:10 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:38:10 Alarms with pending videos found! 02/06 15:38:10 Next idalarmcra = 384486 02/06 15:38:10 DownloadVideos::DownloadVideoOfAlarm 02/06 15:38:10 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:38:10 SAM|1518 02/06 15:38:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153801_196.mp4|114065| 02/06 15:38:10 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153801_196.mp4 02/06 15:38:10 Date = 20190602 02/06 15:38:10 Construct from filename date 02/06 15:38:10 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153801_196.mp4 02/06 15:38:10 Destination file not found 02/06 15:38:10 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153801_196.mp4 02/06 15:38:10 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153801_196.mp4 02/06 15:38:15 DownloadFile ok... checking file destination 02/06 15:38:15 URLDownloadToFile ok 02/06 15:38:15 Video .sig downloaded ok! 02/06 15:38:15 Snapshot .sig downloaded ok! 02/06 15:38:15 Elapsed download time: 00:00:05 02/06 15:38:15 UpdateVideoname 02/06 15:38:15 Updating: idalarmcra = 384486 02/06 15:38:15 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384486 ORDER BY IDALARMCRA DESC 02/06 15:38:15 Just before Update() 02/06 15:38:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:38:25 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:38:25 Alarms with pending videos found! 02/06 15:38:25 Next idalarmcra = 384491 02/06 15:38:25 DownloadVideos::DownloadVideoOfAlarm 02/06 15:38:25 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:38:25 SAM|1522 02/06 15:38:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153819_166.mp4|103353| 02/06 15:38:25 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153819_166.mp4 02/06 15:38:25 Date = 20190602 02/06 15:38:25 Construct from filename date 02/06 15:38:25 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153819_166.mp4 02/06 15:38:25 Destination file not found 02/06 15:38:25 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153819_166.mp4 02/06 15:38:25 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153819_166.mp4 02/06 15:38:30 DownloadFile ok... checking file destination 02/06 15:38:30 URLDownloadToFile ok 02/06 15:38:30 Video .sig downloaded ok! 02/06 15:38:31 Snapshot .sig downloaded ok! 02/06 15:38:31 Elapsed download time: 00:00:06 02/06 15:38:31 UpdateVideoname 02/06 15:38:31 Updating: idalarmcra = 384491 02/06 15:38:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384491 ORDER BY IDALARMCRA DESC 02/06 15:38:31 Just before Update() 02/06 15:38:31 Next idalarmcra = 384490 02/06 15:38:31 DownloadVideos::DownloadVideoOfAlarm 02/06 15:38:31 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:38:31 SAM|1521 02/06 15:38:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153818_197.mp4|112442| 02/06 15:38:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153818_197.mp4 02/06 15:38:31 Date = 20190602 02/06 15:38:31 Construct from filename date 02/06 15:38:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153818_197.mp4 02/06 15:38:31 Destination file not found 02/06 15:38:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153818_197.mp4 02/06 15:38:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_153818_197.mp4 02/06 15:38:33 DownloadFile ok... checking file destination 02/06 15:38:33 URLDownloadToFile ok 02/06 15:38:34 Video .sig downloaded ok! 02/06 15:38:35 Snapshot .sig downloaded ok! 02/06 15:38:35 Elapsed download time: 00:00:04 02/06 15:38:35 UpdateVideoname 02/06 15:38:35 Updating: idalarmcra = 384490 02/06 15:38:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384490 ORDER BY IDALARMCRA DESC 02/06 15:38:35 Just before Update() 02/06 15:38:35 Next idalarmcra = 384489 02/06 15:38:35 DownloadVideos::DownloadVideoOfAlarm 02/06 15:38:35 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:38:35 SAM|1519 02/06 15:38:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153802_165.mp4|104627| 02/06 15:38:35 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153802_165.mp4 02/06 15:38:35 Date = 20190602 02/06 15:38:35 Construct from filename date 02/06 15:38:35 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153802_165.mp4 02/06 15:38:35 Destination file not found 02/06 15:38:35 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153802_165.mp4 02/06 15:38:35 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_153802_165.mp4 02/06 15:38:39 DownloadFile ok... checking file destination 02/06 15:38:39 URLDownloadToFile ok 02/06 15:38:39 Video .sig downloaded ok! 02/06 15:38:39 Snapshot .sig downloaded ok! 02/06 15:38:39 Elapsed download time: 00:00:04 02/06 15:38:39 UpdateVideoname 02/06 15:38:39 Updating: idalarmcra = 384489 02/06 15:38:39 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384489 ORDER BY IDALARMCRA DESC 02/06 15:38:39 Rollback executed. 02/06 15:38:39 RecordSet closed. 02/06 15:38:39 CheckDDBB 02/06 15:38:39 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:38:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:38:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:38:49 Don't have work. 02/06 15:38:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:38:59 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:38:59 Alarms with pending videos found! 02/06 15:38:59 Next idalarmcra = 384492 02/06 15:38:59 DownloadVideos::DownloadVideoOfAlarm 02/06 15:38:59 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:38:59 SAM|1161 02/06 15:38:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:39:00 NOK answer received 02/06 15:39:00 UpdateVideoname 02/06 15:39:00 Updating: idalarmcra = 384492 02/06 15:39:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384492 ORDER BY IDALARMCRA DESC 02/06 15:39:00 Just before Update() 02/06 15:39:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:39:10 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:39:10 Alarms with pending videos found! 02/06 15:39:10 Next idalarmcra = 384492 02/06 15:39:10 DownloadVideos::DownloadVideoOfAlarm 02/06 15:39:10 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:39:10 SAM|1161 02/06 15:39:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_153809_62.mp4|111795| 02/06 15:39:10 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_153809_62.mp4 02/06 15:39:10 Date = 20190602 02/06 15:39:10 Construct from filename date 02/06 15:39:10 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_153809_62.mp4 02/06 15:39:10 Destination file not found 02/06 15:39:10 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_153809_62.mp4 02/06 15:39:10 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_153809_62.mp4 02/06 15:39:10 DownloadFile ok... checking file destination 02/06 15:39:10 URLDownloadToFile ok 02/06 15:39:11 Video .sig downloaded ok! 02/06 15:39:12 Snapshot .sig downloaded ok! 02/06 15:39:12 Elapsed download time: 00:00:02 02/06 15:39:12 UpdateVideoname 02/06 15:39:12 Updating: idalarmcra = 384492 02/06 15:39:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384492 ORDER BY IDALARMCRA DESC 02/06 15:39:12 Just before Update() 02/06 15:39:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:39:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:39:22 Don't have work. 02/06 15:39:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:39:32 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:39:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:39:42 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:39:42 Alarms with pending videos found! 02/06 15:39:42 Next idalarmcra = 384495 02/06 15:39:42 DownloadVideos::DownloadVideoOfAlarm 02/06 15:39:42 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:39:42 SAM|22984 02/06 15:39:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153949_78.mp4|112893| 02/06 15:39:42 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153949_78.mp4 02/06 15:39:42 Date = 20190602 02/06 15:39:42 Construct from filename date 02/06 15:39:42 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153949_78.mp4 02/06 15:39:42 Destination file not found 02/06 15:39:42 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153949_78.mp4 02/06 15:39:42 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_153949_78.mp4 02/06 15:39:44 DownloadFile ok... checking file destination 02/06 15:39:44 URLDownloadToFile ok 02/06 15:39:45 Video .sig downloaded ok! 02/06 15:39:45 Snapshot .sig downloaded ok! 02/06 15:39:45 Elapsed download time: 00:00:03 02/06 15:39:45 UpdateVideoname 02/06 15:39:45 Updating: idalarmcra = 384495 02/06 15:39:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384495 ORDER BY IDALARMCRA DESC 02/06 15:39:45 Just before Update() 02/06 15:39:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:39:55 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:39:55 Don't have work. 02/06 15:40:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:40:05 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:40:05 Alarms with pending videos found! 02/06 15:40:05 Next idalarmcra = 384499 02/06 15:40:05 DownloadVideos::DownloadVideoOfAlarm 02/06 15:40:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:40:05 SAM|1523 02/06 15:40:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:40:06 NOK answer received 02/06 15:40:06 UpdateVideoname 02/06 15:40:06 Updating: idalarmcra = 384499 02/06 15:40:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384499 ORDER BY IDALARMCRA DESC 02/06 15:40:06 Just before Update() 02/06 15:40:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:40:16 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:40:16 Alarms with pending videos found! 02/06 15:40:16 Next idalarmcra = 384500 02/06 15:40:16 DownloadVideos::DownloadVideoOfAlarm 02/06 15:40:16 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:40:16 SAM|22985 02/06 15:40:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_154018_79.mp4|112958| 02/06 15:40:16 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_154018_79.mp4 02/06 15:40:16 Date = 20190602 02/06 15:40:16 Construct from filename date 02/06 15:40:16 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_154018_79.mp4 02/06 15:40:16 Destination file not found 02/06 15:40:16 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_154018_79.mp4 02/06 15:40:16 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_154018_79.mp4 02/06 15:40:18 DownloadFile ok... checking file destination 02/06 15:40:18 URLDownloadToFile ok 02/06 15:40:18 Video .sig downloaded ok! 02/06 15:40:18 Snapshot .sig downloaded ok! 02/06 15:40:18 Elapsed download time: 00:00:02 02/06 15:40:18 UpdateVideoname 02/06 15:40:18 Updating: idalarmcra = 384500 02/06 15:40:18 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384500 ORDER BY IDALARMCRA DESC 02/06 15:40:18 Rollback executed. 02/06 15:40:18 RecordSet closed. 02/06 15:40:18 CheckDDBB 02/06 15:40:18 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:40:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:40:28 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:40:28 Alarms with pending videos found! 02/06 15:40:28 Next idalarmcra = 384501 02/06 15:40:28 DownloadVideos::DownloadVideoOfAlarm 02/06 15:40:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 15:40:28 SAM|16954 02/06 15:40:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_154018_110.mp4|95289| 02/06 15:40:29 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_154018_110.mp4 02/06 15:40:29 Date = 20190602 02/06 15:40:29 Construct from filename date 02/06 15:40:29 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_154018_110.mp4 02/06 15:40:29 Destination file not found 02/06 15:40:29 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_154018_110.mp4 02/06 15:40:29 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_154018_110.mp4 02/06 15:40:29 DownloadFile ok... checking file destination 02/06 15:40:29 URLDownloadToFile ok 02/06 15:40:30 Video .sig downloaded ok! 02/06 15:40:30 Snapshot .sig downloaded ok! 02/06 15:40:30 Elapsed download time: 00:00:02 02/06 15:40:30 UpdateVideoname 02/06 15:40:30 Updating: idalarmcra = 384501 02/06 15:40:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384501 ORDER BY IDALARMCRA DESC 02/06 15:40:30 Just before Update() 02/06 15:40:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:40:40 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:40:40 Alarms with pending videos found! 02/06 15:40:40 Next idalarmcra = 384504 02/06 15:40:40 DownloadVideos::DownloadVideoOfAlarm 02/06 15:40:40 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 15:40:40 SAM|4719 02/06 15:40:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:40:40 NOK answer received 02/06 15:40:41 UpdateVideoname 02/06 15:40:41 Updating: idalarmcra = 384504 02/06 15:40:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384504 ORDER BY IDALARMCRA DESC 02/06 15:40:41 Just before Update() 02/06 15:40:41 Next idalarmcra = 384503 02/06 15:40:41 DownloadVideos::DownloadVideoOfAlarm 02/06 15:40:41 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:40:41 SAM|1525 02/06 15:40:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_154033_223.mp4|105512| 02/06 15:40:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_154033_223.mp4 02/06 15:40:41 Date = 20190602 02/06 15:40:41 Construct from filename date 02/06 15:40:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_154033_223.mp4 02/06 15:40:41 Destination file not found 02/06 15:40:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_154033_223.mp4 02/06 15:40:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_154033_223.mp4 02/06 15:40:42 DownloadFile ok... checking file destination 02/06 15:40:42 URLDownloadToFile ok 02/06 15:40:42 Video .sig downloaded ok! 02/06 15:40:42 Snapshot .sig downloaded ok! 02/06 15:40:42 Elapsed download time: 00:00:01 02/06 15:40:42 UpdateVideoname 02/06 15:40:42 Updating: idalarmcra = 384503 02/06 15:40:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384503 ORDER BY IDALARMCRA DESC 02/06 15:40:42 Just before Update() 02/06 15:40:42 Next idalarmcra = 384502 02/06 15:40:42 DownloadVideos::DownloadVideoOfAlarm 02/06 15:40:42 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:40:42 SAM|1524 02/06 15:40:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154029_199.mp4|109964| 02/06 15:40:43 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154029_199.mp4 02/06 15:40:43 Date = 20190602 02/06 15:40:43 Construct from filename date 02/06 15:40:43 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154029_199.mp4 02/06 15:40:43 Destination file not found 02/06 15:40:43 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154029_199.mp4 02/06 15:40:43 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154029_199.mp4 02/06 15:40:43 DownloadFile ok... checking file destination 02/06 15:40:43 URLDownloadToFile ok 02/06 15:40:43 Video .sig downloaded ok! 02/06 15:40:44 Snapshot .sig downloaded ok! 02/06 15:40:44 Elapsed download time: 00:00:02 02/06 15:40:44 UpdateVideoname 02/06 15:40:44 Updating: idalarmcra = 384502 02/06 15:40:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384502 ORDER BY IDALARMCRA DESC 02/06 15:40:44 Just before Update() 02/06 15:40:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:40:54 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:40:54 Alarms with pending videos found! 02/06 15:40:54 Next idalarmcra = 384506 02/06 15:40:54 DownloadVideos::DownloadVideoOfAlarm 02/06 15:40:54 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 15:40:54 SAM|3949 02/06 15:40:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_154045_6.mp4|113060| 02/06 15:40:54 FilenameSrc = 20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_154045_6.mp4 02/06 15:40:54 Date = 20190602 02/06 15:40:54 Construct from filename date 02/06 15:40:54 Destination: c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_154045_6.mp4 02/06 15:40:54 Destination file not found 02/06 15:40:54 http://192.168.29.100:21000/20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_154045_6.mp4 02/06 15:40:54 c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_154045_6.mp4 02/06 15:40:56 DownloadFile ok... checking file destination 02/06 15:40:56 URLDownloadToFile ok 02/06 15:40:56 Video .sig downloaded ok! 02/06 15:40:56 Snapshot .sig downloaded ok! 02/06 15:40:56 Elapsed download time: 00:00:02 02/06 15:40:56 UpdateVideoname 02/06 15:40:56 Updating: idalarmcra = 384506 02/06 15:40:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384506 ORDER BY IDALARMCRA DESC 02/06 15:40:56 Just before Update() 02/06 15:40:56 Next idalarmcra = 384505 02/06 15:40:56 DownloadVideos::DownloadVideoOfAlarm 02/06 15:40:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:40:56 SAM|1526 02/06 15:40:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_154045_70.mp4|112350| 02/06 15:40:57 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_154045_70.mp4 02/06 15:40:57 Date = 20190602 02/06 15:40:57 Construct from filename date 02/06 15:40:57 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_154045_70.mp4 02/06 15:40:57 Destination file not found 02/06 15:40:57 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_154045_70.mp4 02/06 15:40:57 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_154045_70.mp4 02/06 15:40:57 DownloadFile ok... checking file destination 02/06 15:40:57 URLDownloadToFile ok 02/06 15:40:57 Video .sig downloaded ok! 02/06 15:40:57 Snapshot .sig downloaded ok! 02/06 15:40:57 Elapsed download time: 00:00:01 02/06 15:40:57 UpdateVideoname 02/06 15:40:57 Updating: idalarmcra = 384505 02/06 15:40:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384505 ORDER BY IDALARMCRA DESC 02/06 15:40:57 Just before Update() 02/06 15:41:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:41:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:41:08 Don't have work. 02/06 15:41:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:41:18 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:41:18 Alarms with pending videos found! 02/06 15:41:18 Next idalarmcra = 384507 02/06 15:41:18 DownloadVideos::DownloadVideoOfAlarm 02/06 15:41:18 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:41:18 SAM|1527 02/06 15:41:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154106_200.mp4|115779| 02/06 15:41:18 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154106_200.mp4 02/06 15:41:18 Date = 20190602 02/06 15:41:18 Construct from filename date 02/06 15:41:18 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154106_200.mp4 02/06 15:41:18 Destination file not found 02/06 15:41:18 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154106_200.mp4 02/06 15:41:18 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154106_200.mp4 02/06 15:41:18 DownloadFile ok... checking file destination 02/06 15:41:18 URLDownloadToFile ok 02/06 15:41:18 Video .sig downloaded ok! 02/06 15:41:19 Snapshot .sig downloaded ok! 02/06 15:41:19 Elapsed download time: 00:00:01 02/06 15:41:19 UpdateVideoname 02/06 15:41:19 Updating: idalarmcra = 384507 02/06 15:41:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384507 ORDER BY IDALARMCRA DESC 02/06 15:41:19 Just before Update() 02/06 15:41:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:41:29 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:41:29 Don't have work. 02/06 15:41:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:41:39 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:41:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:41:49 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:41:59 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:41:59 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:41:59 Alarms with pending videos found! 02/06 15:41:59 Next idalarmcra = 384510 02/06 15:41:59 DownloadVideos::DownloadVideoOfAlarm 02/06 15:41:59 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:41:59 SAM|1529 02/06 15:41:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154148_201.mp4|112491| 02/06 15:41:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154148_201.mp4 02/06 15:41:59 Date = 20190602 02/06 15:41:59 Construct from filename date 02/06 15:41:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154148_201.mp4 02/06 15:41:59 Destination file not found 02/06 15:41:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154148_201.mp4 02/06 15:41:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154148_201.mp4 02/06 15:42:00 DownloadFile ok... checking file destination 02/06 15:42:00 URLDownloadToFile ok 02/06 15:42:00 Video .sig downloaded ok! 02/06 15:42:00 Snapshot .sig downloaded ok! 02/06 15:42:00 Elapsed download time: 00:00:01 02/06 15:42:00 UpdateVideoname 02/06 15:42:00 Updating: idalarmcra = 384510 02/06 15:42:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384510 ORDER BY IDALARMCRA DESC 02/06 15:42:00 Just before Update() 02/06 15:42:00 Next idalarmcra = 384509 02/06 15:42:00 DownloadVideos::DownloadVideoOfAlarm 02/06 15:42:00 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:42:00 SAM|1528 02/06 15:42:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_154147_167.mp4|114753| 02/06 15:42:00 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_154147_167.mp4 02/06 15:42:00 Date = 20190602 02/06 15:42:00 Construct from filename date 02/06 15:42:00 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_154147_167.mp4 02/06 15:42:00 Destination file not found 02/06 15:42:00 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_154147_167.mp4 02/06 15:42:00 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_154147_167.mp4 02/06 15:42:01 DownloadFile ok... checking file destination 02/06 15:42:01 URLDownloadToFile ok 02/06 15:42:01 Video .sig downloaded ok! 02/06 15:42:01 Snapshot .sig downloaded ok! 02/06 15:42:01 Elapsed download time: 00:00:01 02/06 15:42:01 UpdateVideoname 02/06 15:42:01 Updating: idalarmcra = 384509 02/06 15:42:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384509 ORDER BY IDALARMCRA DESC 02/06 15:42:01 Just before Update() 02/06 15:42:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:42:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:42:11 Don't have work. 02/06 15:42:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:42:21 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:42:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:42:31 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:42:31 Alarms with pending videos found! 02/06 15:42:31 Next idalarmcra = 384511 02/06 15:42:31 DownloadVideos::DownloadVideoOfAlarm 02/06 15:42:31 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 15:42:31 SAM|6109 02/06 15:42:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_154225_1.mp4|72816| 02/06 15:42:32 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_154225_1.mp4 02/06 15:42:32 Date = 20190602 02/06 15:42:32 Construct from filename date 02/06 15:42:32 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_154225_1.mp4 02/06 15:42:32 Destination file not found 02/06 15:42:32 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_154225_1.mp4 02/06 15:42:32 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_154225_1.mp4 02/06 15:42:33 DownloadFile ok... checking file destination 02/06 15:42:33 URLDownloadToFile ok 02/06 15:42:34 Video .sig downloaded ok! 02/06 15:42:34 Snapshot .sig downloaded ok! 02/06 15:42:34 Elapsed download time: 00:00:03 02/06 15:42:34 UpdateVideoname 02/06 15:42:34 Updating: idalarmcra = 384511 02/06 15:42:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384511 ORDER BY IDALARMCRA DESC 02/06 15:42:34 Just before Update() 02/06 15:42:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:42:44 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:42:44 Alarms with pending videos found! 02/06 15:42:44 Next idalarmcra = 384512 02/06 15:42:44 DownloadVideos::DownloadVideoOfAlarm 02/06 15:42:44 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 15:42:44 SAM|14791 02/06 15:42:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_154238_559.mp4|116388| 02/06 15:42:45 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_154238_559.mp4 02/06 15:42:45 Date = 20190602 02/06 15:42:45 Construct from filename date 02/06 15:42:45 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_154238_559.mp4 02/06 15:42:45 Destination file not found 02/06 15:42:45 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_154238_559.mp4 02/06 15:42:45 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_154238_559.mp4 02/06 15:42:46 DownloadFile ok... checking file destination 02/06 15:42:46 URLDownloadToFile ok 02/06 15:42:47 Video .sig downloaded ok! 02/06 15:42:47 Snapshot .sig downloaded ok! 02/06 15:42:47 Elapsed download time: 00:00:03 02/06 15:42:47 UpdateVideoname 02/06 15:42:47 Updating: idalarmcra = 384512 02/06 15:42:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384512 ORDER BY IDALARMCRA DESC 02/06 15:42:47 Just before Update() 02/06 15:42:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:42:57 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:42:57 Alarms with pending videos found! 02/06 15:42:57 Next idalarmcra = 384513 02/06 15:42:57 DownloadVideos::DownloadVideoOfAlarm 02/06 15:42:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:42:57 SAM|1530 02/06 15:42:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154247_202.mp4|113794| 02/06 15:42:57 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154247_202.mp4 02/06 15:42:57 Date = 20190602 02/06 15:42:57 Construct from filename date 02/06 15:42:57 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154247_202.mp4 02/06 15:42:57 Destination file not found 02/06 15:42:57 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154247_202.mp4 02/06 15:42:57 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154247_202.mp4 02/06 15:42:58 DownloadFile ok... checking file destination 02/06 15:42:58 URLDownloadToFile ok 02/06 15:42:58 Video .sig downloaded ok! 02/06 15:42:58 Snapshot .sig downloaded ok! 02/06 15:42:58 Elapsed download time: 00:00:01 02/06 15:42:58 UpdateVideoname 02/06 15:42:58 Updating: idalarmcra = 384513 02/06 15:42:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384513 ORDER BY IDALARMCRA DESC 02/06 15:42:58 Just before Update() 02/06 15:43:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:43:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:43:08 Don't have work. 02/06 15:43:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:43:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:43:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:43:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:43:28 Alarms with pending videos found! 02/06 15:43:28 Next idalarmcra = 384514 02/06 15:43:28 DownloadVideos::DownloadVideoOfAlarm 02/06 15:43:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 7 02/06 15:43:28 SAM|54463 02/06 15:43:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BORNOVA__A_Cam4_Event2_20190602_154321_11.mp4|111853| 02/06 15:43:29 FilenameSrc = 20190602\\SiteDGS_VA_BORNOVA__A_Cam4_Event2_20190602_154321_11.mp4 02/06 15:43:29 Date = 20190602 02/06 15:43:29 Construct from filename date 02/06 15:43:29 Destination: c:\Davantis\CRAServer\\SITE_7\\20190602\\SiteDGS_VA_BORNOVA__A_Cam4_Event2_20190602_154321_11.mp4 02/06 15:43:29 Destination file not found 02/06 15:43:29 http://192.168.24.100:21000/20190602\\SiteDGS_VA_BORNOVA__A_Cam4_Event2_20190602_154321_11.mp4 02/06 15:43:29 c:\Davantis\CRAServer\\SITE_7\\20190602\\SiteDGS_VA_BORNOVA__A_Cam4_Event2_20190602_154321_11.mp4 02/06 15:43:30 DownloadFile ok... checking file destination 02/06 15:43:30 URLDownloadToFile ok 02/06 15:43:30 Video .sig downloaded ok! 02/06 15:43:30 Snapshot .sig downloaded ok! 02/06 15:43:30 Elapsed download time: 00:00:02 02/06 15:43:30 UpdateVideoname 02/06 15:43:30 Updating: idalarmcra = 384514 02/06 15:43:30 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384514 ORDER BY IDALARMCRA DESC 02/06 15:43:30 Just before Update() 02/06 15:43:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:43:40 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:43:40 Alarms with pending videos found! 02/06 15:43:40 Next idalarmcra = 384515 02/06 15:43:40 DownloadVideos::DownloadVideoOfAlarm 02/06 15:43:40 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:43:40 SAM|163140 02/06 15:43:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:43:41 NOK answer received 02/06 15:43:41 UpdateVideoname 02/06 15:43:41 Updating: idalarmcra = 384515 02/06 15:43:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384515 ORDER BY IDALARMCRA DESC 02/06 15:43:41 Just before Update() 02/06 15:43:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:43:51 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:43:51 Alarms with pending videos found! 02/06 15:43:51 Next idalarmcra = 384515 02/06 15:43:51 DownloadVideos::DownloadVideoOfAlarm 02/06 15:43:51 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:43:51 SAM|163140 02/06 15:43:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_155623_19.mp4|112315| 02/06 15:43:51 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_155623_19.mp4 02/06 15:43:51 Date = 20190602 02/06 15:43:51 Construct from filename date 02/06 15:43:51 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_155623_19.mp4 02/06 15:43:51 Destination file not found 02/06 15:43:51 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_155623_19.mp4 02/06 15:43:51 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam1_Event2_20190602_155623_19.mp4 02/06 15:43:53 DownloadFile ok... checking file destination 02/06 15:43:53 URLDownloadToFile ok 02/06 15:43:53 Video .sig downloaded ok! 02/06 15:43:53 Snapshot .sig downloaded ok! 02/06 15:43:53 Elapsed download time: 00:00:02 02/06 15:43:53 UpdateVideoname 02/06 15:43:53 Updating: idalarmcra = 384515 02/06 15:43:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384515 ORDER BY IDALARMCRA DESC 02/06 15:43:53 Just before Update() 02/06 15:44:03 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:44:03 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:44:03 Don't have work. 02/06 15:44:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:44:13 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:44:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:44:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:44:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:44:34 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:44:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:44:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:44:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:44:54 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:44:54 Alarms with pending videos found! 02/06 15:44:54 Next idalarmcra = 384516 02/06 15:44:54 DownloadVideos::DownloadVideoOfAlarm 02/06 15:44:54 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:44:54 SAM|1162 02/06 15:44:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:44:54 NOK answer received 02/06 15:44:54 UpdateVideoname 02/06 15:44:54 Updating: idalarmcra = 384516 02/06 15:44:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384516 ORDER BY IDALARMCRA DESC 02/06 15:44:54 Just before Update() 02/06 15:45:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:45:04 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:45:04 Alarms with pending videos found! 02/06 15:45:04 Next idalarmcra = 384516 02/06 15:45:04 DownloadVideos::DownloadVideoOfAlarm 02/06 15:45:04 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:45:04 SAM|1162 02/06 15:45:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_154403_63.mp4|106786| 02/06 15:45:05 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_154403_63.mp4 02/06 15:45:05 Date = 20190602 02/06 15:45:05 Construct from filename date 02/06 15:45:05 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_154403_63.mp4 02/06 15:45:05 Destination file not found 02/06 15:45:05 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_154403_63.mp4 02/06 15:45:05 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_154403_63.mp4 02/06 15:45:08 DownloadFile ok... checking file destination 02/06 15:45:08 URLDownloadToFile ok 02/06 15:45:08 Video .sig downloaded ok! 02/06 15:45:09 Snapshot .sig downloaded ok! 02/06 15:45:09 Elapsed download time: 00:00:05 02/06 15:45:09 UpdateVideoname 02/06 15:45:09 Updating: idalarmcra = 384516 02/06 15:45:09 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384516 ORDER BY IDALARMCRA DESC 02/06 15:45:09 Just before Update() 02/06 15:45:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:45:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:45:19 Don't have work. 02/06 15:45:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:45:29 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:45:29 Alarms with pending videos found! 02/06 15:45:29 Next idalarmcra = 384518 02/06 15:45:29 DownloadVideos::DownloadVideoOfAlarm 02/06 15:45:29 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 15:45:29 SAM|10906 02/06 15:45:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_144518_136.mp4|90540| 02/06 15:45:29 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_144518_136.mp4 02/06 15:45:29 Date = 20190602 02/06 15:45:29 Construct from filename date 02/06 15:45:29 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_144518_136.mp4 02/06 15:45:29 Destination file not found 02/06 15:45:29 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_144518_136.mp4 02/06 15:45:29 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_144518_136.mp4 02/06 15:45:30 DownloadFile ok... checking file destination 02/06 15:45:30 URLDownloadToFile ok 02/06 15:45:31 Video .sig downloaded ok! 02/06 15:45:31 Snapshot .sig downloaded ok! 02/06 15:45:31 Elapsed download time: 00:00:02 02/06 15:45:31 UpdateVideoname 02/06 15:45:31 Updating: idalarmcra = 384518 02/06 15:45:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384518 ORDER BY IDALARMCRA DESC 02/06 15:45:31 Just before Update() 02/06 15:45:41 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:45:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:45:41 Don't have work. 02/06 15:45:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:45:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:46:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:46:01 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:46:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:46:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:46:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:46:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:46:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:46:32 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:46:32 Alarms with pending videos found! 02/06 15:46:32 Next idalarmcra = 384520 02/06 15:46:32 DownloadVideos::DownloadVideoOfAlarm 02/06 15:46:32 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:46:32 SAM|1532 02/06 15:46:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154625_203.mp4|101395| 02/06 15:46:32 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154625_203.mp4 02/06 15:46:32 Date = 20190602 02/06 15:46:32 Construct from filename date 02/06 15:46:32 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154625_203.mp4 02/06 15:46:32 Destination file not found 02/06 15:46:32 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154625_203.mp4 02/06 15:46:32 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154625_203.mp4 02/06 15:46:33 DownloadFile ok... checking file destination 02/06 15:46:33 URLDownloadToFile ok 02/06 15:46:33 Video .sig downloaded ok! 02/06 15:46:33 Snapshot .sig downloaded ok! 02/06 15:46:33 Elapsed download time: 00:00:01 02/06 15:46:33 UpdateVideoname 02/06 15:46:33 Updating: idalarmcra = 384520 02/06 15:46:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384520 ORDER BY IDALARMCRA DESC 02/06 15:46:33 Just before Update() 02/06 15:46:33 Next idalarmcra = 384519 02/06 15:46:33 DownloadVideos::DownloadVideoOfAlarm 02/06 15:46:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:46:33 SAM|1531 02/06 15:46:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_154623_168.mp4|99628| 02/06 15:46:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_154623_168.mp4 02/06 15:46:33 Date = 20190602 02/06 15:46:33 Construct from filename date 02/06 15:46:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_154623_168.mp4 02/06 15:46:33 Destination file not found 02/06 15:46:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_154623_168.mp4 02/06 15:46:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_154623_168.mp4 02/06 15:46:34 DownloadFile ok... checking file destination 02/06 15:46:34 URLDownloadToFile ok 02/06 15:46:34 Video .sig downloaded ok! 02/06 15:46:34 Snapshot .sig downloaded ok! 02/06 15:46:34 Elapsed download time: 00:00:01 02/06 15:46:34 UpdateVideoname 02/06 15:46:34 Updating: idalarmcra = 384519 02/06 15:46:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384519 ORDER BY IDALARMCRA DESC 02/06 15:46:34 Just before Update() 02/06 15:46:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:46:44 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:46:44 Alarms with pending videos found! 02/06 15:46:44 Next idalarmcra = 384521 02/06 15:46:44 DownloadVideos::DownloadVideoOfAlarm 02/06 15:46:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:46:44 SAM|764 02/06 15:46:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_154636_121.mp4|107777| 02/06 15:46:44 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_154636_121.mp4 02/06 15:46:44 Date = 20190602 02/06 15:46:44 Construct from filename date 02/06 15:46:44 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_154636_121.mp4 02/06 15:46:44 Destination file not found 02/06 15:46:44 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_154636_121.mp4 02/06 15:46:44 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_154636_121.mp4 02/06 15:46:45 DownloadFile ok... checking file destination 02/06 15:46:45 URLDownloadToFile ok 02/06 15:46:45 Video .sig downloaded ok! 02/06 15:46:45 Snapshot .sig downloaded ok! 02/06 15:46:45 Elapsed download time: 00:00:01 02/06 15:46:46 UpdateVideoname 02/06 15:46:46 Updating: idalarmcra = 384521 02/06 15:46:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384521 ORDER BY IDALARMCRA DESC 02/06 15:46:46 Just before Update() 02/06 15:46:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:46:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:46:56 Don't have work. 02/06 15:47:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:47:06 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:47:06 Alarms with pending videos found! 02/06 15:47:06 Next idalarmcra = 384522 02/06 15:47:06 DownloadVideos::DownloadVideoOfAlarm 02/06 15:47:06 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:47:06 SAM|1533 02/06 15:47:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:47:06 NOK answer received 02/06 15:47:06 UpdateVideoname 02/06 15:47:06 Updating: idalarmcra = 384522 02/06 15:47:06 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384522 ORDER BY IDALARMCRA DESC 02/06 15:47:06 Just before Update() 02/06 15:47:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:47:16 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:47:16 Alarms with pending videos found! 02/06 15:47:16 Next idalarmcra = 384523 02/06 15:47:16 DownloadVideos::DownloadVideoOfAlarm 02/06 15:47:16 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 15:47:16 SAM|4720 02/06 15:47:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_154835_159.mp4|116615| 02/06 15:47:17 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_154835_159.mp4 02/06 15:47:17 Date = 20190602 02/06 15:47:17 Construct from filename date 02/06 15:47:17 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_154835_159.mp4 02/06 15:47:17 Destination file not found 02/06 15:47:17 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_154835_159.mp4 02/06 15:47:17 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_154835_159.mp4 02/06 15:47:19 DownloadFile ok... checking file destination 02/06 15:47:19 URLDownloadToFile ok 02/06 15:47:20 Video .sig downloaded ok! 02/06 15:47:20 Snapshot .sig downloaded ok! 02/06 15:47:20 Elapsed download time: 00:00:04 02/06 15:47:20 UpdateVideoname 02/06 15:47:20 Updating: idalarmcra = 384523 02/06 15:47:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384523 ORDER BY IDALARMCRA DESC 02/06 15:47:20 Just before Update() 02/06 15:47:20 Next idalarmcra = 384522 02/06 15:47:20 DownloadVideos::DownloadVideoOfAlarm 02/06 15:47:20 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:47:20 SAM|1533 02/06 15:47:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154701_204.mp4|108310| 02/06 15:47:20 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154701_204.mp4 02/06 15:47:20 Date = 20190602 02/06 15:47:20 Construct from filename date 02/06 15:47:20 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154701_204.mp4 02/06 15:47:20 Destination file not found 02/06 15:47:20 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154701_204.mp4 02/06 15:47:20 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154701_204.mp4 02/06 15:47:21 DownloadFile ok... checking file destination 02/06 15:47:21 URLDownloadToFile ok 02/06 15:47:21 Video .sig downloaded ok! 02/06 15:47:21 Snapshot .sig downloaded ok! 02/06 15:47:21 Elapsed download time: 00:00:01 02/06 15:47:21 UpdateVideoname 02/06 15:47:21 Updating: idalarmcra = 384522 02/06 15:47:21 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384522 ORDER BY IDALARMCRA DESC 02/06 15:47:21 Just before Update() 02/06 15:47:31 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:47:31 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:47:31 Alarms with pending videos found! 02/06 15:47:31 Next idalarmcra = 384525 02/06 15:47:31 DownloadVideos::DownloadVideoOfAlarm 02/06 15:47:31 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:47:31 SAM|1535 02/06 15:47:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_154721_71.mp4|114235| 02/06 15:47:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_154721_71.mp4 02/06 15:47:31 Date = 20190602 02/06 15:47:31 Construct from filename date 02/06 15:47:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_154721_71.mp4 02/06 15:47:31 Destination file not found 02/06 15:47:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_154721_71.mp4 02/06 15:47:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_154721_71.mp4 02/06 15:47:31 DownloadFile ok... checking file destination 02/06 15:47:31 URLDownloadToFile ok 02/06 15:47:31 Video .sig downloaded ok! 02/06 15:47:32 Snapshot .sig downloaded ok! 02/06 15:47:32 Elapsed download time: 00:00:01 02/06 15:47:32 UpdateVideoname 02/06 15:47:32 Updating: idalarmcra = 384525 02/06 15:47:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384525 ORDER BY IDALARMCRA DESC 02/06 15:47:32 Just before Update() 02/06 15:47:32 Next idalarmcra = 384524 02/06 15:47:32 DownloadVideos::DownloadVideoOfAlarm 02/06 15:47:32 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:47:32 SAM|1534 02/06 15:47:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154717_205.mp4|113124| 02/06 15:47:32 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154717_205.mp4 02/06 15:47:32 Date = 20190602 02/06 15:47:32 Construct from filename date 02/06 15:47:32 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154717_205.mp4 02/06 15:47:32 Destination file not found 02/06 15:47:32 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154717_205.mp4 02/06 15:47:32 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154717_205.mp4 02/06 15:47:32 DownloadFile ok... checking file destination 02/06 15:47:32 URLDownloadToFile ok 02/06 15:47:32 Video .sig downloaded ok! 02/06 15:47:32 Snapshot .sig downloaded ok! 02/06 15:47:32 Elapsed download time: 00:00:00 02/06 15:47:32 UpdateVideoname 02/06 15:47:32 Updating: idalarmcra = 384524 02/06 15:47:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384524 ORDER BY IDALARMCRA DESC 02/06 15:47:32 Just before Update() 02/06 15:47:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:47:42 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:47:42 Don't have work. 02/06 15:47:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:47:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:48:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:48:03 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:48:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:48:13 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:48:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:48:23 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:48:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:48:33 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:48:33 Alarms with pending videos found! 02/06 15:48:33 Next idalarmcra = 384527 02/06 15:48:33 DownloadVideos::DownloadVideoOfAlarm 02/06 15:48:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:48:33 SAM|1163 02/06 15:48:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:48:33 NOK answer received 02/06 15:48:33 UpdateVideoname 02/06 15:48:33 Updating: idalarmcra = 384527 02/06 15:48:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384527 ORDER BY IDALARMCRA DESC 02/06 15:48:33 Just before Update() 02/06 15:48:33 Next idalarmcra = 384526 02/06 15:48:33 DownloadVideos::DownloadVideoOfAlarm 02/06 15:48:33 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:48:33 SAM|163141 02/06 15:48:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_160111_101.mp4|108820| 02/06 15:48:34 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_160111_101.mp4 02/06 15:48:34 Date = 20190602 02/06 15:48:34 Construct from filename date 02/06 15:48:34 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_160111_101.mp4 02/06 15:48:34 Destination file not found 02/06 15:48:34 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_160111_101.mp4 02/06 15:48:34 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_160111_101.mp4 02/06 15:48:35 DownloadFile ok... checking file destination 02/06 15:48:35 URLDownloadToFile ok 02/06 15:48:35 Video .sig downloaded ok! 02/06 15:48:36 Snapshot .sig downloaded ok! 02/06 15:48:36 Elapsed download time: 00:00:03 02/06 15:48:36 UpdateVideoname 02/06 15:48:36 Updating: idalarmcra = 384526 02/06 15:48:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384526 ORDER BY IDALARMCRA DESC 02/06 15:48:36 Just before Update() 02/06 15:48:46 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:48:46 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:48:46 Alarms with pending videos found! 02/06 15:48:46 Next idalarmcra = 384528 02/06 15:48:46 DownloadVideos::DownloadVideoOfAlarm 02/06 15:48:46 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:48:46 SAM|1536 02/06 15:48:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154835_206.mp4|113785| 02/06 15:48:46 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154835_206.mp4 02/06 15:48:46 Date = 20190602 02/06 15:48:46 Construct from filename date 02/06 15:48:46 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154835_206.mp4 02/06 15:48:46 Destination file not found 02/06 15:48:46 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154835_206.mp4 02/06 15:48:46 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_154835_206.mp4 02/06 15:48:47 DownloadFile ok... checking file destination 02/06 15:48:47 URLDownloadToFile ok 02/06 15:48:47 Video .sig downloaded ok! 02/06 15:48:47 Snapshot .sig downloaded ok! 02/06 15:48:47 Elapsed download time: 00:00:01 02/06 15:48:47 UpdateVideoname 02/06 15:48:47 Updating: idalarmcra = 384528 02/06 15:48:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384528 ORDER BY IDALARMCRA DESC 02/06 15:48:47 Just before Update() 02/06 15:48:47 Next idalarmcra = 384527 02/06 15:48:47 DownloadVideos::DownloadVideoOfAlarm 02/06 15:48:47 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:48:47 SAM|1163 02/06 15:48:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_154743_185.mp4|104240| 02/06 15:48:47 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_154743_185.mp4 02/06 15:48:47 Date = 20190602 02/06 15:48:47 Construct from filename date 02/06 15:48:47 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_154743_185.mp4 02/06 15:48:47 Destination file not found 02/06 15:48:47 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_154743_185.mp4 02/06 15:48:47 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_154743_185.mp4 02/06 15:48:48 DownloadFile ok... checking file destination 02/06 15:48:48 URLDownloadToFile ok 02/06 15:48:48 Video .sig downloaded ok! 02/06 15:48:48 Snapshot .sig downloaded ok! 02/06 15:48:48 Elapsed download time: 00:00:01 02/06 15:48:48 UpdateVideoname 02/06 15:48:48 Updating: idalarmcra = 384527 02/06 15:48:48 [D] Query(4ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384527 ORDER BY IDALARMCRA DESC 02/06 15:48:48 Just before Update() 02/06 15:48:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:48:58 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:48:58 Don't have work. 02/06 15:49:08 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:49:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:49:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:49:19 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:49:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:49:29 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:49:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:49:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:49:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:49:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:49:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:49:59 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:50:09 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:50:09 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:50:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:50:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:50:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:50:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 15:50:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:50:39 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:50:39 Alarms with pending videos found! 02/06 15:50:39 Next idalarmcra = 384529 02/06 15:50:39 DownloadVideos::DownloadVideoOfAlarm 02/06 15:50:39 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:50:39 SAM|1537 02/06 15:50:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155032_207.mp4|110866| 02/06 15:50:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155032_207.mp4 02/06 15:50:40 Date = 20190602 02/06 15:50:40 Construct from filename date 02/06 15:50:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155032_207.mp4 02/06 15:50:40 Destination file not found 02/06 15:50:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155032_207.mp4 02/06 15:50:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155032_207.mp4 02/06 15:50:43 DownloadFile ok... checking file destination 02/06 15:50:43 URLDownloadToFile ok 02/06 15:50:44 Video .sig downloaded ok! 02/06 15:50:44 Snapshot .sig downloaded ok! 02/06 15:50:44 Elapsed download time: 00:00:05 02/06 15:50:44 UpdateVideoname 02/06 15:50:44 Updating: idalarmcra = 384529 02/06 15:50:44 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384529 ORDER BY IDALARMCRA DESC 02/06 15:50:44 Just before Update() 02/06 15:50:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:50:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:50:54 Don't have work. 02/06 15:51:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:51:05 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:51:05 Alarms with pending videos found! 02/06 15:51:05 Next idalarmcra = 384531 02/06 15:51:05 DownloadVideos::DownloadVideoOfAlarm 02/06 15:51:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:51:05 SAM|22986 02/06 15:51:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155111_80.mp4|112671| 02/06 15:51:05 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155111_80.mp4 02/06 15:51:05 Date = 20190602 02/06 15:51:05 Construct from filename date 02/06 15:51:05 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155111_80.mp4 02/06 15:51:05 Destination file not found 02/06 15:51:05 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155111_80.mp4 02/06 15:51:05 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155111_80.mp4 02/06 15:51:06 DownloadFile ok... checking file destination 02/06 15:51:06 URLDownloadToFile ok 02/06 15:51:07 Video .sig downloaded ok! 02/06 15:51:07 Snapshot .sig downloaded ok! 02/06 15:51:07 Elapsed download time: 00:00:02 02/06 15:51:07 UpdateVideoname 02/06 15:51:07 Updating: idalarmcra = 384531 02/06 15:51:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384531 ORDER BY IDALARMCRA DESC 02/06 15:51:07 Just before Update() 02/06 15:51:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:51:17 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:51:17 Don't have work. 02/06 15:51:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:51:27 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:51:27 Alarms with pending videos found! 02/06 15:51:27 Next idalarmcra = 384532 02/06 15:51:27 DownloadVideos::DownloadVideoOfAlarm 02/06 15:51:27 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:51:27 SAM|1164 02/06 15:51:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155023_64.mp4|108284| 02/06 15:51:28 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155023_64.mp4 02/06 15:51:28 Date = 20190602 02/06 15:51:28 Construct from filename date 02/06 15:51:28 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155023_64.mp4 02/06 15:51:28 Destination file not found 02/06 15:51:28 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155023_64.mp4 02/06 15:51:28 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155023_64.mp4 02/06 15:51:28 DownloadFile ok... checking file destination 02/06 15:51:28 URLDownloadToFile ok 02/06 15:51:29 Video .sig downloaded ok! 02/06 15:51:29 Snapshot .sig downloaded ok! 02/06 15:51:29 Elapsed download time: 00:00:02 02/06 15:51:29 UpdateVideoname 02/06 15:51:29 Updating: idalarmcra = 384532 02/06 15:51:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384532 ORDER BY IDALARMCRA DESC 02/06 15:51:29 Just before Update() 02/06 15:51:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:51:39 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:51:39 Alarms with pending videos found! 02/06 15:51:39 Next idalarmcra = 384533 02/06 15:51:39 DownloadVideos::DownloadVideoOfAlarm 02/06 15:51:39 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:51:39 SAM|22987 02/06 15:51:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155144_81.mp4|109200| 02/06 15:51:40 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155144_81.mp4 02/06 15:51:40 Date = 20190602 02/06 15:51:40 Construct from filename date 02/06 15:51:40 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155144_81.mp4 02/06 15:51:40 Destination file not found 02/06 15:51:40 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155144_81.mp4 02/06 15:51:40 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155144_81.mp4 02/06 15:51:42 DownloadFile ok... checking file destination 02/06 15:51:42 URLDownloadToFile ok 02/06 15:51:42 Video .sig downloaded ok! 02/06 15:51:43 Snapshot .sig downloaded ok! 02/06 15:51:43 Elapsed download time: 00:00:04 02/06 15:51:43 UpdateVideoname 02/06 15:51:43 Updating: idalarmcra = 384533 02/06 15:51:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384533 ORDER BY IDALARMCRA DESC 02/06 15:51:43 Just before Update() 02/06 15:51:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:51:53 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:51:53 Alarms with pending videos found! 02/06 15:51:53 Next idalarmcra = 384534 02/06 15:51:53 DownloadVideos::DownloadVideoOfAlarm 02/06 15:51:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 33 02/06 15:51:53 SAM|3225 02/06 15:51:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_155142_81.mp4|93061| 02/06 15:51:54 FilenameSrc = 20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_155142_81.mp4 02/06 15:51:54 Date = 20190602 02/06 15:51:54 Construct from filename date 02/06 15:51:54 Destination: c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_155142_81.mp4 02/06 15:51:54 Destination file not found 02/06 15:51:54 http://192.168.31.100:21000/20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_155142_81.mp4 02/06 15:51:54 c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_155142_81.mp4 02/06 15:51:55 DownloadFile ok... checking file destination 02/06 15:51:55 URLDownloadToFile ok 02/06 15:51:56 Video .sig downloaded ok! 02/06 15:51:56 Snapshot .sig downloaded ok! 02/06 15:51:56 Elapsed download time: 00:00:03 02/06 15:51:56 UpdateVideoname 02/06 15:51:56 Updating: idalarmcra = 384534 02/06 15:51:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384534 ORDER BY IDALARMCRA DESC 02/06 15:51:56 Just before Update() 02/06 15:52:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:52:06 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:52:06 Don't have work. 02/06 15:52:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:52:16 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:52:16 Alarms with pending videos found! 02/06 15:52:16 Next idalarmcra = 384535 02/06 15:52:16 DownloadVideos::DownloadVideoOfAlarm 02/06 15:52:16 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 39 02/06 15:52:16 SAM|3719 02/06 15:52:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_A_Cam2_Event2_20190602_145511_6.mp4|101598| 02/06 15:52:16 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_A_Cam2_Event2_20190602_145511_6.mp4 02/06 15:52:16 Date = 20190602 02/06 15:52:16 Construct from filename date 02/06 15:52:16 Destination: c:\Davantis\CRAServer\\SITE_39\\20190602\\SiteDGS_VA_NAZILLI_A_Cam2_Event2_20190602_145511_6.mp4 02/06 15:52:16 Destination file not found 02/06 15:52:16 http://192.168.17.100:21000/20190602\\SiteDGS_VA_NAZILLI_A_Cam2_Event2_20190602_145511_6.mp4 02/06 15:52:16 c:\Davantis\CRAServer\\SITE_39\\20190602\\SiteDGS_VA_NAZILLI_A_Cam2_Event2_20190602_145511_6.mp4 02/06 15:52:19 DownloadFile ok... checking file destination 02/06 15:52:19 URLDownloadToFile ok 02/06 15:52:19 Video .sig downloaded ok! 02/06 15:52:19 Snapshot .sig downloaded ok! 02/06 15:52:19 Elapsed download time: 00:00:03 02/06 15:52:19 UpdateVideoname 02/06 15:52:19 Updating: idalarmcra = 384535 02/06 15:52:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384535 ORDER BY IDALARMCRA DESC 02/06 15:52:19 Just before Update() 02/06 15:52:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:52:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:52:29 Don't have work. 02/06 15:52:39 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:52:40 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:52:40 Alarms with pending videos found! 02/06 15:52:40 Next idalarmcra = 384536 02/06 15:52:40 DownloadVideos::DownloadVideoOfAlarm 02/06 15:52:40 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:52:40 SAM|1539 02/06 15:52:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155232_209.mp4|115395| 02/06 15:52:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155232_209.mp4 02/06 15:52:40 Date = 20190602 02/06 15:52:40 Construct from filename date 02/06 15:52:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155232_209.mp4 02/06 15:52:40 Destination file not found 02/06 15:52:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155232_209.mp4 02/06 15:52:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155232_209.mp4 02/06 15:52:40 DownloadFile ok... checking file destination 02/06 15:52:40 URLDownloadToFile ok 02/06 15:52:40 Video .sig downloaded ok! 02/06 15:52:40 Snapshot .sig downloaded ok! 02/06 15:52:40 Elapsed download time: 00:00:00 02/06 15:52:40 UpdateVideoname 02/06 15:52:40 Updating: idalarmcra = 384536 02/06 15:52:40 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384536 ORDER BY IDALARMCRA DESC 02/06 15:52:40 Just before Update() 02/06 15:52:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:52:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:52:51 Don't have work. 02/06 15:53:01 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:53:01 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:53:01 Alarms with pending videos found! 02/06 15:53:01 Next idalarmcra = 384537 02/06 15:53:01 DownloadVideos::DownloadVideoOfAlarm 02/06 15:53:01 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 15:53:01 SAM|22988 02/06 15:53:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155311_82.mp4|110102| 02/06 15:53:01 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155311_82.mp4 02/06 15:53:01 Date = 20190602 02/06 15:53:01 Construct from filename date 02/06 15:53:01 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155311_82.mp4 02/06 15:53:01 Destination file not found 02/06 15:53:01 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155311_82.mp4 02/06 15:53:01 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_155311_82.mp4 02/06 15:53:02 DownloadFile ok... checking file destination 02/06 15:53:02 URLDownloadToFile ok 02/06 15:53:03 Video .sig downloaded ok! 02/06 15:53:03 Snapshot .sig downloaded ok! 02/06 15:53:03 Elapsed download time: 00:00:02 02/06 15:53:03 UpdateVideoname 02/06 15:53:03 Updating: idalarmcra = 384537 02/06 15:53:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384537 ORDER BY IDALARMCRA DESC 02/06 15:53:03 Just before Update() 02/06 15:53:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:53:13 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:53:13 Alarms with pending videos found! 02/06 15:53:13 Next idalarmcra = 384538 02/06 15:53:13 DownloadVideos::DownloadVideoOfAlarm 02/06 15:53:13 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 15:53:13 SAM|4721 02/06 15:53:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:53:14 NOK answer received 02/06 15:53:14 UpdateVideoname 02/06 15:53:14 Updating: idalarmcra = 384538 02/06 15:53:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384538 ORDER BY IDALARMCRA DESC 02/06 15:53:14 Just before Update() 02/06 15:53:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:53:24 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:53:24 Alarms with pending videos found! 02/06 15:53:24 Next idalarmcra = 384538 02/06 15:53:24 DownloadVideos::DownloadVideoOfAlarm 02/06 15:53:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 15:53:24 SAM|4721 02/06 15:53:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_155436_160.mp4|112356| 02/06 15:53:24 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_155436_160.mp4 02/06 15:53:24 Date = 20190602 02/06 15:53:24 Construct from filename date 02/06 15:53:24 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_155436_160.mp4 02/06 15:53:24 Destination file not found 02/06 15:53:24 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_155436_160.mp4 02/06 15:53:24 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_155436_160.mp4 02/06 15:53:26 DownloadFile ok... checking file destination 02/06 15:53:26 URLDownloadToFile ok 02/06 15:53:27 Video .sig downloaded ok! 02/06 15:53:27 Snapshot .sig downloaded ok! 02/06 15:53:27 Elapsed download time: 00:00:03 02/06 15:53:27 UpdateVideoname 02/06 15:53:27 Updating: idalarmcra = 384538 02/06 15:53:27 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384538 ORDER BY IDALARMCRA DESC 02/06 15:53:27 Rollback executed. 02/06 15:53:27 RecordSet closed. 02/06 15:53:27 CheckDDBB 02/06 15:53:27 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:53:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:53:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:53:37 Don't have work. 02/06 15:53:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:53:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:53:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:53:57 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:54:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:54:07 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:54:07 Alarms with pending videos found! 02/06 15:54:07 Next idalarmcra = 384540 02/06 15:54:07 DownloadVideos::DownloadVideoOfAlarm 02/06 15:54:07 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 33 02/06 15:54:07 SAM|3226 02/06 15:54:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_155403_34.mp4|104353| 02/06 15:54:08 FilenameSrc = 20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_155403_34.mp4 02/06 15:54:08 Date = 20190602 02/06 15:54:08 Construct from filename date 02/06 15:54:08 Destination: c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_155403_34.mp4 02/06 15:54:08 Destination file not found 02/06 15:54:08 http://192.168.31.100:21000/20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_155403_34.mp4 02/06 15:54:08 c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_155403_34.mp4 02/06 15:54:10 DownloadFile ok... checking file destination 02/06 15:54:10 URLDownloadToFile ok 02/06 15:54:10 Video .sig downloaded ok! 02/06 15:54:10 Snapshot .sig downloaded ok! 02/06 15:54:10 Elapsed download time: 00:00:03 02/06 15:54:10 UpdateVideoname 02/06 15:54:10 Updating: idalarmcra = 384540 02/06 15:54:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384540 ORDER BY IDALARMCRA DESC 02/06 15:54:10 Just before Update() 02/06 15:54:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:54:20 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:54:20 Don't have work. 02/06 15:54:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:54:31 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:54:31 Alarms with pending videos found! 02/06 15:54:31 Next idalarmcra = 384541 02/06 15:54:31 DownloadVideos::DownloadVideoOfAlarm 02/06 15:54:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:54:31 SAM|1540 02/06 15:54:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:54:31 NOK answer received 02/06 15:54:31 UpdateVideoname 02/06 15:54:31 Updating: idalarmcra = 384541 02/06 15:54:31 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384541 ORDER BY IDALARMCRA DESC 02/06 15:54:31 Just before Update() 02/06 15:54:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:54:41 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:54:41 Alarms with pending videos found! 02/06 15:54:41 Next idalarmcra = 384541 02/06 15:54:41 DownloadVideos::DownloadVideoOfAlarm 02/06 15:54:41 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:54:41 SAM|1540 02/06 15:54:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155425_210.mp4|109427| 02/06 15:54:41 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155425_210.mp4 02/06 15:54:41 Date = 20190602 02/06 15:54:41 Construct from filename date 02/06 15:54:41 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155425_210.mp4 02/06 15:54:41 Destination file not found 02/06 15:54:41 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155425_210.mp4 02/06 15:54:41 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155425_210.mp4 02/06 15:54:42 DownloadFile ok... checking file destination 02/06 15:54:42 URLDownloadToFile ok 02/06 15:54:42 Video .sig downloaded ok! 02/06 15:54:42 Snapshot .sig downloaded ok! 02/06 15:54:42 Elapsed download time: 00:00:01 02/06 15:54:42 UpdateVideoname 02/06 15:54:42 Updating: idalarmcra = 384541 02/06 15:54:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384541 ORDER BY IDALARMCRA DESC 02/06 15:54:42 Just before Update() 02/06 15:54:52 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:54:52 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:54:52 Alarms with pending videos found! 02/06 15:54:52 Next idalarmcra = 384542 02/06 15:54:52 DownloadVideos::DownloadVideoOfAlarm 02/06 15:54:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:54:52 SAM|1541 02/06 15:54:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155444_211.mp4|111989| 02/06 15:54:53 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155444_211.mp4 02/06 15:54:53 Date = 20190602 02/06 15:54:53 Construct from filename date 02/06 15:54:53 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155444_211.mp4 02/06 15:54:53 Destination file not found 02/06 15:54:53 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155444_211.mp4 02/06 15:54:53 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155444_211.mp4 02/06 15:54:53 DownloadFile ok... checking file destination 02/06 15:54:53 URLDownloadToFile ok 02/06 15:54:54 Video .sig downloaded ok! 02/06 15:54:54 Snapshot .sig downloaded ok! 02/06 15:54:54 Elapsed download time: 00:00:02 02/06 15:54:54 UpdateVideoname 02/06 15:54:54 Updating: idalarmcra = 384542 02/06 15:54:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384542 ORDER BY IDALARMCRA DESC 02/06 15:54:54 Just before Update() 02/06 15:55:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:55:04 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:55:04 Alarms with pending videos found! 02/06 15:55:04 Next idalarmcra = 384544 02/06 15:55:04 DownloadVideos::DownloadVideoOfAlarm 02/06 15:55:04 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:55:04 SAM|1542 02/06 15:55:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:55:04 NOK answer received 02/06 15:55:04 UpdateVideoname 02/06 15:55:04 Updating: idalarmcra = 384544 02/06 15:55:04 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384544 ORDER BY IDALARMCRA DESC 02/06 15:55:04 Just before Update() 02/06 15:55:04 Next idalarmcra = 384543 02/06 15:55:04 DownloadVideos::DownloadVideoOfAlarm 02/06 15:55:04 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:55:04 SAM|1165 02/06 15:55:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155403_65.mp4|114851| 02/06 15:55:04 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155403_65.mp4 02/06 15:55:04 Date = 20190602 02/06 15:55:04 Construct from filename date 02/06 15:55:04 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155403_65.mp4 02/06 15:55:04 Destination file not found 02/06 15:55:04 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155403_65.mp4 02/06 15:55:04 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155403_65.mp4 02/06 15:55:05 DownloadFile ok... checking file destination 02/06 15:55:05 URLDownloadToFile ok 02/06 15:55:05 Video .sig downloaded ok! 02/06 15:55:05 Snapshot .sig downloaded ok! 02/06 15:55:05 Elapsed download time: 00:00:01 02/06 15:55:05 UpdateVideoname 02/06 15:55:05 Updating: idalarmcra = 384543 02/06 15:55:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384543 ORDER BY IDALARMCRA DESC 02/06 15:55:05 Just before Update() 02/06 15:55:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:55:15 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:55:15 Alarms with pending videos found! 02/06 15:55:15 Next idalarmcra = 384545 02/06 15:55:15 DownloadVideos::DownloadVideoOfAlarm 02/06 15:55:15 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:55:15 SAM|1543 02/06 15:55:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155504_224.mp4|103052| 02/06 15:55:16 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155504_224.mp4 02/06 15:55:16 Date = 20190602 02/06 15:55:16 Construct from filename date 02/06 15:55:16 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155504_224.mp4 02/06 15:55:16 Destination file not found 02/06 15:55:16 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155504_224.mp4 02/06 15:55:16 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155504_224.mp4 02/06 15:55:17 DownloadFile ok... checking file destination 02/06 15:55:17 URLDownloadToFile ok 02/06 15:55:17 Video .sig downloaded ok! 02/06 15:55:17 Snapshot .sig downloaded ok! 02/06 15:55:17 Elapsed download time: 00:00:02 02/06 15:55:17 UpdateVideoname 02/06 15:55:17 Updating: idalarmcra = 384545 02/06 15:55:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384545 ORDER BY IDALARMCRA DESC 02/06 15:55:17 Just before Update() 02/06 15:55:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:55:27 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:55:27 Alarms with pending videos found! 02/06 15:55:27 Next idalarmcra = 384548 02/06 15:55:27 DownloadVideos::DownloadVideoOfAlarm 02/06 15:55:27 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 33 02/06 15:55:27 SAM|3227 02/06 15:55:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:55:27 NOK answer received 02/06 15:55:28 UpdateVideoname 02/06 15:55:28 Updating: idalarmcra = 384548 02/06 15:55:28 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384548 ORDER BY IDALARMCRA DESC 02/06 15:55:28 Just before Update() 02/06 15:55:28 Next idalarmcra = 384547 02/06 15:55:28 DownloadVideos::DownloadVideoOfAlarm 02/06 15:55:28 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 15:55:28 SAM|6110 02/06 15:55:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_155517_2.mp4|74337| 02/06 15:55:28 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_155517_2.mp4 02/06 15:55:28 Date = 20190602 02/06 15:55:28 Construct from filename date 02/06 15:55:28 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_155517_2.mp4 02/06 15:55:28 Destination file not found 02/06 15:55:28 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_155517_2.mp4 02/06 15:55:28 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_155517_2.mp4 02/06 15:55:30 DownloadFile ok... checking file destination 02/06 15:55:30 URLDownloadToFile ok 02/06 15:55:31 Video .sig downloaded ok! 02/06 15:55:31 Snapshot .sig downloaded ok! 02/06 15:55:31 Elapsed download time: 00:00:03 02/06 15:55:31 UpdateVideoname 02/06 15:55:31 Updating: idalarmcra = 384547 02/06 15:55:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384547 ORDER BY IDALARMCRA DESC 02/06 15:55:31 Just before Update() 02/06 15:55:31 Next idalarmcra = 384546 02/06 15:55:31 DownloadVideos::DownloadVideoOfAlarm 02/06 15:55:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:55:31 SAM|765 02/06 15:55:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155514_122.mp4|108872| 02/06 15:55:31 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155514_122.mp4 02/06 15:55:31 Date = 20190602 02/06 15:55:31 Construct from filename date 02/06 15:55:31 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155514_122.mp4 02/06 15:55:31 Destination file not found 02/06 15:55:31 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155514_122.mp4 02/06 15:55:31 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155514_122.mp4 02/06 15:55:32 DownloadFile ok... checking file destination 02/06 15:55:32 URLDownloadToFile ok 02/06 15:55:32 Video .sig downloaded ok! 02/06 15:55:32 Snapshot .sig downloaded ok! 02/06 15:55:32 Elapsed download time: 00:00:01 02/06 15:55:32 UpdateVideoname 02/06 15:55:32 Updating: idalarmcra = 384546 02/06 15:55:32 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384546 ORDER BY IDALARMCRA DESC 02/06 15:55:32 Just before Update() 02/06 15:55:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:55:42 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:55:42 Alarms with pending videos found! 02/06 15:55:42 Next idalarmcra = 384550 02/06 15:55:42 DownloadVideos::DownloadVideoOfAlarm 02/06 15:55:42 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:55:42 SAM|1544 02/06 15:55:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155527_213.mp4|111581| 02/06 15:55:42 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155527_213.mp4 02/06 15:55:42 Date = 20190602 02/06 15:55:42 Construct from filename date 02/06 15:55:42 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155527_213.mp4 02/06 15:55:42 Destination file not found 02/06 15:55:42 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155527_213.mp4 02/06 15:55:42 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155527_213.mp4 02/06 15:55:43 DownloadFile ok... checking file destination 02/06 15:55:43 URLDownloadToFile ok 02/06 15:55:43 Video .sig downloaded ok! 02/06 15:55:43 Snapshot .sig downloaded ok! 02/06 15:55:43 Elapsed download time: 00:00:01 02/06 15:55:43 UpdateVideoname 02/06 15:55:43 Updating: idalarmcra = 384550 02/06 15:55:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384550 ORDER BY IDALARMCRA DESC 02/06 15:55:43 Just before Update() 02/06 15:55:43 Next idalarmcra = 384549 02/06 15:55:43 DownloadVideos::DownloadVideoOfAlarm 02/06 15:55:43 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 33 02/06 15:55:43 SAM|3228 02/06 15:55:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_155524_82.mp4|107178| 02/06 15:55:44 FilenameSrc = 20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_155524_82.mp4 02/06 15:55:44 Date = 20190602 02/06 15:55:44 Construct from filename date 02/06 15:55:44 Destination: c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_155524_82.mp4 02/06 15:55:44 Destination file not found 02/06 15:55:44 http://192.168.31.100:21000/20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_155524_82.mp4 02/06 15:55:44 c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_155524_82.mp4 02/06 15:55:45 DownloadFile ok... checking file destination 02/06 15:55:45 URLDownloadToFile ok 02/06 15:55:45 Video .sig downloaded ok! 02/06 15:55:45 Snapshot .sig downloaded ok! 02/06 15:55:45 Elapsed download time: 00:00:02 02/06 15:55:45 UpdateVideoname 02/06 15:55:45 Updating: idalarmcra = 384549 02/06 15:55:45 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384549 ORDER BY IDALARMCRA DESC 02/06 15:55:45 Rollback executed. 02/06 15:55:45 RecordSet closed. 02/06 15:55:45 CheckDDBB 02/06 15:55:45 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:55:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:55:55 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:55:55 Alarms with pending videos found! 02/06 15:55:55 Next idalarmcra = 384551 02/06 15:55:55 DownloadVideos::DownloadVideoOfAlarm 02/06 15:55:55 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:55:55 SAM|766 02/06 15:55:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155548_123.mp4|107373| 02/06 15:55:56 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155548_123.mp4 02/06 15:55:56 Date = 20190602 02/06 15:55:56 Construct from filename date 02/06 15:55:56 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155548_123.mp4 02/06 15:55:56 Destination file not found 02/06 15:55:56 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155548_123.mp4 02/06 15:55:56 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155548_123.mp4 02/06 15:55:56 DownloadFile ok... checking file destination 02/06 15:55:56 URLDownloadToFile ok 02/06 15:55:56 Video .sig downloaded ok! 02/06 15:55:56 Snapshot .sig downloaded ok! 02/06 15:55:56 Elapsed download time: 00:00:01 02/06 15:55:57 UpdateVideoname 02/06 15:55:57 Updating: idalarmcra = 384551 02/06 15:55:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384551 ORDER BY IDALARMCRA DESC 02/06 15:55:57 Just before Update() 02/06 15:56:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:56:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:56:07 Don't have work. 02/06 15:56:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:56:17 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:56:17 Alarms with pending videos found! 02/06 15:56:17 Next idalarmcra = 384553 02/06 15:56:17 DownloadVideos::DownloadVideoOfAlarm 02/06 15:56:17 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:56:17 SAM|1545 02/06 15:56:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155606_169.mp4|96349| 02/06 15:56:17 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155606_169.mp4 02/06 15:56:17 Date = 20190602 02/06 15:56:17 Construct from filename date 02/06 15:56:17 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155606_169.mp4 02/06 15:56:17 Destination file not found 02/06 15:56:17 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155606_169.mp4 02/06 15:56:17 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155606_169.mp4 02/06 15:56:17 DownloadFile ok... checking file destination 02/06 15:56:17 URLDownloadToFile ok 02/06 15:56:17 Video .sig downloaded ok! 02/06 15:56:18 Snapshot .sig downloaded ok! 02/06 15:56:18 Elapsed download time: 00:00:01 02/06 15:56:18 UpdateVideoname 02/06 15:56:18 Updating: idalarmcra = 384553 02/06 15:56:18 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384553 ORDER BY IDALARMCRA DESC 02/06 15:56:18 Just before Update() 02/06 15:56:18 Next idalarmcra = 384552 02/06 15:56:18 DownloadVideos::DownloadVideoOfAlarm 02/06 15:56:18 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:56:18 SAM|1546 02/06 15:56:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155606_225.mp4|104374| 02/06 15:56:18 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155606_225.mp4 02/06 15:56:18 Date = 20190602 02/06 15:56:18 Construct from filename date 02/06 15:56:18 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155606_225.mp4 02/06 15:56:18 Destination file not found 02/06 15:56:18 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155606_225.mp4 02/06 15:56:18 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155606_225.mp4 02/06 15:56:18 DownloadFile ok... checking file destination 02/06 15:56:18 URLDownloadToFile ok 02/06 15:56:18 Video .sig downloaded ok! 02/06 15:56:19 Snapshot .sig downloaded ok! 02/06 15:56:19 Elapsed download time: 00:00:01 02/06 15:56:19 UpdateVideoname 02/06 15:56:19 Updating: idalarmcra = 384552 02/06 15:56:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384552 ORDER BY IDALARMCRA DESC 02/06 15:56:19 Just before Update() 02/06 15:56:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:56:29 [D] Query(36ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:56:29 Don't have work. 02/06 15:56:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:56:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 15:56:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:56:49 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:56:49 Alarms with pending videos found! 02/06 15:56:49 Next idalarmcra = 384555 02/06 15:56:49 DownloadVideos::DownloadVideoOfAlarm 02/06 15:56:49 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:56:49 SAM|1548 02/06 15:56:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155643_226.mp4|96540| 02/06 15:56:50 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155643_226.mp4 02/06 15:56:50 Date = 20190602 02/06 15:56:50 Construct from filename date 02/06 15:56:50 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155643_226.mp4 02/06 15:56:50 Destination file not found 02/06 15:56:50 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155643_226.mp4 02/06 15:56:50 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155643_226.mp4 02/06 15:56:50 DownloadFile ok... checking file destination 02/06 15:56:50 URLDownloadToFile ok 02/06 15:56:50 Video .sig downloaded ok! 02/06 15:56:50 Snapshot .sig downloaded ok! 02/06 15:56:50 Elapsed download time: 00:00:01 02/06 15:56:50 UpdateVideoname 02/06 15:56:50 Updating: idalarmcra = 384555 02/06 15:56:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384555 ORDER BY IDALARMCRA DESC 02/06 15:56:50 Just before Update() 02/06 15:56:50 Next idalarmcra = 384554 02/06 15:56:50 DownloadVideos::DownloadVideoOfAlarm 02/06 15:56:50 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:56:50 SAM|1547 02/06 15:56:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155640_170.mp4|108005| 02/06 15:56:51 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155640_170.mp4 02/06 15:56:51 Date = 20190602 02/06 15:56:51 Construct from filename date 02/06 15:56:51 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155640_170.mp4 02/06 15:56:51 Destination file not found 02/06 15:56:51 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155640_170.mp4 02/06 15:56:51 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155640_170.mp4 02/06 15:56:51 DownloadFile ok... checking file destination 02/06 15:56:51 URLDownloadToFile ok 02/06 15:56:51 Video .sig downloaded ok! 02/06 15:56:51 Snapshot .sig downloaded ok! 02/06 15:56:51 Elapsed download time: 00:00:01 02/06 15:56:51 UpdateVideoname 02/06 15:56:51 Updating: idalarmcra = 384554 02/06 15:56:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384554 ORDER BY IDALARMCRA DESC 02/06 15:56:51 Just before Update() 02/06 15:57:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:57:01 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:57:01 Alarms with pending videos found! 02/06 15:57:01 Next idalarmcra = 384557 02/06 15:57:01 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:01 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:57:01 SAM|1550 02/06 15:57:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:57:01 NOK answer received 02/06 15:57:02 UpdateVideoname 02/06 15:57:02 Updating: idalarmcra = 384557 02/06 15:57:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384557 ORDER BY IDALARMCRA DESC 02/06 15:57:02 Just before Update() 02/06 15:57:02 Next idalarmcra = 384556 02/06 15:57:02 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:02 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:57:02 SAM|1549 02/06 15:57:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:57:02 NOK answer received 02/06 15:57:02 UpdateVideoname 02/06 15:57:02 Updating: idalarmcra = 384556 02/06 15:57:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384556 ORDER BY IDALARMCRA DESC 02/06 15:57:02 Just before Update() 02/06 15:57:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:57:12 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:57:12 Alarms with pending videos found! 02/06 15:57:12 Next idalarmcra = 384557 02/06 15:57:12 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:12 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:57:12 SAM|1550 02/06 15:57:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155657_214.mp4|111370| 02/06 15:57:12 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155657_214.mp4 02/06 15:57:12 Date = 20190602 02/06 15:57:12 Construct from filename date 02/06 15:57:12 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155657_214.mp4 02/06 15:57:12 Destination file not found 02/06 15:57:12 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155657_214.mp4 02/06 15:57:12 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155657_214.mp4 02/06 15:57:12 DownloadFile ok... checking file destination 02/06 15:57:12 URLDownloadToFile ok 02/06 15:57:12 Video .sig downloaded ok! 02/06 15:57:13 Snapshot .sig downloaded ok! 02/06 15:57:13 Elapsed download time: 00:00:01 02/06 15:57:13 UpdateVideoname 02/06 15:57:13 Updating: idalarmcra = 384557 02/06 15:57:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384557 ORDER BY IDALARMCRA DESC 02/06 15:57:13 Just before Update() 02/06 15:57:13 Next idalarmcra = 384556 02/06 15:57:13 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:13 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:57:13 SAM|1549 02/06 15:57:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155656_171.mp4|102919| 02/06 15:57:13 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155656_171.mp4 02/06 15:57:13 Date = 20190602 02/06 15:57:13 Construct from filename date 02/06 15:57:13 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155656_171.mp4 02/06 15:57:13 Destination file not found 02/06 15:57:13 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155656_171.mp4 02/06 15:57:13 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155656_171.mp4 02/06 15:57:13 DownloadFile ok... checking file destination 02/06 15:57:13 URLDownloadToFile ok 02/06 15:57:13 Video .sig downloaded ok! 02/06 15:57:13 Snapshot .sig downloaded ok! 02/06 15:57:13 Elapsed download time: 00:00:00 02/06 15:57:13 UpdateVideoname 02/06 15:57:13 Updating: idalarmcra = 384556 02/06 15:57:13 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384556 ORDER BY IDALARMCRA DESC 02/06 15:57:13 Just before Update() 02/06 15:57:23 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:57:24 [D] Query(28ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:57:24 Alarms with pending videos found! 02/06 15:57:24 Next idalarmcra = 384558 02/06 15:57:24 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:57:24 SAM|1166 02/06 15:57:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:57:24 NOK answer received 02/06 15:57:24 UpdateVideoname 02/06 15:57:24 Updating: idalarmcra = 384558 02/06 15:57:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384558 ORDER BY IDALARMCRA DESC 02/06 15:57:24 Just before Update() 02/06 15:57:34 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:57:34 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:57:34 Alarms with pending videos found! 02/06 15:57:34 Next idalarmcra = 384564 02/06 15:57:34 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:34 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:57:34 SAM|1551 02/06 15:57:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:57:34 NOK answer received 02/06 15:57:34 UpdateVideoname 02/06 15:57:34 Updating: idalarmcra = 384564 02/06 15:57:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384564 ORDER BY IDALARMCRA DESC 02/06 15:57:35 Just before Update() 02/06 15:57:35 Next idalarmcra = 384563 02/06 15:57:35 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:35 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 39 02/06 15:57:35 SAM|3720 02/06 15:57:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:57:35 NOK answer received 02/06 15:57:35 UpdateVideoname 02/06 15:57:35 Updating: idalarmcra = 384563 02/06 15:57:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384563 ORDER BY IDALARMCRA DESC 02/06 15:57:35 Just before Update() 02/06 15:57:35 Next idalarmcra = 384562 02/06 15:57:35 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:57:35 SAM|767 02/06 15:57:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155727_124.mp4|102924| 02/06 15:57:36 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155727_124.mp4 02/06 15:57:36 Date = 20190602 02/06 15:57:36 Construct from filename date 02/06 15:57:36 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155727_124.mp4 02/06 15:57:36 Destination file not found 02/06 15:57:36 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155727_124.mp4 02/06 15:57:36 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155727_124.mp4 02/06 15:57:36 DownloadFile ok... checking file destination 02/06 15:57:36 URLDownloadToFile ok 02/06 15:57:36 Video .sig downloaded ok! 02/06 15:57:37 Snapshot .sig downloaded ok! 02/06 15:57:37 Elapsed download time: 00:00:02 02/06 15:57:37 UpdateVideoname 02/06 15:57:37 Updating: idalarmcra = 384562 02/06 15:57:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384562 ORDER BY IDALARMCRA DESC 02/06 15:57:37 Just before Update() 02/06 15:57:37 Next idalarmcra = 384561 02/06 15:57:37 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:37 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 15:57:37 SAM|10907 02/06 15:57:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_145726_137.mp4|99441| 02/06 15:57:38 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_145726_137.mp4 02/06 15:57:38 Date = 20190602 02/06 15:57:38 Construct from filename date 02/06 15:57:38 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_145726_137.mp4 02/06 15:57:38 Destination file not found 02/06 15:57:38 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_145726_137.mp4 02/06 15:57:38 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_145726_137.mp4 02/06 15:57:40 DownloadFile ok... checking file destination 02/06 15:57:40 URLDownloadToFile ok 02/06 15:57:41 Video .sig downloaded ok! 02/06 15:57:41 Snapshot .sig downloaded ok! 02/06 15:57:41 Elapsed download time: 00:00:04 02/06 15:57:41 UpdateVideoname 02/06 15:57:41 Updating: idalarmcra = 384561 02/06 15:57:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384561 ORDER BY IDALARMCRA DESC 02/06 15:57:41 Just before Update() 02/06 15:57:41 Next idalarmcra = 384560 02/06 15:57:41 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:41 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:57:41 SAM|1168 02/06 15:57:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_155640_439.mp4|102083| 02/06 15:57:41 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_155640_439.mp4 02/06 15:57:41 Date = 20190602 02/06 15:57:41 Construct from filename date 02/06 15:57:41 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_155640_439.mp4 02/06 15:57:41 Destination file not found 02/06 15:57:41 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_155640_439.mp4 02/06 15:57:41 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_155640_439.mp4 02/06 15:57:43 DownloadFile ok... checking file destination 02/06 15:57:43 URLDownloadToFile ok 02/06 15:57:43 Video .sig downloaded ok! 02/06 15:57:43 Snapshot .sig downloaded ok! 02/06 15:57:43 Elapsed download time: 00:00:02 02/06 15:57:43 UpdateVideoname 02/06 15:57:43 Updating: idalarmcra = 384560 02/06 15:57:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384560 ORDER BY IDALARMCRA DESC 02/06 15:57:43 Just before Update() 02/06 15:57:43 Too many videos. Wait a little bit. 02/06 15:57:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:57:53 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:57:53 Alarms with pending videos found! 02/06 15:57:53 Next idalarmcra = 384568 02/06 15:57:53 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:53 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:57:53 SAM|1169 02/06 15:57:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155659_187.mp4|94636| 02/06 15:57:54 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155659_187.mp4 02/06 15:57:54 Date = 20190602 02/06 15:57:54 Construct from filename date 02/06 15:57:54 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155659_187.mp4 02/06 15:57:54 Destination file not found 02/06 15:57:54 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155659_187.mp4 02/06 15:57:54 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155659_187.mp4 02/06 15:57:58 DownloadFile ok... checking file destination 02/06 15:57:58 URLDownloadToFile ok 02/06 15:57:58 Video .sig downloaded ok! 02/06 15:57:58 Snapshot .sig downloaded ok! 02/06 15:57:58 Elapsed download time: 00:00:05 02/06 15:57:58 UpdateVideoname 02/06 15:57:58 Updating: idalarmcra = 384568 02/06 15:57:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384568 ORDER BY IDALARMCRA DESC 02/06 15:57:58 Just before Update() 02/06 15:57:58 Next idalarmcra = 384567 02/06 15:57:58 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:57:58 SAM|1553 02/06 15:57:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155742_216.mp4|111379| 02/06 15:57:58 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155742_216.mp4 02/06 15:57:58 Date = 20190602 02/06 15:57:58 Construct from filename date 02/06 15:57:58 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155742_216.mp4 02/06 15:57:58 Destination file not found 02/06 15:57:58 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155742_216.mp4 02/06 15:57:58 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155742_216.mp4 02/06 15:57:58 DownloadFile ok... checking file destination 02/06 15:57:58 URLDownloadToFile ok 02/06 15:57:58 Video .sig downloaded ok! 02/06 15:57:59 Snapshot .sig downloaded ok! 02/06 15:57:59 Elapsed download time: 00:00:01 02/06 15:57:59 UpdateVideoname 02/06 15:57:59 Updating: idalarmcra = 384567 02/06 15:57:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384567 ORDER BY IDALARMCRA DESC 02/06 15:57:59 Just before Update() 02/06 15:57:59 Next idalarmcra = 384566 02/06 15:57:59 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:59 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:57:59 SAM|1552 02/06 15:57:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155739_172.mp4|108895| 02/06 15:57:59 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155739_172.mp4 02/06 15:57:59 Date = 20190602 02/06 15:57:59 Construct from filename date 02/06 15:57:59 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155739_172.mp4 02/06 15:57:59 Destination file not found 02/06 15:57:59 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155739_172.mp4 02/06 15:57:59 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155739_172.mp4 02/06 15:57:59 DownloadFile ok... checking file destination 02/06 15:57:59 URLDownloadToFile ok 02/06 15:57:59 Video .sig downloaded ok! 02/06 15:57:59 Snapshot .sig downloaded ok! 02/06 15:57:59 Elapsed download time: 00:00:00 02/06 15:57:59 UpdateVideoname 02/06 15:57:59 Updating: idalarmcra = 384566 02/06 15:57:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384566 ORDER BY IDALARMCRA DESC 02/06 15:57:59 Just before Update() 02/06 15:57:59 Next idalarmcra = 384565 02/06 15:57:59 DownloadVideos::DownloadVideoOfAlarm 02/06 15:57:59 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:57:59 SAM|768 02/06 15:57:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155745_125.mp4|103533| 02/06 15:58:00 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155745_125.mp4 02/06 15:58:00 Date = 20190602 02/06 15:58:00 Construct from filename date 02/06 15:58:00 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155745_125.mp4 02/06 15:58:00 Destination file not found 02/06 15:58:00 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155745_125.mp4 02/06 15:58:00 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155745_125.mp4 02/06 15:58:00 DownloadFile ok... checking file destination 02/06 15:58:00 URLDownloadToFile ok 02/06 15:58:00 Video .sig downloaded ok! 02/06 15:58:00 Snapshot .sig downloaded ok! 02/06 15:58:00 Elapsed download time: 00:00:01 02/06 15:58:00 UpdateVideoname 02/06 15:58:00 Updating: idalarmcra = 384565 02/06 15:58:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384565 ORDER BY IDALARMCRA DESC 02/06 15:58:00 Just before Update() 02/06 15:58:00 Next idalarmcra = 384559 02/06 15:58:00 DownloadVideos::DownloadVideoOfAlarm 02/06 15:58:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:58:00 SAM|1167 02/06 15:58:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155637_66.mp4|108833| 02/06 15:58:00 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155637_66.mp4 02/06 15:58:00 Date = 20190602 02/06 15:58:00 Construct from filename date 02/06 15:58:00 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155637_66.mp4 02/06 15:58:00 Destination file not found 02/06 15:58:00 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155637_66.mp4 02/06 15:58:00 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155637_66.mp4 02/06 15:58:04 DownloadFile ok... checking file destination 02/06 15:58:04 URLDownloadToFile ok 02/06 15:58:04 Video .sig downloaded ok! 02/06 15:58:04 Snapshot .sig downloaded ok! 02/06 15:58:04 Elapsed download time: 00:00:04 02/06 15:58:05 UpdateVideoname 02/06 15:58:05 Updating: idalarmcra = 384559 02/06 15:58:05 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384559 ORDER BY IDALARMCRA DESC 02/06 15:58:05 Rollback executed. 02/06 15:58:05 RecordSet closed. 02/06 15:58:05 CheckDDBB 02/06 15:58:05 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:58:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:58:15 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:58:15 Alarms with pending videos found! 02/06 15:58:15 Next idalarmcra = 384569 02/06 15:58:15 DownloadVideos::DownloadVideoOfAlarm 02/06 15:58:15 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:58:15 SAM|1554 02/06 15:58:15 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155748_227.mp4|109512| 02/06 15:58:15 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155748_227.mp4 02/06 15:58:15 Date = 20190602 02/06 15:58:15 Construct from filename date 02/06 15:58:15 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155748_227.mp4 02/06 15:58:15 Destination file not found 02/06 15:58:15 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155748_227.mp4 02/06 15:58:15 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155748_227.mp4 02/06 15:58:15 DownloadFile ok... checking file destination 02/06 15:58:15 URLDownloadToFile ok 02/06 15:58:15 Video .sig downloaded ok! 02/06 15:58:16 Snapshot .sig downloaded ok! 02/06 15:58:16 Elapsed download time: 00:00:01 02/06 15:58:16 UpdateVideoname 02/06 15:58:16 Updating: idalarmcra = 384569 02/06 15:58:16 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384569 ORDER BY IDALARMCRA DESC 02/06 15:58:16 Just before Update() 02/06 15:58:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:58:26 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:58:26 Alarms with pending videos found! 02/06 15:58:26 Next idalarmcra = 384570 02/06 15:58:26 DownloadVideos::DownloadVideoOfAlarm 02/06 15:58:26 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:58:26 SAM|1555 02/06 15:58:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 15:58:26 NOK answer received 02/06 15:58:26 UpdateVideoname 02/06 15:58:26 Updating: idalarmcra = 384570 02/06 15:58:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384570 ORDER BY IDALARMCRA DESC 02/06 15:58:26 Just before Update() 02/06 15:58:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:58:37 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:58:37 Alarms with pending videos found! 02/06 15:58:37 Next idalarmcra = 384570 02/06 15:58:37 DownloadVideos::DownloadVideoOfAlarm 02/06 15:58:37 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:58:37 SAM|1555 02/06 15:58:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155822_217.mp4|105415| 02/06 15:58:37 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155822_217.mp4 02/06 15:58:37 Date = 20190602 02/06 15:58:37 Construct from filename date 02/06 15:58:37 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155822_217.mp4 02/06 15:58:37 Destination file not found 02/06 15:58:37 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155822_217.mp4 02/06 15:58:37 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155822_217.mp4 02/06 15:58:37 DownloadFile ok... checking file destination 02/06 15:58:37 URLDownloadToFile ok 02/06 15:58:37 Video .sig downloaded ok! 02/06 15:58:37 Snapshot .sig downloaded ok! 02/06 15:58:37 Elapsed download time: 00:00:00 02/06 15:58:37 UpdateVideoname 02/06 15:58:37 Updating: idalarmcra = 384570 02/06 15:58:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384570 ORDER BY IDALARMCRA DESC 02/06 15:58:37 Just before Update() 02/06 15:58:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:58:47 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:58:47 Alarms with pending videos found! 02/06 15:58:47 Next idalarmcra = 384572 02/06 15:58:47 DownloadVideos::DownloadVideoOfAlarm 02/06 15:58:47 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 15:58:47 SAM|1171 02/06 15:58:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155749_188.mp4|103473| 02/06 15:58:48 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155749_188.mp4 02/06 15:58:48 Date = 20190602 02/06 15:58:48 Construct from filename date 02/06 15:58:48 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155749_188.mp4 02/06 15:58:48 Destination file not found 02/06 15:58:48 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155749_188.mp4 02/06 15:58:48 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155749_188.mp4 02/06 15:58:52 DownloadFile ok... checking file destination 02/06 15:58:52 URLDownloadToFile ok 02/06 15:58:52 Video .sig downloaded ok! 02/06 15:58:52 Snapshot .sig downloaded ok! 02/06 15:58:52 Elapsed download time: 00:00:05 02/06 15:58:52 UpdateVideoname 02/06 15:58:52 Updating: idalarmcra = 384572 02/06 15:58:52 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384572 ORDER BY IDALARMCRA DESC 02/06 15:58:52 Just before Update() 02/06 15:59:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:59:03 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:59:03 Alarms with pending videos found! 02/06 15:59:03 Next idalarmcra = 384575 02/06 15:59:03 DownloadVideos::DownloadVideoOfAlarm 02/06 15:59:03 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 15:59:03 SAM|4723 02/06 15:59:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_160022_162.mp4|114106| 02/06 15:59:03 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_160022_162.mp4 02/06 15:59:03 Date = 20190602 02/06 15:59:03 Construct from filename date 02/06 15:59:03 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_160022_162.mp4 02/06 15:59:03 Destination file not found 02/06 15:59:03 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_160022_162.mp4 02/06 15:59:03 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_160022_162.mp4 02/06 15:59:06 DownloadFile ok... checking file destination 02/06 15:59:06 URLDownloadToFile ok 02/06 15:59:06 Video .sig downloaded ok! 02/06 15:59:06 Snapshot .sig downloaded ok! 02/06 15:59:06 Elapsed download time: 00:00:03 02/06 15:59:06 UpdateVideoname 02/06 15:59:06 Updating: idalarmcra = 384575 02/06 15:59:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384575 ORDER BY IDALARMCRA DESC 02/06 15:59:06 Just before Update() 02/06 15:59:06 Next idalarmcra = 384574 02/06 15:59:06 DownloadVideos::DownloadVideoOfAlarm 02/06 15:59:06 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 15:59:06 SAM|4722 02/06 15:59:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_160012_161.mp4|115301| 02/06 15:59:06 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_160012_161.mp4 02/06 15:59:06 Date = 20190602 02/06 15:59:06 Construct from filename date 02/06 15:59:06 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_160012_161.mp4 02/06 15:59:06 Destination file not found 02/06 15:59:06 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_160012_161.mp4 02/06 15:59:06 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_160012_161.mp4 02/06 15:59:09 DownloadFile ok... checking file destination 02/06 15:59:09 URLDownloadToFile ok 02/06 15:59:09 Video .sig downloaded ok! 02/06 15:59:09 Snapshot .sig downloaded ok! 02/06 15:59:09 Elapsed download time: 00:00:03 02/06 15:59:09 UpdateVideoname 02/06 15:59:09 Updating: idalarmcra = 384574 02/06 15:59:09 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384574 ORDER BY IDALARMCRA DESC 02/06 15:59:09 Rollback executed. 02/06 15:59:09 RecordSet closed. 02/06 15:59:09 CheckDDBB 02/06 15:59:09 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:59:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:59:19 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:59:19 Alarms with pending videos found! 02/06 15:59:19 Next idalarmcra = 384577 02/06 15:59:19 DownloadVideos::DownloadVideoOfAlarm 02/06 15:59:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 15:59:19 SAM|769 02/06 15:59:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155909_126.mp4|114681| 02/06 15:59:20 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155909_126.mp4 02/06 15:59:20 Date = 20190602 02/06 15:59:20 Construct from filename date 02/06 15:59:20 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155909_126.mp4 02/06 15:59:20 Destination file not found 02/06 15:59:20 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155909_126.mp4 02/06 15:59:20 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_155909_126.mp4 02/06 15:59:23 DownloadFile ok... checking file destination 02/06 15:59:23 URLDownloadToFile ok 02/06 15:59:23 Video .sig downloaded ok! 02/06 15:59:23 Snapshot .sig downloaded ok! 02/06 15:59:23 Elapsed download time: 00:00:04 02/06 15:59:23 UpdateVideoname 02/06 15:59:23 Updating: idalarmcra = 384577 02/06 15:59:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384577 ORDER BY IDALARMCRA DESC 02/06 15:59:23 Just before Update() 02/06 15:59:23 Next idalarmcra = 384576 02/06 15:59:23 DownloadVideos::DownloadVideoOfAlarm 02/06 15:59:23 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:59:23 SAM|1556 02/06 15:59:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155907_218.mp4|108436| 02/06 15:59:24 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155907_218.mp4 02/06 15:59:24 Date = 20190602 02/06 15:59:24 Construct from filename date 02/06 15:59:24 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155907_218.mp4 02/06 15:59:24 Destination file not found 02/06 15:59:24 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155907_218.mp4 02/06 15:59:24 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155907_218.mp4 02/06 15:59:24 DownloadFile ok... checking file destination 02/06 15:59:24 URLDownloadToFile ok 02/06 15:59:24 Video .sig downloaded ok! 02/06 15:59:24 Snapshot .sig downloaded ok! 02/06 15:59:24 Elapsed download time: 00:00:01 02/06 15:59:25 UpdateVideoname 02/06 15:59:25 Updating: idalarmcra = 384576 02/06 15:59:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384576 ORDER BY IDALARMCRA DESC 02/06 15:59:25 Just before Update() 02/06 15:59:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:59:35 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:59:35 Alarms with pending videos found! 02/06 15:59:35 Next idalarmcra = 384581 02/06 15:59:35 DownloadVideos::DownloadVideoOfAlarm 02/06 15:59:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:59:35 SAM|1558 02/06 15:59:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155924_173.mp4|109375| 02/06 15:59:35 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155924_173.mp4 02/06 15:59:35 Date = 20190602 02/06 15:59:35 Construct from filename date 02/06 15:59:35 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155924_173.mp4 02/06 15:59:35 Destination file not found 02/06 15:59:35 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155924_173.mp4 02/06 15:59:35 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_155924_173.mp4 02/06 15:59:35 DownloadFile ok... checking file destination 02/06 15:59:35 URLDownloadToFile ok 02/06 15:59:35 Video .sig downloaded ok! 02/06 15:59:36 Snapshot .sig downloaded ok! 02/06 15:59:36 Elapsed download time: 00:00:01 02/06 15:59:36 UpdateVideoname 02/06 15:59:36 Updating: idalarmcra = 384581 02/06 15:59:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384581 ORDER BY IDALARMCRA DESC 02/06 15:59:36 Just before Update() 02/06 15:59:36 Next idalarmcra = 384580 02/06 15:59:36 DownloadVideos::DownloadVideoOfAlarm 02/06 15:59:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:59:36 SAM|1559 02/06 15:59:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155924_219.mp4|118063| 02/06 15:59:36 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155924_219.mp4 02/06 15:59:36 Date = 20190602 02/06 15:59:36 Construct from filename date 02/06 15:59:36 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155924_219.mp4 02/06 15:59:36 Destination file not found 02/06 15:59:36 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155924_219.mp4 02/06 15:59:36 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_155924_219.mp4 02/06 15:59:36 DownloadFile ok... checking file destination 02/06 15:59:36 URLDownloadToFile ok 02/06 15:59:36 Video .sig downloaded ok! 02/06 15:59:36 Snapshot .sig downloaded ok! 02/06 15:59:36 Elapsed download time: 00:00:00 02/06 15:59:36 UpdateVideoname 02/06 15:59:36 Updating: idalarmcra = 384580 02/06 15:59:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384580 ORDER BY IDALARMCRA DESC 02/06 15:59:36 Just before Update() 02/06 15:59:36 Next idalarmcra = 384579 02/06 15:59:36 DownloadVideos::DownloadVideoOfAlarm 02/06 15:59:36 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 15:59:36 SAM|1557 02/06 15:59:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155917_228.mp4|107749| 02/06 15:59:37 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155917_228.mp4 02/06 15:59:37 Date = 20190602 02/06 15:59:37 Construct from filename date 02/06 15:59:37 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155917_228.mp4 02/06 15:59:37 Destination file not found 02/06 15:59:37 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155917_228.mp4 02/06 15:59:37 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_155917_228.mp4 02/06 15:59:37 DownloadFile ok... checking file destination 02/06 15:59:37 URLDownloadToFile ok 02/06 15:59:37 Video .sig downloaded ok! 02/06 15:59:37 Snapshot .sig downloaded ok! 02/06 15:59:37 Elapsed download time: 00:00:01 02/06 15:59:37 UpdateVideoname 02/06 15:59:37 Updating: idalarmcra = 384579 02/06 15:59:37 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384579 ORDER BY IDALARMCRA DESC 02/06 15:59:37 Rollback executed. 02/06 15:59:37 RecordSet closed. 02/06 15:59:37 CheckDDBB 02/06 15:59:37 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 15:59:47 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:59:47 [D] Query(33ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:59:47 Don't have work. 02/06 15:59:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 15:59:57 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 14 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 15:59:57 Alarms with pending videos found! 02/06 15:59:57 Next idalarmcra = 384582 02/06 15:59:57 DownloadVideos::DownloadVideoOfAlarm 02/06 15:59:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 15:59:57 SAM|163142 02/06 15:59:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_161238_102.mp4|107920| 02/06 15:59:58 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_161238_102.mp4 02/06 15:59:58 Date = 20190602 02/06 15:59:58 Construct from filename date 02/06 15:59:58 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_161238_102.mp4 02/06 15:59:58 Destination file not found 02/06 15:59:58 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_161238_102.mp4 02/06 15:59:58 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_161238_102.mp4 02/06 15:59:59 DownloadFile ok... checking file destination 02/06 15:59:59 URLDownloadToFile ok 02/06 15:59:59 Video .sig downloaded ok! 02/06 15:59:59 Snapshot .sig downloaded ok! 02/06 15:59:59 Elapsed download time: 00:00:02 02/06 16:00:00 UpdateVideoname 02/06 16:00:00 Updating: idalarmcra = 384582 02/06 16:00:00 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384582 ORDER BY IDALARMCRA DESC 02/06 16:00:00 Just before Update() 02/06 16:00:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:00:10 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:00:10 Don't have work. 02/06 16:00:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:00:20 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:00:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:00:30 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:00:30 Alarms with pending videos found! 02/06 16:00:30 Next idalarmcra = 384586 02/06 16:00:30 DownloadVideos::DownloadVideoOfAlarm 02/06 16:00:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:00:30 SAM|1175 02/06 16:00:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155938_68.mp4|108428| 02/06 16:00:30 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155938_68.mp4 02/06 16:00:30 Date = 20190602 02/06 16:00:30 Construct from filename date 02/06 16:00:30 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155938_68.mp4 02/06 16:00:30 Destination file not found 02/06 16:00:30 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155938_68.mp4 02/06 16:00:30 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_155938_68.mp4 02/06 16:00:31 DownloadFile ok... checking file destination 02/06 16:00:31 URLDownloadToFile ok 02/06 16:00:31 Video .sig downloaded ok! 02/06 16:00:31 Snapshot .sig downloaded ok! 02/06 16:00:31 Elapsed download time: 00:00:01 02/06 16:00:32 UpdateVideoname 02/06 16:00:32 Updating: idalarmcra = 384586 02/06 16:00:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384586 ORDER BY IDALARMCRA DESC 02/06 16:00:32 Just before Update() 02/06 16:00:32 Next idalarmcra = 384585 02/06 16:00:32 DownloadVideos::DownloadVideoOfAlarm 02/06 16:00:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:00:32 SAM|1174 02/06 16:00:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155937_189.mp4|105511| 02/06 16:00:32 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155937_189.mp4 02/06 16:00:32 Date = 20190602 02/06 16:00:32 Construct from filename date 02/06 16:00:32 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155937_189.mp4 02/06 16:00:32 Destination file not found 02/06 16:00:32 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155937_189.mp4 02/06 16:00:32 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_155937_189.mp4 02/06 16:00:32 DownloadFile ok... checking file destination 02/06 16:00:32 URLDownloadToFile ok 02/06 16:00:32 Video .sig downloaded ok! 02/06 16:00:32 Snapshot .sig downloaded ok! 02/06 16:00:32 Elapsed download time: 00:00:00 02/06 16:00:33 UpdateVideoname 02/06 16:00:33 Updating: idalarmcra = 384585 02/06 16:00:33 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384585 ORDER BY IDALARMCRA DESC 02/06 16:00:33 Just before Update() 02/06 16:00:33 Next idalarmcra = 384584 02/06 16:00:33 DownloadVideos::DownloadVideoOfAlarm 02/06 16:00:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:00:33 SAM|1173 02/06 16:00:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_155936_441.mp4|107990| 02/06 16:00:33 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_155936_441.mp4 02/06 16:00:33 Date = 20190602 02/06 16:00:33 Construct from filename date 02/06 16:00:33 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_155936_441.mp4 02/06 16:00:33 Destination file not found 02/06 16:00:33 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_155936_441.mp4 02/06 16:00:33 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_155936_441.mp4 02/06 16:00:33 DownloadFile ok... checking file destination 02/06 16:00:33 URLDownloadToFile ok 02/06 16:00:33 Video .sig downloaded ok! 02/06 16:00:33 Snapshot .sig downloaded ok! 02/06 16:00:33 Elapsed download time: 00:00:00 02/06 16:00:33 UpdateVideoname 02/06 16:00:33 Updating: idalarmcra = 384584 02/06 16:00:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384584 ORDER BY IDALARMCRA DESC 02/06 16:00:33 Just before Update() 02/06 16:00:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:00:44 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:00:44 Alarms with pending videos found! 02/06 16:00:44 Next idalarmcra = 384587 02/06 16:00:44 DownloadVideos::DownloadVideoOfAlarm 02/06 16:00:44 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:00:44 SAM|1561 02/06 16:00:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160032_221.mp4|116393| 02/06 16:00:44 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160032_221.mp4 02/06 16:00:44 Date = 20190602 02/06 16:00:44 Construct from filename date 02/06 16:00:44 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160032_221.mp4 02/06 16:00:44 Destination file not found 02/06 16:00:44 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160032_221.mp4 02/06 16:00:44 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160032_221.mp4 02/06 16:00:44 DownloadFile ok... checking file destination 02/06 16:00:44 URLDownloadToFile ok 02/06 16:00:45 Video .sig downloaded ok! 02/06 16:00:45 Snapshot .sig downloaded ok! 02/06 16:00:45 Elapsed download time: 00:00:01 02/06 16:00:45 UpdateVideoname 02/06 16:00:45 Updating: idalarmcra = 384587 02/06 16:00:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384587 ORDER BY IDALARMCRA DESC 02/06 16:00:45 Just before Update() 02/06 16:00:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:00:55 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:00:55 Alarms with pending videos found! 02/06 16:00:55 Next idalarmcra = 384589 02/06 16:00:55 DownloadVideos::DownloadVideoOfAlarm 02/06 16:00:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:00:55 SAM|1177 02/06 16:00:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160003_69.mp4|107396| 02/06 16:00:56 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160003_69.mp4 02/06 16:00:56 Date = 20190602 02/06 16:00:56 Construct from filename date 02/06 16:00:56 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160003_69.mp4 02/06 16:00:56 Destination file not found 02/06 16:00:56 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160003_69.mp4 02/06 16:00:56 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160003_69.mp4 02/06 16:00:56 DownloadFile ok... checking file destination 02/06 16:00:56 URLDownloadToFile ok 02/06 16:00:56 Video .sig downloaded ok! 02/06 16:00:56 Snapshot .sig downloaded ok! 02/06 16:00:56 Elapsed download time: 00:00:01 02/06 16:00:56 UpdateVideoname 02/06 16:00:56 Updating: idalarmcra = 384589 02/06 16:00:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384589 ORDER BY IDALARMCRA DESC 02/06 16:00:56 Just before Update() 02/06 16:00:56 Next idalarmcra = 384588 02/06 16:00:56 DownloadVideos::DownloadVideoOfAlarm 02/06 16:00:56 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:00:56 SAM|1176 02/06 16:00:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_160000_190.mp4|110207| 02/06 16:00:56 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_160000_190.mp4 02/06 16:00:56 Date = 20190602 02/06 16:00:56 Construct from filename date 02/06 16:00:56 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_160000_190.mp4 02/06 16:00:56 Destination file not found 02/06 16:00:56 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_160000_190.mp4 02/06 16:00:56 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_160000_190.mp4 02/06 16:00:56 DownloadFile ok... checking file destination 02/06 16:00:56 URLDownloadToFile ok 02/06 16:00:57 Video .sig downloaded ok! 02/06 16:00:57 Snapshot .sig downloaded ok! 02/06 16:00:57 Elapsed download time: 00:00:01 02/06 16:00:57 UpdateVideoname 02/06 16:00:57 Updating: idalarmcra = 384588 02/06 16:00:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384588 ORDER BY IDALARMCRA DESC 02/06 16:00:57 Just before Update() 02/06 16:01:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:01:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:01:07 Don't have work. 02/06 16:01:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:01:17 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:01:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:01:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:01:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:01:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:01:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:01:47 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:01:47 Alarms with pending videos found! 02/06 16:01:47 Next idalarmcra = 384592 02/06 16:01:47 DownloadVideos::DownloadVideoOfAlarm 02/06 16:01:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:01:47 SAM|10908 02/06 16:01:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_150138_138.mp4|95426| 02/06 16:01:48 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_150138_138.mp4 02/06 16:01:48 Date = 20190602 02/06 16:01:48 Construct from filename date 02/06 16:01:48 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_150138_138.mp4 02/06 16:01:48 Destination file not found 02/06 16:01:48 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_150138_138.mp4 02/06 16:01:48 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_150138_138.mp4 02/06 16:01:49 DownloadFile ok... checking file destination 02/06 16:01:49 URLDownloadToFile ok 02/06 16:01:49 Video .sig downloaded ok! 02/06 16:01:49 Snapshot .sig downloaded ok! 02/06 16:01:49 Elapsed download time: 00:00:02 02/06 16:01:50 UpdateVideoname 02/06 16:01:50 Updating: idalarmcra = 384592 02/06 16:01:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384592 ORDER BY IDALARMCRA DESC 02/06 16:01:50 Just before Update() 02/06 16:02:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:02:00 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:02:00 Alarms with pending videos found! 02/06 16:02:00 Next idalarmcra = 384594 02/06 16:02:00 DownloadVideos::DownloadVideoOfAlarm 02/06 16:02:00 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 16:02:00 SAM|6111 02/06 16:02:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_160152_6.mp4|101335| 02/06 16:02:00 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_160152_6.mp4 02/06 16:02:00 Date = 20190602 02/06 16:02:00 Construct from filename date 02/06 16:02:00 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_160152_6.mp4 02/06 16:02:00 Destination file not found 02/06 16:02:00 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_160152_6.mp4 02/06 16:02:00 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_160152_6.mp4 02/06 16:02:01 DownloadFile ok... checking file destination 02/06 16:02:01 URLDownloadToFile ok 02/06 16:02:02 Video .sig downloaded ok! 02/06 16:02:02 Snapshot .sig downloaded ok! 02/06 16:02:02 Elapsed download time: 00:00:02 02/06 16:02:02 UpdateVideoname 02/06 16:02:02 Updating: idalarmcra = 384594 02/06 16:02:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384594 ORDER BY IDALARMCRA DESC 02/06 16:02:02 Just before Update() 02/06 16:02:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:02:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:02:12 Don't have work. 02/06 16:02:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:02:23 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:02:23 Alarms with pending videos found! 02/06 16:02:23 Next idalarmcra = 384595 02/06 16:02:23 DownloadVideos::DownloadVideoOfAlarm 02/06 16:02:23 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:02:23 SAM|1562 02/06 16:02:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:02:23 NOK answer received 02/06 16:02:23 UpdateVideoname 02/06 16:02:23 Updating: idalarmcra = 384595 02/06 16:02:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384595 ORDER BY IDALARMCRA DESC 02/06 16:02:23 Just before Update() 02/06 16:02:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:02:33 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:02:33 Alarms with pending videos found! 02/06 16:02:33 Next idalarmcra = 384595 02/06 16:02:33 DownloadVideos::DownloadVideoOfAlarm 02/06 16:02:33 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:02:33 SAM|1562 02/06 16:02:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160219_222.mp4|109819| 02/06 16:02:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160219_222.mp4 02/06 16:02:33 Date = 20190602 02/06 16:02:33 Construct from filename date 02/06 16:02:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160219_222.mp4 02/06 16:02:33 Destination file not found 02/06 16:02:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160219_222.mp4 02/06 16:02:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160219_222.mp4 02/06 16:02:36 DownloadFile ok... checking file destination 02/06 16:02:36 URLDownloadToFile ok 02/06 16:02:37 Video .sig downloaded ok! 02/06 16:02:37 Snapshot .sig downloaded ok! 02/06 16:02:37 Elapsed download time: 00:00:04 02/06 16:02:37 UpdateVideoname 02/06 16:02:37 Updating: idalarmcra = 384595 02/06 16:02:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384595 ORDER BY IDALARMCRA DESC 02/06 16:02:37 Just before Update() 02/06 16:02:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:02:47 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:02:47 Alarms with pending videos found! 02/06 16:02:47 Next idalarmcra = 384596 02/06 16:02:47 DownloadVideos::DownloadVideoOfAlarm 02/06 16:02:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:02:47 SAM|1563 02/06 16:02:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_160235_72.mp4|115644| 02/06 16:02:47 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_160235_72.mp4 02/06 16:02:47 Date = 20190602 02/06 16:02:47 Construct from filename date 02/06 16:02:47 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_160235_72.mp4 02/06 16:02:47 Destination file not found 02/06 16:02:47 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_160235_72.mp4 02/06 16:02:47 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_160235_72.mp4 02/06 16:02:50 DownloadFile ok... checking file destination 02/06 16:02:50 URLDownloadToFile ok 02/06 16:02:50 Video .sig downloaded ok! 02/06 16:02:50 Snapshot .sig downloaded ok! 02/06 16:02:50 Elapsed download time: 00:00:03 02/06 16:02:50 UpdateVideoname 02/06 16:02:50 Updating: idalarmcra = 384596 02/06 16:02:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384596 ORDER BY IDALARMCRA DESC 02/06 16:02:50 Just before Update() 02/06 16:03:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:03:00 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:03:00 Alarms with pending videos found! 02/06 16:03:00 Next idalarmcra = 384600 02/06 16:03:00 DownloadVideos::DownloadVideoOfAlarm 02/06 16:03:00 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:03:00 SAM|22989 02/06 16:03:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_160305_83.mp4|114938| 02/06 16:03:00 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_160305_83.mp4 02/06 16:03:00 Date = 20190602 02/06 16:03:00 Construct from filename date 02/06 16:03:00 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_160305_83.mp4 02/06 16:03:00 Destination file not found 02/06 16:03:00 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_160305_83.mp4 02/06 16:03:00 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_160305_83.mp4 02/06 16:03:02 DownloadFile ok... checking file destination 02/06 16:03:02 URLDownloadToFile ok 02/06 16:03:03 Video .sig downloaded ok! 02/06 16:03:03 Snapshot .sig downloaded ok! 02/06 16:03:03 Elapsed download time: 00:00:03 02/06 16:03:03 UpdateVideoname 02/06 16:03:03 Updating: idalarmcra = 384600 02/06 16:03:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384600 ORDER BY IDALARMCRA DESC 02/06 16:03:03 Just before Update() 02/06 16:03:03 Next idalarmcra = 384598 02/06 16:03:03 DownloadVideos::DownloadVideoOfAlarm 02/06 16:03:03 [D] Query(14ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:03:03 SAM|1564 02/06 16:03:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160249_223.mp4|114661| 02/06 16:03:04 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160249_223.mp4 02/06 16:03:04 Date = 20190602 02/06 16:03:04 Construct from filename date 02/06 16:03:04 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160249_223.mp4 02/06 16:03:04 Destination file not found 02/06 16:03:04 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160249_223.mp4 02/06 16:03:04 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160249_223.mp4 02/06 16:03:07 DownloadFile ok... checking file destination 02/06 16:03:07 URLDownloadToFile ok 02/06 16:03:07 Video .sig downloaded ok! 02/06 16:03:07 Snapshot .sig downloaded ok! 02/06 16:03:07 Elapsed download time: 00:00:04 02/06 16:03:08 UpdateVideoname 02/06 16:03:08 Updating: idalarmcra = 384598 02/06 16:03:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384598 ORDER BY IDALARMCRA DESC 02/06 16:03:08 Just before Update() 02/06 16:03:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:03:18 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:03:18 Don't have work. 02/06 16:03:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:03:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:03:28 Alarms with pending videos found! 02/06 16:03:28 Next idalarmcra = 384604 02/06 16:03:28 DownloadVideos::DownloadVideoOfAlarm 02/06 16:03:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:03:28 SAM|1566 02/06 16:03:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160321_174.mp4|103059| 02/06 16:03:28 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160321_174.mp4 02/06 16:03:28 Date = 20190602 02/06 16:03:28 Construct from filename date 02/06 16:03:28 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160321_174.mp4 02/06 16:03:28 Destination file not found 02/06 16:03:28 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160321_174.mp4 02/06 16:03:28 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160321_174.mp4 02/06 16:03:31 DownloadFile ok... checking file destination 02/06 16:03:31 URLDownloadToFile ok 02/06 16:03:31 Video .sig downloaded ok! 02/06 16:03:31 Snapshot .sig downloaded ok! 02/06 16:03:31 Elapsed download time: 00:00:03 02/06 16:03:31 UpdateVideoname 02/06 16:03:31 Updating: idalarmcra = 384604 02/06 16:03:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384604 ORDER BY IDALARMCRA DESC 02/06 16:03:31 Just before Update() 02/06 16:03:31 Next idalarmcra = 384603 02/06 16:03:31 DownloadVideos::DownloadVideoOfAlarm 02/06 16:03:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:03:31 SAM|1565 02/06 16:03:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160315_229.mp4|103270| 02/06 16:03:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160315_229.mp4 02/06 16:03:31 Date = 20190602 02/06 16:03:31 Construct from filename date 02/06 16:03:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160315_229.mp4 02/06 16:03:31 Destination file not found 02/06 16:03:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160315_229.mp4 02/06 16:03:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160315_229.mp4 02/06 16:03:34 DownloadFile ok... checking file destination 02/06 16:03:34 URLDownloadToFile ok 02/06 16:03:34 Video .sig downloaded ok! 02/06 16:03:34 Snapshot .sig downloaded ok! 02/06 16:03:34 Elapsed download time: 00:00:03 02/06 16:03:34 UpdateVideoname 02/06 16:03:34 Updating: idalarmcra = 384603 02/06 16:03:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384603 ORDER BY IDALARMCRA DESC 02/06 16:03:34 Just before Update() 02/06 16:03:44 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:03:44 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:03:44 Don't have work. 02/06 16:03:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:03:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:04:04 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:04:05 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:04:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:04:15 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:04:15 Alarms with pending videos found! 02/06 16:04:15 Next idalarmcra = 384607 02/06 16:04:15 DownloadVideos::DownloadVideoOfAlarm 02/06 16:04:15 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:04:15 SAM|1568 02/06 16:04:15 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160400_231.mp4|111690| 02/06 16:04:15 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160400_231.mp4 02/06 16:04:15 Date = 20190602 02/06 16:04:15 Construct from filename date 02/06 16:04:15 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160400_231.mp4 02/06 16:04:15 Destination file not found 02/06 16:04:15 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160400_231.mp4 02/06 16:04:15 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160400_231.mp4 02/06 16:04:18 DownloadFile ok... checking file destination 02/06 16:04:18 URLDownloadToFile ok 02/06 16:04:18 Video .sig downloaded ok! 02/06 16:04:18 Snapshot .sig downloaded ok! 02/06 16:04:18 Elapsed download time: 00:00:03 02/06 16:04:18 UpdateVideoname 02/06 16:04:18 Updating: idalarmcra = 384607 02/06 16:04:18 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384607 ORDER BY IDALARMCRA DESC 02/06 16:04:18 Just before Update() 02/06 16:04:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:04:28 [D] Query(34ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:04:28 Don't have work. 02/06 16:04:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:04:38 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:04:38 Alarms with pending videos found! 02/06 16:04:38 Next idalarmcra = 384608 02/06 16:04:38 DownloadVideos::DownloadVideoOfAlarm 02/06 16:04:38 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:04:38 SAM|1569 02/06 16:04:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160430_224.mp4|111920| 02/06 16:04:39 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160430_224.mp4 02/06 16:04:39 Date = 20190602 02/06 16:04:39 Construct from filename date 02/06 16:04:39 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160430_224.mp4 02/06 16:04:39 Destination file not found 02/06 16:04:39 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160430_224.mp4 02/06 16:04:39 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160430_224.mp4 02/06 16:04:43 DownloadFile ok... checking file destination 02/06 16:04:43 URLDownloadToFile ok 02/06 16:04:43 Video .sig downloaded ok! 02/06 16:04:43 Snapshot .sig downloaded ok! 02/06 16:04:43 Elapsed download time: 00:00:05 02/06 16:04:43 UpdateVideoname 02/06 16:04:43 Updating: idalarmcra = 384608 02/06 16:04:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384608 ORDER BY IDALARMCRA DESC 02/06 16:04:43 Just before Update() 02/06 16:04:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:04:53 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:04:53 Don't have work. 02/06 16:05:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:05:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:05:13 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:05:13 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:05:13 Alarms with pending videos found! 02/06 16:05:13 Next idalarmcra = 384609 02/06 16:05:13 DownloadVideos::DownloadVideoOfAlarm 02/06 16:05:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:05:13 SAM|1570 02/06 16:05:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160505_175.mp4|107076| 02/06 16:05:14 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160505_175.mp4 02/06 16:05:14 Date = 20190602 02/06 16:05:14 Construct from filename date 02/06 16:05:14 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160505_175.mp4 02/06 16:05:14 Destination file not found 02/06 16:05:14 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160505_175.mp4 02/06 16:05:14 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160505_175.mp4 02/06 16:05:16 DownloadFile ok... checking file destination 02/06 16:05:16 URLDownloadToFile ok 02/06 16:05:17 Video .sig downloaded ok! 02/06 16:05:17 Snapshot .sig downloaded ok! 02/06 16:05:17 Elapsed download time: 00:00:04 02/06 16:05:17 UpdateVideoname 02/06 16:05:17 Updating: idalarmcra = 384609 02/06 16:05:17 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384609 ORDER BY IDALARMCRA DESC 02/06 16:05:17 Just before Update() 02/06 16:05:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:05:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:05:27 Don't have work. 02/06 16:05:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:05:37 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:05:37 Alarms with pending videos found! 02/06 16:05:37 Next idalarmcra = 384615 02/06 16:05:37 DownloadVideos::DownloadVideoOfAlarm 02/06 16:05:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:05:37 SAM|1572 02/06 16:05:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160527_176.mp4|111893| 02/06 16:05:37 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160527_176.mp4 02/06 16:05:37 Date = 20190602 02/06 16:05:37 Construct from filename date 02/06 16:05:37 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160527_176.mp4 02/06 16:05:37 Destination file not found 02/06 16:05:37 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160527_176.mp4 02/06 16:05:37 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160527_176.mp4 02/06 16:05:40 DownloadFile ok... checking file destination 02/06 16:05:40 URLDownloadToFile ok 02/06 16:05:40 Video .sig downloaded ok! 02/06 16:05:41 Snapshot .sig downloaded ok! 02/06 16:05:41 Elapsed download time: 00:00:04 02/06 16:05:41 UpdateVideoname 02/06 16:05:41 Updating: idalarmcra = 384615 02/06 16:05:41 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384615 ORDER BY IDALARMCRA DESC 02/06 16:05:41 Just before Update() 02/06 16:05:41 Next idalarmcra = 384612 02/06 16:05:41 DownloadVideos::DownloadVideoOfAlarm 02/06 16:05:41 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:05:41 SAM|1571 02/06 16:05:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160520_232.mp4|105983| 02/06 16:05:42 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160520_232.mp4 02/06 16:05:42 Date = 20190602 02/06 16:05:42 Construct from filename date 02/06 16:05:42 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160520_232.mp4 02/06 16:05:42 Destination file not found 02/06 16:05:42 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160520_232.mp4 02/06 16:05:42 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160520_232.mp4 02/06 16:05:45 DownloadFile ok... checking file destination 02/06 16:05:45 URLDownloadToFile ok 02/06 16:05:45 Video .sig downloaded ok! 02/06 16:05:46 Snapshot .sig downloaded ok! 02/06 16:05:46 Elapsed download time: 00:00:05 02/06 16:05:46 UpdateVideoname 02/06 16:05:46 Updating: idalarmcra = 384612 02/06 16:05:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384612 ORDER BY IDALARMCRA DESC 02/06 16:05:46 Just before Update() 02/06 16:05:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:05:56 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:05:56 Don't have work. 02/06 16:06:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:06:06 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:06:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:06:16 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:06:16 Alarms with pending videos found! 02/06 16:06:16 Next idalarmcra = 384617 02/06 16:06:16 DownloadVideos::DownloadVideoOfAlarm 02/06 16:06:16 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:06:16 SAM|1574 02/06 16:06:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160604_234.mp4|101826| 02/06 16:06:16 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160604_234.mp4 02/06 16:06:16 Date = 20190602 02/06 16:06:16 Construct from filename date 02/06 16:06:16 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160604_234.mp4 02/06 16:06:16 Destination file not found 02/06 16:06:16 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160604_234.mp4 02/06 16:06:16 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160604_234.mp4 02/06 16:06:20 DownloadFile ok... checking file destination 02/06 16:06:20 URLDownloadToFile ok 02/06 16:06:20 Video .sig downloaded ok! 02/06 16:06:20 Snapshot .sig downloaded ok! 02/06 16:06:20 Elapsed download time: 00:00:04 02/06 16:06:20 UpdateVideoname 02/06 16:06:20 Updating: idalarmcra = 384617 02/06 16:06:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384617 ORDER BY IDALARMCRA DESC 02/06 16:06:20 Just before Update() 02/06 16:06:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:06:30 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:06:30 Alarms with pending videos found! 02/06 16:06:30 Next idalarmcra = 384618 02/06 16:06:30 DownloadVideos::DownloadVideoOfAlarm 02/06 16:06:30 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:06:30 SAM|1575 02/06 16:06:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160623_225.mp4|116581| 02/06 16:06:30 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160623_225.mp4 02/06 16:06:30 Date = 20190602 02/06 16:06:30 Construct from filename date 02/06 16:06:30 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160623_225.mp4 02/06 16:06:30 Destination file not found 02/06 16:06:30 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160623_225.mp4 02/06 16:06:30 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160623_225.mp4 02/06 16:06:34 DownloadFile ok... checking file destination 02/06 16:06:34 URLDownloadToFile ok 02/06 16:06:34 Video .sig downloaded ok! 02/06 16:06:34 Snapshot .sig downloaded ok! 02/06 16:06:34 Elapsed download time: 00:00:04 02/06 16:06:34 UpdateVideoname 02/06 16:06:34 Updating: idalarmcra = 384618 02/06 16:06:34 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384618 ORDER BY IDALARMCRA DESC 02/06 16:06:34 Just before Update() 02/06 16:06:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:06:44 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:06:44 Don't have work. 02/06 16:06:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:06:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:07:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:07:04 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:07:14 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:07:14 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:07:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:07:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:07:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:07:35 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:07:45 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:07:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:07:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:07:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:08:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:08:05 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:08:05 Alarms with pending videos found! 02/06 16:08:05 Next idalarmcra = 384622 02/06 16:08:05 DownloadVideos::DownloadVideoOfAlarm 02/06 16:08:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:08:05 SAM|1576 02/06 16:08:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:08:05 NOK answer received 02/06 16:08:05 UpdateVideoname 02/06 16:08:05 Updating: idalarmcra = 384622 02/06 16:08:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384622 ORDER BY IDALARMCRA DESC 02/06 16:08:05 Just before Update() 02/06 16:08:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:08:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:08:15 Don't have work. 02/06 16:08:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:08:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:08:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:08:35 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:08:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:08:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:08:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:08:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:09:06 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:09:06 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:09:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:09:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:09:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:09:26 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:09:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:09:36 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:09:36 Alarms with pending videos found! 02/06 16:09:36 Next idalarmcra = 384626 02/06 16:09:36 DownloadVideos::DownloadVideoOfAlarm 02/06 16:09:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 16:09:36 SAM|163143 02/06 16:09:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_162217_103.mp4|113711| 02/06 16:09:36 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_162217_103.mp4 02/06 16:09:36 Date = 20190602 02/06 16:09:36 Construct from filename date 02/06 16:09:36 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_162217_103.mp4 02/06 16:09:36 Destination file not found 02/06 16:09:36 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_162217_103.mp4 02/06 16:09:36 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_162217_103.mp4 02/06 16:09:38 DownloadFile ok... checking file destination 02/06 16:09:38 URLDownloadToFile ok 02/06 16:09:38 Video .sig downloaded ok! 02/06 16:09:38 Snapshot .sig downloaded ok! 02/06 16:09:38 Elapsed download time: 00:00:02 02/06 16:09:39 UpdateVideoname 02/06 16:09:39 Updating: idalarmcra = 384626 02/06 16:09:39 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384626 ORDER BY IDALARMCRA DESC 02/06 16:09:39 Just before Update() 02/06 16:09:39 Next idalarmcra = 384625 02/06 16:09:39 DownloadVideos::DownloadVideoOfAlarm 02/06 16:09:39 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:09:39 SAM|1577 02/06 16:09:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160928_177.mp4|109537| 02/06 16:09:39 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160928_177.mp4 02/06 16:09:39 Date = 20190602 02/06 16:09:39 Construct from filename date 02/06 16:09:39 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160928_177.mp4 02/06 16:09:39 Destination file not found 02/06 16:09:39 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160928_177.mp4 02/06 16:09:39 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_160928_177.mp4 02/06 16:09:43 DownloadFile ok... checking file destination 02/06 16:09:43 URLDownloadToFile ok 02/06 16:09:43 Video .sig downloaded ok! 02/06 16:09:43 Snapshot .sig downloaded ok! 02/06 16:09:43 Elapsed download time: 00:00:04 02/06 16:09:43 UpdateVideoname 02/06 16:09:43 Updating: idalarmcra = 384625 02/06 16:09:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384625 ORDER BY IDALARMCRA DESC 02/06 16:09:43 Just before Update() 02/06 16:09:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:09:53 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:09:53 Alarms with pending videos found! 02/06 16:09:53 Next idalarmcra = 384631 02/06 16:09:53 DownloadVideos::DownloadVideoOfAlarm 02/06 16:09:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:09:53 SAM|1580 02/06 16:09:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160945_235.mp4|102271| 02/06 16:09:54 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160945_235.mp4 02/06 16:09:54 Date = 20190602 02/06 16:09:54 Construct from filename date 02/06 16:09:54 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160945_235.mp4 02/06 16:09:54 Destination file not found 02/06 16:09:54 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160945_235.mp4 02/06 16:09:54 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_160945_235.mp4 02/06 16:09:56 DownloadFile ok... checking file destination 02/06 16:09:56 URLDownloadToFile ok 02/06 16:09:57 Video .sig downloaded ok! 02/06 16:09:57 Snapshot .sig downloaded ok! 02/06 16:09:57 Elapsed download time: 00:00:04 02/06 16:09:57 UpdateVideoname 02/06 16:09:57 Updating: idalarmcra = 384631 02/06 16:09:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384631 ORDER BY IDALARMCRA DESC 02/06 16:09:57 Just before Update() 02/06 16:09:57 Next idalarmcra = 384630 02/06 16:09:57 DownloadVideos::DownloadVideoOfAlarm 02/06 16:09:57 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:09:57 SAM|1179 02/06 16:09:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160850_70.mp4|107106| 02/06 16:09:57 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160850_70.mp4 02/06 16:09:57 Date = 20190602 02/06 16:09:57 Construct from filename date 02/06 16:09:57 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160850_70.mp4 02/06 16:09:57 Destination file not found 02/06 16:09:57 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160850_70.mp4 02/06 16:09:57 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160850_70.mp4 02/06 16:09:58 DownloadFile ok... checking file destination 02/06 16:09:58 URLDownloadToFile ok 02/06 16:09:58 Video .sig downloaded ok! 02/06 16:09:58 Snapshot .sig downloaded ok! 02/06 16:09:58 Elapsed download time: 00:00:01 02/06 16:09:58 UpdateVideoname 02/06 16:09:58 Updating: idalarmcra = 384630 02/06 16:09:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384630 ORDER BY IDALARMCRA DESC 02/06 16:09:58 Just before Update() 02/06 16:09:58 Next idalarmcra = 384628 02/06 16:09:58 DownloadVideos::DownloadVideoOfAlarm 02/06 16:09:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:09:58 SAM|1579 02/06 16:09:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_160932_73.mp4|111344| 02/06 16:09:58 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_160932_73.mp4 02/06 16:09:58 Date = 20190602 02/06 16:09:58 Construct from filename date 02/06 16:09:58 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_160932_73.mp4 02/06 16:09:58 Destination file not found 02/06 16:09:58 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_160932_73.mp4 02/06 16:09:58 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_160932_73.mp4 02/06 16:10:02 DownloadFile ok... checking file destination 02/06 16:10:02 URLDownloadToFile ok 02/06 16:10:02 Video .sig downloaded ok! 02/06 16:10:02 Snapshot .sig downloaded ok! 02/06 16:10:02 Elapsed download time: 00:00:04 02/06 16:10:02 UpdateVideoname 02/06 16:10:02 Updating: idalarmcra = 384628 02/06 16:10:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384628 ORDER BY IDALARMCRA DESC 02/06 16:10:02 Just before Update() 02/06 16:10:02 Next idalarmcra = 384627 02/06 16:10:02 DownloadVideos::DownloadVideoOfAlarm 02/06 16:10:02 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:10:02 SAM|1578 02/06 16:10:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160929_227.mp4|108511| 02/06 16:10:03 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160929_227.mp4 02/06 16:10:03 Date = 20190602 02/06 16:10:03 Construct from filename date 02/06 16:10:03 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160929_227.mp4 02/06 16:10:03 Destination file not found 02/06 16:10:03 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160929_227.mp4 02/06 16:10:03 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_160929_227.mp4 02/06 16:10:06 DownloadFile ok... checking file destination 02/06 16:10:06 URLDownloadToFile ok 02/06 16:10:06 Video .sig downloaded ok! 02/06 16:10:06 Snapshot .sig downloaded ok! 02/06 16:10:06 Elapsed download time: 00:00:04 02/06 16:10:06 UpdateVideoname 02/06 16:10:06 Updating: idalarmcra = 384627 02/06 16:10:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384627 ORDER BY IDALARMCRA DESC 02/06 16:10:06 Just before Update() 02/06 16:10:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:10:16 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:10:16 Alarms with pending videos found! 02/06 16:10:16 Next idalarmcra = 384633 02/06 16:10:16 DownloadVideos::DownloadVideoOfAlarm 02/06 16:10:16 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:10:16 SAM|22990 02/06 16:10:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161024_84.mp4|112807| 02/06 16:10:17 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161024_84.mp4 02/06 16:10:17 Date = 20190602 02/06 16:10:17 Construct from filename date 02/06 16:10:17 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161024_84.mp4 02/06 16:10:17 Destination file not found 02/06 16:10:17 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161024_84.mp4 02/06 16:10:17 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161024_84.mp4 02/06 16:10:19 DownloadFile ok... checking file destination 02/06 16:10:19 URLDownloadToFile ok 02/06 16:10:19 Video .sig downloaded ok! 02/06 16:10:20 Snapshot .sig downloaded ok! 02/06 16:10:20 Elapsed download time: 00:00:04 02/06 16:10:20 UpdateVideoname 02/06 16:10:20 Updating: idalarmcra = 384633 02/06 16:10:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384633 ORDER BY IDALARMCRA DESC 02/06 16:10:20 Just before Update() 02/06 16:10:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:10:30 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:10:30 Alarms with pending videos found! 02/06 16:10:30 Next idalarmcra = 384637 02/06 16:10:30 DownloadVideos::DownloadVideoOfAlarm 02/06 16:10:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:10:30 SAM|1581 02/06 16:10:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:10:30 NOK answer received 02/06 16:10:30 UpdateVideoname 02/06 16:10:30 Updating: idalarmcra = 384637 02/06 16:10:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384637 ORDER BY IDALARMCRA DESC 02/06 16:10:30 Just before Update() 02/06 16:10:30 Next idalarmcra = 384636 02/06 16:10:30 DownloadVideos::DownloadVideoOfAlarm 02/06 16:10:30 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:10:30 SAM|1181 02/06 16:10:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:10:30 NOK answer received 02/06 16:10:31 UpdateVideoname 02/06 16:10:31 Updating: idalarmcra = 384636 02/06 16:10:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384636 ORDER BY IDALARMCRA DESC 02/06 16:10:31 Just before Update() 02/06 16:10:31 Next idalarmcra = 384635 02/06 16:10:31 DownloadVideos::DownloadVideoOfAlarm 02/06 16:10:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:10:31 SAM|1180 02/06 16:10:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_160937_192.mp4|104690| 02/06 16:10:31 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_160937_192.mp4 02/06 16:10:31 Date = 20190602 02/06 16:10:31 Construct from filename date 02/06 16:10:31 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_160937_192.mp4 02/06 16:10:31 Destination file not found 02/06 16:10:31 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_160937_192.mp4 02/06 16:10:31 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_160937_192.mp4 02/06 16:10:31 DownloadFile ok... checking file destination 02/06 16:10:31 URLDownloadToFile ok 02/06 16:10:31 Video .sig downloaded ok! 02/06 16:10:31 Snapshot .sig downloaded ok! 02/06 16:10:31 Elapsed download time: 00:00:00 02/06 16:10:31 UpdateVideoname 02/06 16:10:31 Updating: idalarmcra = 384635 02/06 16:10:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384635 ORDER BY IDALARMCRA DESC 02/06 16:10:31 Just before Update() 02/06 16:10:31 Next idalarmcra = 384634 02/06 16:10:31 DownloadVideos::DownloadVideoOfAlarm 02/06 16:10:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:10:32 SAM|770 02/06 16:10:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161023_127.mp4|112194| 02/06 16:10:32 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161023_127.mp4 02/06 16:10:32 Date = 20190602 02/06 16:10:32 Construct from filename date 02/06 16:10:32 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161023_127.mp4 02/06 16:10:32 Destination file not found 02/06 16:10:32 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161023_127.mp4 02/06 16:10:32 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161023_127.mp4 02/06 16:10:32 DownloadFile ok... checking file destination 02/06 16:10:32 URLDownloadToFile ok 02/06 16:10:32 Video .sig downloaded ok! 02/06 16:10:32 Snapshot .sig downloaded ok! 02/06 16:10:32 Elapsed download time: 00:00:00 02/06 16:10:32 UpdateVideoname 02/06 16:10:32 Updating: idalarmcra = 384634 02/06 16:10:32 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384634 ORDER BY IDALARMCRA DESC 02/06 16:10:32 Just before Update() 02/06 16:10:42 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:10:42 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:10:42 Alarms with pending videos found! 02/06 16:10:42 Next idalarmcra = 384638 02/06 16:10:42 DownloadVideos::DownloadVideoOfAlarm 02/06 16:10:42 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:10:42 SAM|1182 02/06 16:10:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_160942_442.mp4|103406| 02/06 16:10:43 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_160942_442.mp4 02/06 16:10:43 Date = 20190602 02/06 16:10:43 Construct from filename date 02/06 16:10:43 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_160942_442.mp4 02/06 16:10:43 Destination file not found 02/06 16:10:43 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_160942_442.mp4 02/06 16:10:43 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_160942_442.mp4 02/06 16:10:43 DownloadFile ok... checking file destination 02/06 16:10:43 URLDownloadToFile ok 02/06 16:10:43 Video .sig downloaded ok! 02/06 16:10:43 Snapshot .sig downloaded ok! 02/06 16:10:43 Elapsed download time: 00:00:01 02/06 16:10:44 UpdateVideoname 02/06 16:10:44 Updating: idalarmcra = 384638 02/06 16:10:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384638 ORDER BY IDALARMCRA DESC 02/06 16:10:44 Just before Update() 02/06 16:10:44 Next idalarmcra = 384637 02/06 16:10:44 DownloadVideos::DownloadVideoOfAlarm 02/06 16:10:44 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:10:44 SAM|1581 02/06 16:10:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_161027_178.mp4|105404| 02/06 16:10:44 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_161027_178.mp4 02/06 16:10:44 Date = 20190602 02/06 16:10:44 Construct from filename date 02/06 16:10:44 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_161027_178.mp4 02/06 16:10:44 Destination file not found 02/06 16:10:44 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_161027_178.mp4 02/06 16:10:44 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_161027_178.mp4 02/06 16:10:46 DownloadFile ok... checking file destination 02/06 16:10:46 URLDownloadToFile ok 02/06 16:10:46 Video .sig downloaded ok! 02/06 16:10:46 Snapshot .sig downloaded ok! 02/06 16:10:46 Elapsed download time: 00:00:02 02/06 16:10:47 UpdateVideoname 02/06 16:10:47 Updating: idalarmcra = 384637 02/06 16:10:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384637 ORDER BY IDALARMCRA DESC 02/06 16:10:47 Just before Update() 02/06 16:10:47 Next idalarmcra = 384636 02/06 16:10:47 DownloadVideos::DownloadVideoOfAlarm 02/06 16:10:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:10:47 SAM|1181 02/06 16:10:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160941_71.mp4|112856| 02/06 16:10:47 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160941_71.mp4 02/06 16:10:47 Date = 20190602 02/06 16:10:47 Construct from filename date 02/06 16:10:47 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160941_71.mp4 02/06 16:10:47 Destination file not found 02/06 16:10:47 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160941_71.mp4 02/06 16:10:47 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_160941_71.mp4 02/06 16:10:47 DownloadFile ok... checking file destination 02/06 16:10:47 URLDownloadToFile ok 02/06 16:10:47 Video .sig downloaded ok! 02/06 16:10:47 Snapshot .sig downloaded ok! 02/06 16:10:47 Elapsed download time: 00:00:00 02/06 16:10:48 UpdateVideoname 02/06 16:10:48 Updating: idalarmcra = 384636 02/06 16:10:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384636 ORDER BY IDALARMCRA DESC 02/06 16:10:48 Just before Update() 02/06 16:10:58 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:10:58 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:10:58 Alarms with pending videos found! 02/06 16:10:58 Next idalarmcra = 384640 02/06 16:10:58 DownloadVideos::DownloadVideoOfAlarm 02/06 16:10:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:10:58 SAM|1582 02/06 16:10:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161050_228.mp4|107576| 02/06 16:10:58 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161050_228.mp4 02/06 16:10:58 Date = 20190602 02/06 16:10:58 Construct from filename date 02/06 16:10:58 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161050_228.mp4 02/06 16:10:58 Destination file not found 02/06 16:10:58 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161050_228.mp4 02/06 16:10:58 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161050_228.mp4 02/06 16:11:01 DownloadFile ok... checking file destination 02/06 16:11:01 URLDownloadToFile ok 02/06 16:11:01 Video .sig downloaded ok! 02/06 16:11:01 Snapshot .sig downloaded ok! 02/06 16:11:01 Elapsed download time: 00:00:03 02/06 16:11:01 UpdateVideoname 02/06 16:11:01 Updating: idalarmcra = 384640 02/06 16:11:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384640 ORDER BY IDALARMCRA DESC 02/06 16:11:01 Just before Update() 02/06 16:11:01 Next idalarmcra = 384639 02/06 16:11:01 DownloadVideos::DownloadVideoOfAlarm 02/06 16:11:01 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 33 02/06 16:11:01 SAM|3229 02/06 16:11:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALASEHIR_A_Cam1_Event2_20190602_161037_21.mp4|65643| 02/06 16:11:02 FilenameSrc = 20190602\\SiteDGS_VA_ALASEHIR_A_Cam1_Event2_20190602_161037_21.mp4 02/06 16:11:02 Date = 20190602 02/06 16:11:02 Construct from filename date 02/06 16:11:02 Destination: c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam1_Event2_20190602_161037_21.mp4 02/06 16:11:02 Destination file not found 02/06 16:11:02 http://192.168.31.100:21000/20190602\\SiteDGS_VA_ALASEHIR_A_Cam1_Event2_20190602_161037_21.mp4 02/06 16:11:02 c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam1_Event2_20190602_161037_21.mp4 02/06 16:11:03 DownloadFile ok... checking file destination 02/06 16:11:03 URLDownloadToFile ok 02/06 16:11:03 Video .sig downloaded ok! 02/06 16:11:04 Snapshot .sig downloaded ok! 02/06 16:11:04 Elapsed download time: 00:00:03 02/06 16:11:04 UpdateVideoname 02/06 16:11:04 Updating: idalarmcra = 384639 02/06 16:11:04 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384639 ORDER BY IDALARMCRA DESC 02/06 16:11:04 Rollback executed. 02/06 16:11:04 RecordSet closed. 02/06 16:11:04 CheckDDBB 02/06 16:11:04 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:11:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:11:14 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:11:14 Don't have work. 02/06 16:11:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:11:24 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:11:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:11:34 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:11:34 Alarms with pending videos found! 02/06 16:11:34 Next idalarmcra = 384641 02/06 16:11:34 DownloadVideos::DownloadVideoOfAlarm 02/06 16:11:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:11:34 SAM|1583 02/06 16:11:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161129_229.mp4|108360| 02/06 16:11:35 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161129_229.mp4 02/06 16:11:35 Date = 20190602 02/06 16:11:35 Construct from filename date 02/06 16:11:35 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161129_229.mp4 02/06 16:11:35 Destination file not found 02/06 16:11:35 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161129_229.mp4 02/06 16:11:35 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161129_229.mp4 02/06 16:11:38 DownloadFile ok... checking file destination 02/06 16:11:38 URLDownloadToFile ok 02/06 16:11:38 Video .sig downloaded ok! 02/06 16:11:38 Snapshot .sig downloaded ok! 02/06 16:11:38 Elapsed download time: 00:00:04 02/06 16:11:38 UpdateVideoname 02/06 16:11:38 Updating: idalarmcra = 384641 02/06 16:11:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384641 ORDER BY IDALARMCRA DESC 02/06 16:11:38 Just before Update() 02/06 16:11:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:11:48 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:11:48 Don't have work. 02/06 16:11:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:11:58 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:12:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:12:08 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:12:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:12:18 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:12:18 Alarms with pending videos found! 02/06 16:12:18 Next idalarmcra = 384643 02/06 16:12:18 DownloadVideos::DownloadVideoOfAlarm 02/06 16:12:18 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:12:18 SAM|1584 02/06 16:12:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161207_230.mp4|113941| 02/06 16:12:19 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161207_230.mp4 02/06 16:12:19 Date = 20190602 02/06 16:12:19 Construct from filename date 02/06 16:12:19 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161207_230.mp4 02/06 16:12:19 Destination file not found 02/06 16:12:19 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161207_230.mp4 02/06 16:12:19 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161207_230.mp4 02/06 16:12:23 DownloadFile ok... checking file destination 02/06 16:12:23 URLDownloadToFile ok 02/06 16:12:23 Video .sig downloaded ok! 02/06 16:12:23 Snapshot .sig downloaded ok! 02/06 16:12:23 Elapsed download time: 00:00:05 02/06 16:12:23 UpdateVideoname 02/06 16:12:23 Updating: idalarmcra = 384643 02/06 16:12:23 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384643 ORDER BY IDALARMCRA DESC 02/06 16:12:23 Just before Update() 02/06 16:12:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:12:33 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:12:33 Alarms with pending videos found! 02/06 16:12:33 Next idalarmcra = 384644 02/06 16:12:33 DownloadVideos::DownloadVideoOfAlarm 02/06 16:12:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 16:12:33 SAM|163144 02/06 16:12:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_162510_104.mp4|112538| 02/06 16:12:33 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_162510_104.mp4 02/06 16:12:33 Date = 20190602 02/06 16:12:33 Construct from filename date 02/06 16:12:33 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_162510_104.mp4 02/06 16:12:33 Destination file not found 02/06 16:12:33 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_162510_104.mp4 02/06 16:12:33 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_162510_104.mp4 02/06 16:12:34 DownloadFile ok... checking file destination 02/06 16:12:34 URLDownloadToFile ok 02/06 16:12:34 Video .sig downloaded ok! 02/06 16:12:34 Snapshot .sig downloaded ok! 02/06 16:12:34 Elapsed download time: 00:00:01 02/06 16:12:35 UpdateVideoname 02/06 16:12:35 Updating: idalarmcra = 384644 02/06 16:12:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384644 ORDER BY IDALARMCRA DESC 02/06 16:12:35 Just before Update() 02/06 16:12:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:12:45 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:12:45 Alarms with pending videos found! 02/06 16:12:45 Next idalarmcra = 384645 02/06 16:12:45 DownloadVideos::DownloadVideoOfAlarm 02/06 16:12:45 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:12:45 SAM|1183 02/06 16:12:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:12:45 NOK answer received 02/06 16:12:45 UpdateVideoname 02/06 16:12:45 Updating: idalarmcra = 384645 02/06 16:12:45 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384645 ORDER BY IDALARMCRA DESC 02/06 16:12:45 Just before Update() 02/06 16:12:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:12:55 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:12:55 Alarms with pending videos found! 02/06 16:12:55 Next idalarmcra = 384649 02/06 16:12:55 DownloadVideos::DownloadVideoOfAlarm 02/06 16:12:55 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:12:55 SAM|22991 02/06 16:12:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161305_85.mp4|109620| 02/06 16:12:55 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161305_85.mp4 02/06 16:12:55 Date = 20190602 02/06 16:12:55 Construct from filename date 02/06 16:12:55 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161305_85.mp4 02/06 16:12:55 Destination file not found 02/06 16:12:55 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161305_85.mp4 02/06 16:12:55 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161305_85.mp4 02/06 16:12:57 DownloadFile ok... checking file destination 02/06 16:12:57 URLDownloadToFile ok 02/06 16:12:58 Video .sig downloaded ok! 02/06 16:12:58 Snapshot .sig downloaded ok! 02/06 16:12:58 Elapsed download time: 00:00:03 02/06 16:12:58 UpdateVideoname 02/06 16:12:58 Updating: idalarmcra = 384649 02/06 16:12:58 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384649 ORDER BY IDALARMCRA DESC 02/06 16:12:58 Just before Update() 02/06 16:12:58 Next idalarmcra = 384648 02/06 16:12:58 DownloadVideos::DownloadVideoOfAlarm 02/06 16:12:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:12:58 SAM|771 02/06 16:12:58 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161242_128.mp4|109239| 02/06 16:12:58 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161242_128.mp4 02/06 16:12:58 Date = 20190602 02/06 16:12:58 Construct from filename date 02/06 16:12:58 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161242_128.mp4 02/06 16:12:58 Destination file not found 02/06 16:12:58 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161242_128.mp4 02/06 16:12:58 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161242_128.mp4 02/06 16:12:59 DownloadFile ok... checking file destination 02/06 16:12:59 URLDownloadToFile ok 02/06 16:12:59 Video .sig downloaded ok! 02/06 16:12:59 Snapshot .sig downloaded ok! 02/06 16:12:59 Elapsed download time: 00:00:01 02/06 16:12:59 UpdateVideoname 02/06 16:12:59 Updating: idalarmcra = 384648 02/06 16:12:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384648 ORDER BY IDALARMCRA DESC 02/06 16:12:59 Just before Update() 02/06 16:12:59 Next idalarmcra = 384647 02/06 16:12:59 DownloadVideos::DownloadVideoOfAlarm 02/06 16:12:59 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:12:59 SAM|1185 02/06 16:12:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161157_72.mp4|99942| 02/06 16:12:59 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161157_72.mp4 02/06 16:12:59 Date = 20190602 02/06 16:12:59 Construct from filename date 02/06 16:12:59 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161157_72.mp4 02/06 16:12:59 Destination file not found 02/06 16:12:59 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161157_72.mp4 02/06 16:12:59 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161157_72.mp4 02/06 16:13:00 DownloadFile ok... checking file destination 02/06 16:13:00 URLDownloadToFile ok 02/06 16:13:00 Video .sig downloaded ok! 02/06 16:13:00 Snapshot .sig downloaded ok! 02/06 16:13:00 Elapsed download time: 00:00:01 02/06 16:13:00 UpdateVideoname 02/06 16:13:00 Updating: idalarmcra = 384647 02/06 16:13:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384647 ORDER BY IDALARMCRA DESC 02/06 16:13:00 Just before Update() 02/06 16:13:00 Next idalarmcra = 384646 02/06 16:13:00 DownloadVideos::DownloadVideoOfAlarm 02/06 16:13:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:13:00 SAM|1184 02/06 16:13:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161154_443.mp4|108285| 02/06 16:13:00 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161154_443.mp4 02/06 16:13:00 Date = 20190602 02/06 16:13:00 Construct from filename date 02/06 16:13:00 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161154_443.mp4 02/06 16:13:00 Destination file not found 02/06 16:13:00 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161154_443.mp4 02/06 16:13:00 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161154_443.mp4 02/06 16:13:01 DownloadFile ok... checking file destination 02/06 16:13:01 URLDownloadToFile ok 02/06 16:13:01 Video .sig downloaded ok! 02/06 16:13:01 Snapshot .sig downloaded ok! 02/06 16:13:01 Elapsed download time: 00:00:01 02/06 16:13:01 UpdateVideoname 02/06 16:13:01 Updating: idalarmcra = 384646 02/06 16:13:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384646 ORDER BY IDALARMCRA DESC 02/06 16:13:01 Just before Update() 02/06 16:13:01 Next idalarmcra = 384645 02/06 16:13:01 DownloadVideos::DownloadVideoOfAlarm 02/06 16:13:01 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:13:01 SAM|1183 02/06 16:13:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_161153_193.mp4|110008| 02/06 16:13:01 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_161153_193.mp4 02/06 16:13:01 Date = 20190602 02/06 16:13:01 Construct from filename date 02/06 16:13:01 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_161153_193.mp4 02/06 16:13:01 Destination file not found 02/06 16:13:01 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_161153_193.mp4 02/06 16:13:01 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_161153_193.mp4 02/06 16:13:01 DownloadFile ok... checking file destination 02/06 16:13:01 URLDownloadToFile ok 02/06 16:13:01 Video .sig downloaded ok! 02/06 16:13:02 Snapshot .sig downloaded ok! 02/06 16:13:02 Elapsed download time: 00:00:01 02/06 16:13:02 UpdateVideoname 02/06 16:13:02 Updating: idalarmcra = 384645 02/06 16:13:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384645 ORDER BY IDALARMCRA DESC 02/06 16:13:02 Just before Update() 02/06 16:13:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:13:12 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:13:12 Don't have work. 02/06 16:13:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:13:22 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:13:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:13:32 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:13:32 Alarms with pending videos found! 02/06 16:13:32 Next idalarmcra = 384650 02/06 16:13:32 DownloadVideos::DownloadVideoOfAlarm 02/06 16:13:32 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:13:32 SAM|1186 02/06 16:13:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161238_73.mp4|105887| 02/06 16:13:32 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161238_73.mp4 02/06 16:13:32 Date = 20190602 02/06 16:13:32 Construct from filename date 02/06 16:13:32 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161238_73.mp4 02/06 16:13:32 Destination file not found 02/06 16:13:32 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161238_73.mp4 02/06 16:13:32 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161238_73.mp4 02/06 16:13:32 DownloadFile ok... checking file destination 02/06 16:13:32 URLDownloadToFile ok 02/06 16:13:33 Video .sig downloaded ok! 02/06 16:13:33 Snapshot .sig downloaded ok! 02/06 16:13:33 Elapsed download time: 00:00:01 02/06 16:13:33 UpdateVideoname 02/06 16:13:33 Updating: idalarmcra = 384650 02/06 16:13:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384650 ORDER BY IDALARMCRA DESC 02/06 16:13:33 Just before Update() 02/06 16:13:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:13:43 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:13:43 Alarms with pending videos found! 02/06 16:13:43 Next idalarmcra = 384651 02/06 16:13:43 DownloadVideos::DownloadVideoOfAlarm 02/06 16:13:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:13:43 SAM|22992 02/06 16:13:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161353_86.mp4|112944| 02/06 16:13:43 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161353_86.mp4 02/06 16:13:43 Date = 20190602 02/06 16:13:43 Construct from filename date 02/06 16:13:43 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161353_86.mp4 02/06 16:13:43 Destination file not found 02/06 16:13:43 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161353_86.mp4 02/06 16:13:43 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161353_86.mp4 02/06 16:13:45 DownloadFile ok... checking file destination 02/06 16:13:45 URLDownloadToFile ok 02/06 16:13:45 Video .sig downloaded ok! 02/06 16:13:45 Snapshot .sig downloaded ok! 02/06 16:13:45 Elapsed download time: 00:00:02 02/06 16:13:45 UpdateVideoname 02/06 16:13:45 Updating: idalarmcra = 384651 02/06 16:13:45 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384651 ORDER BY IDALARMCRA DESC 02/06 16:13:45 Just before Update() 02/06 16:13:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:13:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:13:56 Don't have work. 02/06 16:14:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:14:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:14:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:14:16 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:14:26 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:14:26 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:14:26 Alarms with pending videos found! 02/06 16:14:26 Next idalarmcra = 384655 02/06 16:14:26 DownloadVideos::DownloadVideoOfAlarm 02/06 16:14:26 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:14:26 SAM|10909 02/06 16:14:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:14:26 NOK answer received 02/06 16:14:26 UpdateVideoname 02/06 16:14:26 Updating: idalarmcra = 384655 02/06 16:14:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384655 ORDER BY IDALARMCRA DESC 02/06 16:14:26 Just before Update() 02/06 16:14:26 Next idalarmcra = 384654 02/06 16:14:26 DownloadVideos::DownloadVideoOfAlarm 02/06 16:14:26 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:14:26 SAM|1586 02/06 16:14:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_161420_236.mp4|97378| 02/06 16:14:27 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_161420_236.mp4 02/06 16:14:27 Date = 20190602 02/06 16:14:27 Construct from filename date 02/06 16:14:27 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_161420_236.mp4 02/06 16:14:27 Destination file not found 02/06 16:14:27 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_161420_236.mp4 02/06 16:14:27 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_161420_236.mp4 02/06 16:14:27 DownloadFile ok... checking file destination 02/06 16:14:27 URLDownloadToFile ok 02/06 16:14:28 Video .sig downloaded ok! 02/06 16:14:28 Snapshot .sig downloaded ok! 02/06 16:14:28 Elapsed download time: 00:00:02 02/06 16:14:28 UpdateVideoname 02/06 16:14:28 Updating: idalarmcra = 384654 02/06 16:14:28 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384654 ORDER BY IDALARMCRA DESC 02/06 16:14:28 Just before Update() 02/06 16:14:28 Next idalarmcra = 384653 02/06 16:14:28 DownloadVideos::DownloadVideoOfAlarm 02/06 16:14:28 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:14:28 SAM|1585 02/06 16:14:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_161419_179.mp4|102061| 02/06 16:14:28 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_161419_179.mp4 02/06 16:14:28 Date = 20190602 02/06 16:14:28 Construct from filename date 02/06 16:14:28 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_161419_179.mp4 02/06 16:14:28 Destination file not found 02/06 16:14:28 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_161419_179.mp4 02/06 16:14:28 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_161419_179.mp4 02/06 16:14:29 DownloadFile ok... checking file destination 02/06 16:14:29 URLDownloadToFile ok 02/06 16:14:29 Video .sig downloaded ok! 02/06 16:14:29 Snapshot .sig downloaded ok! 02/06 16:14:29 Elapsed download time: 00:00:01 02/06 16:14:29 UpdateVideoname 02/06 16:14:29 Updating: idalarmcra = 384653 02/06 16:14:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384653 ORDER BY IDALARMCRA DESC 02/06 16:14:29 Just before Update() 02/06 16:14:29 Next idalarmcra = 384652 02/06 16:14:29 DownloadVideos::DownloadVideoOfAlarm 02/06 16:14:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 16:14:29 SAM|6112 02/06 16:14:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_161418_3.mp4|89800| 02/06 16:14:29 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_161418_3.mp4 02/06 16:14:29 Date = 20190602 02/06 16:14:29 Construct from filename date 02/06 16:14:29 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_161418_3.mp4 02/06 16:14:29 Destination file not found 02/06 16:14:29 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_161418_3.mp4 02/06 16:14:29 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam3_Event2_20190602_161418_3.mp4 02/06 16:14:31 DownloadFile ok... checking file destination 02/06 16:14:31 URLDownloadToFile ok 02/06 16:14:32 Video .sig downloaded ok! 02/06 16:14:32 Snapshot .sig downloaded ok! 02/06 16:14:32 Elapsed download time: 00:00:03 02/06 16:14:32 UpdateVideoname 02/06 16:14:32 Updating: idalarmcra = 384652 02/06 16:14:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384652 ORDER BY IDALARMCRA DESC 02/06 16:14:32 Just before Update() 02/06 16:14:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:14:43 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:14:43 Alarms with pending videos found! 02/06 16:14:43 Next idalarmcra = 384655 02/06 16:14:43 DownloadVideos::DownloadVideoOfAlarm 02/06 16:14:43 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:14:43 SAM|10909 02/06 16:14:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151422_139.mp4|90778| 02/06 16:14:43 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151422_139.mp4 02/06 16:14:43 Date = 20190602 02/06 16:14:43 Construct from filename date 02/06 16:14:43 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151422_139.mp4 02/06 16:14:43 Destination file not found 02/06 16:14:43 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151422_139.mp4 02/06 16:14:43 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151422_139.mp4 02/06 16:14:44 DownloadFile ok... checking file destination 02/06 16:14:44 URLDownloadToFile ok 02/06 16:14:45 Video .sig downloaded ok! 02/06 16:14:45 Snapshot .sig downloaded ok! 02/06 16:14:45 Elapsed download time: 00:00:02 02/06 16:14:45 UpdateVideoname 02/06 16:14:45 Updating: idalarmcra = 384655 02/06 16:14:45 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384655 ORDER BY IDALARMCRA DESC 02/06 16:14:45 Rollback executed. 02/06 16:14:45 RecordSet closed. 02/06 16:14:45 CheckDDBB 02/06 16:14:45 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:14:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:14:55 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:14:55 Don't have work. 02/06 16:15:05 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:15:05 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:15:05 Alarms with pending videos found! 02/06 16:15:05 Next idalarmcra = 384656 02/06 16:15:05 DownloadVideos::DownloadVideoOfAlarm 02/06 16:15:05 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:15:05 SAM|1187 02/06 16:15:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161407_74.mp4|110906| 02/06 16:15:06 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161407_74.mp4 02/06 16:15:06 Date = 20190602 02/06 16:15:06 Construct from filename date 02/06 16:15:06 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161407_74.mp4 02/06 16:15:06 Destination file not found 02/06 16:15:06 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161407_74.mp4 02/06 16:15:06 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161407_74.mp4 02/06 16:15:06 DownloadFile ok... checking file destination 02/06 16:15:06 URLDownloadToFile ok 02/06 16:15:06 Video .sig downloaded ok! 02/06 16:15:07 Snapshot .sig downloaded ok! 02/06 16:15:07 Elapsed download time: 00:00:02 02/06 16:15:07 UpdateVideoname 02/06 16:15:07 Updating: idalarmcra = 384656 02/06 16:15:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384656 ORDER BY IDALARMCRA DESC 02/06 16:15:07 Just before Update() 02/06 16:15:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:15:17 [D] Query(33ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:15:17 Don't have work. 02/06 16:15:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:15:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:15:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:15:37 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:15:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:15:47 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:15:47 Alarms with pending videos found! 02/06 16:15:47 Next idalarmcra = 384657 02/06 16:15:47 DownloadVideos::DownloadVideoOfAlarm 02/06 16:15:47 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 18 02/06 16:15:47 SAM|11585 02/06 16:15:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\Cam4_Event2_20190602_161537_88.mp4|100998| 02/06 16:15:48 FilenameSrc = 20190602\\Cam4_Event2_20190602_161537_88.mp4 02/06 16:15:48 Date = 20190602 02/06 16:15:48 Construct from filename date 02/06 16:15:48 Destination: c:\Davantis\CRAServer\\SITE_18\\20190602\\Cam4_Event2_20190602_161537_88.mp4 02/06 16:15:48 Destination file not found 02/06 16:15:48 http://192.168.21.101:21001/20190602\\Cam4_Event2_20190602_161537_88.mp4 02/06 16:15:48 c:\Davantis\CRAServer\\SITE_18\\20190602\\Cam4_Event2_20190602_161537_88.mp4 02/06 16:15:49 DownloadFile ok... checking file destination 02/06 16:15:49 URLDownloadToFile ok 02/06 16:15:49 Video .sig downloaded ok! 02/06 16:15:49 Snapshot .sig downloaded ok! 02/06 16:15:49 Elapsed download time: 00:00:02 02/06 16:15:49 UpdateVideoname 02/06 16:15:49 Updating: idalarmcra = 384657 02/06 16:15:49 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384657 ORDER BY IDALARMCRA DESC 02/06 16:15:49 Just before Update() 02/06 16:15:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:15:59 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:15:59 Alarms with pending videos found! 02/06 16:15:59 Next idalarmcra = 384658 02/06 16:15:59 DownloadVideos::DownloadVideoOfAlarm 02/06 16:15:59 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 18 02/06 16:15:59 SAM|11586 02/06 16:16:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\Cam4_Event2_20190602_161552_89.mp4|104183| 02/06 16:16:00 FilenameSrc = 20190602\\Cam4_Event2_20190602_161552_89.mp4 02/06 16:16:00 Date = 20190602 02/06 16:16:00 Construct from filename date 02/06 16:16:00 Destination: c:\Davantis\CRAServer\\SITE_18\\20190602\\Cam4_Event2_20190602_161552_89.mp4 02/06 16:16:00 Destination file not found 02/06 16:16:00 http://192.168.21.101:21001/20190602\\Cam4_Event2_20190602_161552_89.mp4 02/06 16:16:00 c:\Davantis\CRAServer\\SITE_18\\20190602\\Cam4_Event2_20190602_161552_89.mp4 02/06 16:16:01 DownloadFile ok... checking file destination 02/06 16:16:01 URLDownloadToFile ok 02/06 16:16:01 Video .sig downloaded ok! 02/06 16:16:01 Snapshot .sig downloaded ok! 02/06 16:16:01 Elapsed download time: 00:00:02 02/06 16:16:01 UpdateVideoname 02/06 16:16:01 Updating: idalarmcra = 384658 02/06 16:16:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384658 ORDER BY IDALARMCRA DESC 02/06 16:16:01 Just before Update() 02/06 16:16:11 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:16:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:16:11 Don't have work. 02/06 16:16:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:16:22 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:16:22 Alarms with pending videos found! 02/06 16:16:22 Next idalarmcra = 384660 02/06 16:16:22 DownloadVideos::DownloadVideoOfAlarm 02/06 16:16:22 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:16:22 SAM|1188 02/06 16:16:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161529_444.mp4|110691| 02/06 16:16:22 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161529_444.mp4 02/06 16:16:22 Date = 20190602 02/06 16:16:22 Construct from filename date 02/06 16:16:22 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161529_444.mp4 02/06 16:16:22 Destination file not found 02/06 16:16:22 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161529_444.mp4 02/06 16:16:22 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161529_444.mp4 02/06 16:16:25 DownloadFile ok... checking file destination 02/06 16:16:25 URLDownloadToFile ok 02/06 16:16:25 Video .sig downloaded ok! 02/06 16:16:26 Snapshot .sig downloaded ok! 02/06 16:16:26 Elapsed download time: 00:00:04 02/06 16:16:26 UpdateVideoname 02/06 16:16:26 Updating: idalarmcra = 384660 02/06 16:16:26 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384660 ORDER BY IDALARMCRA DESC 02/06 16:16:26 Just before Update() 02/06 16:16:26 Next idalarmcra = 384659 02/06 16:16:26 DownloadVideos::DownloadVideoOfAlarm 02/06 16:16:26 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:16:26 SAM|1587 02/06 16:16:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161611_231.mp4|104786| 02/06 16:16:26 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161611_231.mp4 02/06 16:16:26 Date = 20190602 02/06 16:16:26 Construct from filename date 02/06 16:16:26 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161611_231.mp4 02/06 16:16:26 Destination file not found 02/06 16:16:26 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161611_231.mp4 02/06 16:16:26 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161611_231.mp4 02/06 16:16:26 DownloadFile ok... checking file destination 02/06 16:16:26 URLDownloadToFile ok 02/06 16:16:27 Video .sig downloaded ok! 02/06 16:16:27 Snapshot .sig downloaded ok! 02/06 16:16:27 Elapsed download time: 00:00:01 02/06 16:16:27 UpdateVideoname 02/06 16:16:27 Updating: idalarmcra = 384659 02/06 16:16:27 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384659 ORDER BY IDALARMCRA DESC 02/06 16:16:27 Rollback executed. 02/06 16:16:27 RecordSet closed. 02/06 16:16:27 CheckDDBB 02/06 16:16:27 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:16:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:16:37 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:16:37 Alarms with pending videos found! 02/06 16:16:37 Next idalarmcra = 384663 02/06 16:16:37 DownloadVideos::DownloadVideoOfAlarm 02/06 16:16:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:16:37 SAM|10910 02/06 16:16:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151627_140.mp4|85106| 02/06 16:16:38 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151627_140.mp4 02/06 16:16:38 Date = 20190602 02/06 16:16:38 Construct from filename date 02/06 16:16:38 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151627_140.mp4 02/06 16:16:38 Destination file not found 02/06 16:16:38 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151627_140.mp4 02/06 16:16:38 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151627_140.mp4 02/06 16:16:39 DownloadFile ok... checking file destination 02/06 16:16:39 URLDownloadToFile ok 02/06 16:16:39 Video .sig downloaded ok! 02/06 16:16:39 Snapshot .sig downloaded ok! 02/06 16:16:39 Elapsed download time: 00:00:02 02/06 16:16:39 UpdateVideoname 02/06 16:16:39 Updating: idalarmcra = 384663 02/06 16:16:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384663 ORDER BY IDALARMCRA DESC 02/06 16:16:39 Just before Update() 02/06 16:16:39 Next idalarmcra = 384662 02/06 16:16:39 DownloadVideos::DownloadVideoOfAlarm 02/06 16:16:39 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:16:39 SAM|1189 02/06 16:16:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161540_75.mp4|110839| 02/06 16:16:39 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161540_75.mp4 02/06 16:16:39 Date = 20190602 02/06 16:16:39 Construct from filename date 02/06 16:16:39 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161540_75.mp4 02/06 16:16:39 Destination file not found 02/06 16:16:39 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161540_75.mp4 02/06 16:16:39 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_161540_75.mp4 02/06 16:16:43 DownloadFile ok... checking file destination 02/06 16:16:43 URLDownloadToFile ok 02/06 16:16:43 Video .sig downloaded ok! 02/06 16:16:43 Snapshot .sig downloaded ok! 02/06 16:16:43 Elapsed download time: 00:00:04 02/06 16:16:43 UpdateVideoname 02/06 16:16:43 Updating: idalarmcra = 384662 02/06 16:16:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384662 ORDER BY IDALARMCRA DESC 02/06 16:16:43 Just before Update() 02/06 16:16:53 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:16:53 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:16:53 Alarms with pending videos found! 02/06 16:16:53 Next idalarmcra = 384664 02/06 16:16:53 DownloadVideos::DownloadVideoOfAlarm 02/06 16:16:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:16:53 SAM|10911 02/06 16:16:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151640_141.mp4|93747| 02/06 16:16:54 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151640_141.mp4 02/06 16:16:54 Date = 20190602 02/06 16:16:54 Construct from filename date 02/06 16:16:54 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151640_141.mp4 02/06 16:16:54 Destination file not found 02/06 16:16:54 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151640_141.mp4 02/06 16:16:54 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_151640_141.mp4 02/06 16:16:55 DownloadFile ok... checking file destination 02/06 16:16:55 URLDownloadToFile ok 02/06 16:16:55 Video .sig downloaded ok! 02/06 16:16:55 Snapshot .sig downloaded ok! 02/06 16:16:55 Elapsed download time: 00:00:02 02/06 16:16:55 UpdateVideoname 02/06 16:16:55 Updating: idalarmcra = 384664 02/06 16:16:55 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384664 ORDER BY IDALARMCRA DESC 02/06 16:16:55 Rollback executed. 02/06 16:16:55 RecordSet closed. 02/06 16:16:55 CheckDDBB 02/06 16:16:55 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:17:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:17:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:17:05 Don't have work. 02/06 16:17:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:17:15 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:17:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:17:26 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:17:26 Alarms with pending videos found! 02/06 16:17:26 Next idalarmcra = 384666 02/06 16:17:26 DownloadVideos::DownloadVideoOfAlarm 02/06 16:17:26 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:17:26 SAM|1588 02/06 16:17:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161718_232.mp4|108858| 02/06 16:17:26 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161718_232.mp4 02/06 16:17:26 Date = 20190602 02/06 16:17:26 Construct from filename date 02/06 16:17:26 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161718_232.mp4 02/06 16:17:26 Destination file not found 02/06 16:17:26 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161718_232.mp4 02/06 16:17:26 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_161718_232.mp4 02/06 16:17:26 DownloadFile ok... checking file destination 02/06 16:17:26 URLDownloadToFile ok 02/06 16:17:26 Video .sig downloaded ok! 02/06 16:17:26 Snapshot .sig downloaded ok! 02/06 16:17:26 Elapsed download time: 00:00:00 02/06 16:17:26 UpdateVideoname 02/06 16:17:26 Updating: idalarmcra = 384666 02/06 16:17:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384666 ORDER BY IDALARMCRA DESC 02/06 16:17:26 Just before Update() 02/06 16:17:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:17:36 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:17:36 Don't have work. 02/06 16:17:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:17:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:17:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:17:57 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:17:57 Alarms with pending videos found! 02/06 16:17:57 Next idalarmcra = 384667 02/06 16:17:57 DownloadVideos::DownloadVideoOfAlarm 02/06 16:17:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:17:57 SAM|1190 02/06 16:17:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:17:57 NOK answer received 02/06 16:17:57 UpdateVideoname 02/06 16:17:57 Updating: idalarmcra = 384667 02/06 16:17:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384667 ORDER BY IDALARMCRA DESC 02/06 16:17:57 Just before Update() 02/06 16:18:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:18:07 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:18:07 Don't have work. 02/06 16:18:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:18:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:18:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:18:27 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:18:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:18:37 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:18:37 Alarms with pending videos found! 02/06 16:18:37 Next idalarmcra = 384672 02/06 16:18:37 DownloadVideos::DownloadVideoOfAlarm 02/06 16:18:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:18:37 SAM|773 02/06 16:18:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161826_130.mp4|102254| 02/06 16:18:38 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161826_130.mp4 02/06 16:18:38 Date = 20190602 02/06 16:18:38 Construct from filename date 02/06 16:18:38 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161826_130.mp4 02/06 16:18:38 Destination file not found 02/06 16:18:38 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161826_130.mp4 02/06 16:18:38 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161826_130.mp4 02/06 16:18:38 DownloadFile ok... checking file destination 02/06 16:18:38 URLDownloadToFile ok 02/06 16:18:38 Video .sig downloaded ok! 02/06 16:18:39 Snapshot .sig downloaded ok! 02/06 16:18:39 Elapsed download time: 00:00:02 02/06 16:18:39 UpdateVideoname 02/06 16:18:39 Updating: idalarmcra = 384672 02/06 16:18:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384672 ORDER BY IDALARMCRA DESC 02/06 16:18:39 Just before Update() 02/06 16:18:39 Next idalarmcra = 384671 02/06 16:18:39 DownloadVideos::DownloadVideoOfAlarm 02/06 16:18:39 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:18:39 SAM|1192 02/06 16:18:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_161739_194.mp4|110918| 02/06 16:18:39 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_161739_194.mp4 02/06 16:18:39 Date = 20190602 02/06 16:18:39 Construct from filename date 02/06 16:18:39 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_161739_194.mp4 02/06 16:18:39 Destination file not found 02/06 16:18:39 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_161739_194.mp4 02/06 16:18:39 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_161739_194.mp4 02/06 16:18:43 DownloadFile ok... checking file destination 02/06 16:18:43 URLDownloadToFile ok 02/06 16:18:43 Video .sig downloaded ok! 02/06 16:18:43 Snapshot .sig downloaded ok! 02/06 16:18:43 Elapsed download time: 00:00:04 02/06 16:18:43 UpdateVideoname 02/06 16:18:43 Updating: idalarmcra = 384671 02/06 16:18:43 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384671 ORDER BY IDALARMCRA DESC 02/06 16:18:43 Just before Update() 02/06 16:18:43 Next idalarmcra = 384670 02/06 16:18:43 DownloadVideos::DownloadVideoOfAlarm 02/06 16:18:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:18:43 SAM|1191 02/06 16:18:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161738_446.mp4|108468| 02/06 16:18:43 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161738_446.mp4 02/06 16:18:43 Date = 20190602 02/06 16:18:43 Construct from filename date 02/06 16:18:43 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161738_446.mp4 02/06 16:18:43 Destination file not found 02/06 16:18:43 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161738_446.mp4 02/06 16:18:43 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161738_446.mp4 02/06 16:18:47 DownloadFile ok... checking file destination 02/06 16:18:47 URLDownloadToFile ok 02/06 16:18:47 Video .sig downloaded ok! 02/06 16:18:47 Snapshot .sig downloaded ok! 02/06 16:18:47 Elapsed download time: 00:00:04 02/06 16:18:47 UpdateVideoname 02/06 16:18:47 Updating: idalarmcra = 384670 02/06 16:18:47 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384670 ORDER BY IDALARMCRA DESC 02/06 16:18:47 Rollback executed. 02/06 16:18:47 RecordSet closed. 02/06 16:18:47 CheckDDBB 02/06 16:18:47 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:18:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:18:57 [D] Query(33ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:18:57 Alarms with pending videos found! 02/06 16:18:57 Next idalarmcra = 384674 02/06 16:18:57 DownloadVideos::DownloadVideoOfAlarm 02/06 16:18:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 16:18:57 SAM|163145 02/06 16:18:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_163136_40.mp4|112392| 02/06 16:18:57 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_163136_40.mp4 02/06 16:18:57 Date = 20190602 02/06 16:18:57 Construct from filename date 02/06 16:18:57 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_163136_40.mp4 02/06 16:18:57 Destination file not found 02/06 16:18:57 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_163136_40.mp4 02/06 16:18:57 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_163136_40.mp4 02/06 16:18:59 DownloadFile ok... checking file destination 02/06 16:18:59 URLDownloadToFile ok 02/06 16:18:59 Video .sig downloaded ok! 02/06 16:18:59 Snapshot .sig downloaded ok! 02/06 16:18:59 Elapsed download time: 00:00:02 02/06 16:18:59 UpdateVideoname 02/06 16:18:59 Updating: idalarmcra = 384674 02/06 16:18:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384674 ORDER BY IDALARMCRA DESC 02/06 16:18:59 Just before Update() 02/06 16:19:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:19:09 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:19:09 Alarms with pending videos found! 02/06 16:19:09 Next idalarmcra = 384677 02/06 16:19:09 DownloadVideos::DownloadVideoOfAlarm 02/06 16:19:09 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:19:10 SAM|1194 02/06 16:19:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161817_447.mp4|105887| 02/06 16:19:10 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161817_447.mp4 02/06 16:19:10 Date = 20190602 02/06 16:19:10 Construct from filename date 02/06 16:19:10 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161817_447.mp4 02/06 16:19:10 Destination file not found 02/06 16:19:10 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161817_447.mp4 02/06 16:19:10 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_161817_447.mp4 02/06 16:19:13 DownloadFile ok... checking file destination 02/06 16:19:13 URLDownloadToFile ok 02/06 16:19:13 Video .sig downloaded ok! 02/06 16:19:13 Snapshot .sig downloaded ok! 02/06 16:19:13 Elapsed download time: 00:00:03 02/06 16:19:13 UpdateVideoname 02/06 16:19:13 Updating: idalarmcra = 384677 02/06 16:19:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384677 ORDER BY IDALARMCRA DESC 02/06 16:19:13 Just before Update() 02/06 16:19:13 Next idalarmcra = 384676 02/06 16:19:13 DownloadVideos::DownloadVideoOfAlarm 02/06 16:19:13 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:19:13 SAM|774 02/06 16:19:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161858_131.mp4|94228| 02/06 16:19:13 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161858_131.mp4 02/06 16:19:13 Date = 20190602 02/06 16:19:13 Construct from filename date 02/06 16:19:13 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161858_131.mp4 02/06 16:19:13 Destination file not found 02/06 16:19:13 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161858_131.mp4 02/06 16:19:13 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_161858_131.mp4 02/06 16:19:13 DownloadFile ok... checking file destination 02/06 16:19:13 URLDownloadToFile ok 02/06 16:19:14 Video .sig downloaded ok! 02/06 16:19:14 Snapshot .sig downloaded ok! 02/06 16:19:14 Elapsed download time: 00:00:01 02/06 16:19:14 UpdateVideoname 02/06 16:19:14 Updating: idalarmcra = 384676 02/06 16:19:14 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384676 ORDER BY IDALARMCRA DESC 02/06 16:19:14 Just before Update() 02/06 16:19:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:19:24 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:19:24 Alarms with pending videos found! 02/06 16:19:24 Next idalarmcra = 384681 02/06 16:19:24 DownloadVideos::DownloadVideoOfAlarm 02/06 16:19:24 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:19:24 SAM|22993 02/06 16:19:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161931_87.mp4|111029| 02/06 16:19:25 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161931_87.mp4 02/06 16:19:25 Date = 20190602 02/06 16:19:25 Construct from filename date 02/06 16:19:25 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161931_87.mp4 02/06 16:19:25 Destination file not found 02/06 16:19:25 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161931_87.mp4 02/06 16:19:25 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_161931_87.mp4 02/06 16:19:26 DownloadFile ok... checking file destination 02/06 16:19:26 URLDownloadToFile ok 02/06 16:19:26 Video .sig downloaded ok! 02/06 16:19:26 Snapshot .sig downloaded ok! 02/06 16:19:26 Elapsed download time: 00:00:02 02/06 16:19:27 UpdateVideoname 02/06 16:19:27 Updating: idalarmcra = 384681 02/06 16:19:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384681 ORDER BY IDALARMCRA DESC 02/06 16:19:27 Just before Update() 02/06 16:19:27 Next idalarmcra = 384680 02/06 16:19:27 DownloadVideos::DownloadVideoOfAlarm 02/06 16:19:27 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 35 02/06 16:19:27 SAM|5986 02/06 16:19:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_161909_2.mp4|109244| 02/06 16:19:27 FilenameSrc = 20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_161909_2.mp4 02/06 16:19:27 Date = 20190602 02/06 16:19:27 Construct from filename date 02/06 16:19:27 Destination: c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_161909_2.mp4 02/06 16:19:27 Destination file not found 02/06 16:19:27 http://192.168.30.100:21000/20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_161909_2.mp4 02/06 16:19:27 c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_161909_2.mp4 02/06 16:19:28 DownloadFile ok... checking file destination 02/06 16:19:28 URLDownloadToFile ok 02/06 16:19:29 Video .sig downloaded ok! 02/06 16:19:31 Snapshot .sig downloaded ok! 02/06 16:19:31 Elapsed download time: 00:00:04 02/06 16:19:31 UpdateVideoname 02/06 16:19:31 Updating: idalarmcra = 384680 02/06 16:19:31 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384680 ORDER BY IDALARMCRA DESC 02/06 16:19:31 Rollback executed. 02/06 16:19:31 RecordSet closed. 02/06 16:19:31 CheckDDBB 02/06 16:19:31 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:19:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:19:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:19:41 Don't have work. 02/06 16:19:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:19:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:20:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:20:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:20:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:20:12 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:20:12 Alarms with pending videos found! 02/06 16:20:12 Next idalarmcra = 384685 02/06 16:20:12 DownloadVideos::DownloadVideoOfAlarm 02/06 16:20:12 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:20:12 SAM|1589 02/06 16:20:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162006_233.mp4|114940| 02/06 16:20:12 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162006_233.mp4 02/06 16:20:12 Date = 20190602 02/06 16:20:12 Construct from filename date 02/06 16:20:12 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162006_233.mp4 02/06 16:20:12 Destination file not found 02/06 16:20:12 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162006_233.mp4 02/06 16:20:12 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162006_233.mp4 02/06 16:20:12 DownloadFile ok... checking file destination 02/06 16:20:12 URLDownloadToFile ok 02/06 16:20:13 Video .sig downloaded ok! 02/06 16:20:13 Snapshot .sig downloaded ok! 02/06 16:20:13 Elapsed download time: 00:00:01 02/06 16:20:13 UpdateVideoname 02/06 16:20:13 Updating: idalarmcra = 384685 02/06 16:20:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384685 ORDER BY IDALARMCRA DESC 02/06 16:20:13 Just before Update() 02/06 16:20:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:20:23 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:20:23 Don't have work. 02/06 16:20:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:20:33 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:20:33 Alarms with pending videos found! 02/06 16:20:33 Next idalarmcra = 384686 02/06 16:20:33 DownloadVideos::DownloadVideoOfAlarm 02/06 16:20:33 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:20:33 SAM|1590 02/06 16:20:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162017_234.mp4|113832| 02/06 16:20:33 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162017_234.mp4 02/06 16:20:33 Date = 20190602 02/06 16:20:33 Construct from filename date 02/06 16:20:33 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162017_234.mp4 02/06 16:20:33 Destination file not found 02/06 16:20:33 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162017_234.mp4 02/06 16:20:33 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162017_234.mp4 02/06 16:20:33 DownloadFile ok... checking file destination 02/06 16:20:33 URLDownloadToFile ok 02/06 16:20:34 Video .sig downloaded ok! 02/06 16:20:34 Snapshot .sig downloaded ok! 02/06 16:20:34 Elapsed download time: 00:00:01 02/06 16:20:34 UpdateVideoname 02/06 16:20:34 Updating: idalarmcra = 384686 02/06 16:20:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384686 ORDER BY IDALARMCRA DESC 02/06 16:20:34 Just before Update() 02/06 16:20:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:20:44 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:20:44 Don't have work. 02/06 16:20:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:20:54 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:21:04 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:21:04 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:21:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:21:14 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:21:24 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:21:24 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:21:34 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:21:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:21:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:21:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:21:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:21:55 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:21:55 Alarms with pending videos found! 02/06 16:21:55 Next idalarmcra = 384688 02/06 16:21:55 DownloadVideos::DownloadVideoOfAlarm 02/06 16:21:55 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 16:21:55 SAM|163146 02/06 16:21:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_163425_105.mp4|113068| 02/06 16:21:55 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_163425_105.mp4 02/06 16:21:55 Date = 20190602 02/06 16:21:55 Construct from filename date 02/06 16:21:55 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_163425_105.mp4 02/06 16:21:55 Destination file not found 02/06 16:21:55 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_163425_105.mp4 02/06 16:21:55 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_163425_105.mp4 02/06 16:22:00 DownloadFile ok... checking file destination 02/06 16:22:00 URLDownloadToFile ok 02/06 16:22:00 Video .sig downloaded ok! 02/06 16:22:00 Snapshot .sig downloaded ok! 02/06 16:22:00 Elapsed download time: 00:00:05 02/06 16:22:00 UpdateVideoname 02/06 16:22:00 Updating: idalarmcra = 384688 02/06 16:22:00 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384688 ORDER BY IDALARMCRA DESC 02/06 16:22:00 Just before Update() 02/06 16:22:00 Next idalarmcra = 384687 02/06 16:22:00 DownloadVideos::DownloadVideoOfAlarm 02/06 16:22:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:22:00 SAM|1591 02/06 16:22:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_162145_74.mp4|110919| 02/06 16:22:00 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_162145_74.mp4 02/06 16:22:00 Date = 20190602 02/06 16:22:00 Construct from filename date 02/06 16:22:00 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_162145_74.mp4 02/06 16:22:00 Destination file not found 02/06 16:22:00 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_162145_74.mp4 02/06 16:22:00 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_162145_74.mp4 02/06 16:22:01 DownloadFile ok... checking file destination 02/06 16:22:01 URLDownloadToFile ok 02/06 16:22:01 Video .sig downloaded ok! 02/06 16:22:02 Snapshot .sig downloaded ok! 02/06 16:22:02 Elapsed download time: 00:00:02 02/06 16:22:02 UpdateVideoname 02/06 16:22:02 Updating: idalarmcra = 384687 02/06 16:22:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384687 ORDER BY IDALARMCRA DESC 02/06 16:22:02 Just before Update() 02/06 16:22:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:22:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:22:12 Don't have work. 02/06 16:22:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:22:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:22:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:22:32 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:22:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:22:42 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:22:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:22:52 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:23:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:23:02 [D] Query(33ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:23:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:23:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:23:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:23:22 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:23:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:23:33 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:23:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:23:43 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:23:43 Alarms with pending videos found! 02/06 16:23:43 Next idalarmcra = 384689 02/06 16:23:43 DownloadVideos::DownloadVideoOfAlarm 02/06 16:23:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 31 02/06 16:23:43 SAM|13172 02/06 16:23:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_162334_13.mp4|109919| 02/06 16:23:43 FilenameSrc = 20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_162334_13.mp4 02/06 16:23:43 Date = 20190602 02/06 16:23:43 Construct from filename date 02/06 16:23:43 Destination: c:\Davantis\CRAServer\\SITE_31\\20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_162334_13.mp4 02/06 16:23:43 Destination file not found 02/06 16:23:43 http://192.168.26.100:21000/20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_162334_13.mp4 02/06 16:23:43 c:\Davantis\CRAServer\\SITE_31\\20190602\\SiteDGS_VA_ODEMIS_A_Cam2_Event2_20190602_162334_13.mp4 02/06 16:23:45 DownloadFile ok... checking file destination 02/06 16:23:45 URLDownloadToFile ok 02/06 16:23:46 Video .sig downloaded ok! 02/06 16:23:46 Snapshot .sig downloaded ok! 02/06 16:23:46 Elapsed download time: 00:00:03 02/06 16:23:46 UpdateVideoname 02/06 16:23:46 Updating: idalarmcra = 384689 02/06 16:23:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384689 ORDER BY IDALARMCRA DESC 02/06 16:23:46 Just before Update() 02/06 16:23:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:23:56 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:23:56 Alarms with pending videos found! 02/06 16:23:56 Next idalarmcra = 384690 02/06 16:23:56 DownloadVideos::DownloadVideoOfAlarm 02/06 16:23:56 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:23:56 SAM|1592 02/06 16:23:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162349_235.mp4|113671| 02/06 16:23:56 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162349_235.mp4 02/06 16:23:56 Date = 20190602 02/06 16:23:56 Construct from filename date 02/06 16:23:56 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162349_235.mp4 02/06 16:23:56 Destination file not found 02/06 16:23:56 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162349_235.mp4 02/06 16:23:56 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162349_235.mp4 02/06 16:23:57 DownloadFile ok... checking file destination 02/06 16:23:57 URLDownloadToFile ok 02/06 16:23:57 Video .sig downloaded ok! 02/06 16:23:57 Snapshot .sig downloaded ok! 02/06 16:23:57 Elapsed download time: 00:00:01 02/06 16:23:57 UpdateVideoname 02/06 16:23:57 Updating: idalarmcra = 384690 02/06 16:23:57 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384690 ORDER BY IDALARMCRA DESC 02/06 16:23:57 Just before Update() 02/06 16:24:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:24:07 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:24:07 Don't have work. 02/06 16:24:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:24:17 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:24:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:24:27 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:24:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:24:37 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:24:37 Alarms with pending videos found! 02/06 16:24:37 Next idalarmcra = 384693 02/06 16:24:37 DownloadVideos::DownloadVideoOfAlarm 02/06 16:24:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:24:37 SAM|1593 02/06 16:24:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162432_236.mp4|107199| 02/06 16:24:38 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162432_236.mp4 02/06 16:24:38 Date = 20190602 02/06 16:24:38 Construct from filename date 02/06 16:24:38 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162432_236.mp4 02/06 16:24:38 Destination file not found 02/06 16:24:38 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162432_236.mp4 02/06 16:24:38 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162432_236.mp4 02/06 16:24:38 DownloadFile ok... checking file destination 02/06 16:24:38 URLDownloadToFile ok 02/06 16:24:38 Video .sig downloaded ok! 02/06 16:24:38 Snapshot .sig downloaded ok! 02/06 16:24:38 Elapsed download time: 00:00:01 02/06 16:24:38 UpdateVideoname 02/06 16:24:38 Updating: idalarmcra = 384693 02/06 16:24:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384693 ORDER BY IDALARMCRA DESC 02/06 16:24:38 Just before Update() 02/06 16:24:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:24:48 [D] Query(28ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:24:48 Don't have work. 02/06 16:24:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:24:58 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:25:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:25:08 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:25:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:25:19 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:25:29 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:25:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:25:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:25:39 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:25:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:25:49 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:25:49 Alarms with pending videos found! 02/06 16:25:49 Next idalarmcra = 384697 02/06 16:25:49 DownloadVideos::DownloadVideoOfAlarm 02/06 16:25:49 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:25:49 SAM|1196 02/06 16:25:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_162457_77.mp4|108516| 02/06 16:25:49 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_162457_77.mp4 02/06 16:25:49 Date = 20190602 02/06 16:25:49 Construct from filename date 02/06 16:25:49 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_162457_77.mp4 02/06 16:25:49 Destination file not found 02/06 16:25:49 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_162457_77.mp4 02/06 16:25:49 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_162457_77.mp4 02/06 16:25:50 DownloadFile ok... checking file destination 02/06 16:25:50 URLDownloadToFile ok 02/06 16:25:50 Video .sig downloaded ok! 02/06 16:25:50 Snapshot .sig downloaded ok! 02/06 16:25:50 Elapsed download time: 00:00:01 02/06 16:25:50 UpdateVideoname 02/06 16:25:50 Updating: idalarmcra = 384697 02/06 16:25:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384697 ORDER BY IDALARMCRA DESC 02/06 16:25:50 Just before Update() 02/06 16:25:50 Next idalarmcra = 384696 02/06 16:25:50 DownloadVideos::DownloadVideoOfAlarm 02/06 16:25:50 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:25:50 SAM|1197 02/06 16:25:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_162457_195.mp4|106921| 02/06 16:25:50 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_162457_195.mp4 02/06 16:25:50 Date = 20190602 02/06 16:25:50 Construct from filename date 02/06 16:25:50 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_162457_195.mp4 02/06 16:25:50 Destination file not found 02/06 16:25:50 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_162457_195.mp4 02/06 16:25:50 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_162457_195.mp4 02/06 16:25:51 DownloadFile ok... checking file destination 02/06 16:25:51 URLDownloadToFile ok 02/06 16:25:51 Video .sig downloaded ok! 02/06 16:25:51 Snapshot .sig downloaded ok! 02/06 16:25:51 Elapsed download time: 00:00:01 02/06 16:25:51 UpdateVideoname 02/06 16:25:51 Updating: idalarmcra = 384696 02/06 16:25:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384696 ORDER BY IDALARMCRA DESC 02/06 16:25:51 Just before Update() 02/06 16:25:51 Next idalarmcra = 384695 02/06 16:25:51 DownloadVideos::DownloadVideoOfAlarm 02/06 16:25:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:25:51 SAM|1594 02/06 16:25:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162540_237.mp4|108426| 02/06 16:25:51 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162540_237.mp4 02/06 16:25:51 Date = 20190602 02/06 16:25:51 Construct from filename date 02/06 16:25:51 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162540_237.mp4 02/06 16:25:51 Destination file not found 02/06 16:25:51 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162540_237.mp4 02/06 16:25:51 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162540_237.mp4 02/06 16:25:54 DownloadFile ok... checking file destination 02/06 16:25:54 URLDownloadToFile ok 02/06 16:25:54 Video .sig downloaded ok! 02/06 16:25:54 Snapshot .sig downloaded ok! 02/06 16:25:54 Elapsed download time: 00:00:03 02/06 16:25:54 UpdateVideoname 02/06 16:25:54 Updating: idalarmcra = 384695 02/06 16:25:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384695 ORDER BY IDALARMCRA DESC 02/06 16:25:54 Just before Update() 02/06 16:25:54 Next idalarmcra = 384694 02/06 16:25:54 DownloadVideos::DownloadVideoOfAlarm 02/06 16:25:54 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:25:54 SAM|1195 02/06 16:25:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_162454_448.mp4|106118| 02/06 16:25:55 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_162454_448.mp4 02/06 16:25:55 Date = 20190602 02/06 16:25:55 Construct from filename date 02/06 16:25:55 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_162454_448.mp4 02/06 16:25:55 Destination file not found 02/06 16:25:55 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_162454_448.mp4 02/06 16:25:55 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_162454_448.mp4 02/06 16:25:55 DownloadFile ok... checking file destination 02/06 16:25:55 URLDownloadToFile ok 02/06 16:25:55 Video .sig downloaded ok! 02/06 16:25:55 Snapshot .sig downloaded ok! 02/06 16:25:55 Elapsed download time: 00:00:01 02/06 16:25:56 UpdateVideoname 02/06 16:25:56 Updating: idalarmcra = 384694 02/06 16:25:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384694 ORDER BY IDALARMCRA DESC 02/06 16:25:56 Just before Update() 02/06 16:26:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:26:06 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:26:06 Alarms with pending videos found! 02/06 16:26:06 Next idalarmcra = 384698 02/06 16:26:06 DownloadVideos::DownloadVideoOfAlarm 02/06 16:26:06 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:26:06 SAM|775 02/06 16:26:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162544_132.mp4|107652| 02/06 16:26:06 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162544_132.mp4 02/06 16:26:06 Date = 20190602 02/06 16:26:06 Construct from filename date 02/06 16:26:06 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162544_132.mp4 02/06 16:26:06 Destination file not found 02/06 16:26:06 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162544_132.mp4 02/06 16:26:06 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162544_132.mp4 02/06 16:26:07 DownloadFile ok... checking file destination 02/06 16:26:07 URLDownloadToFile ok 02/06 16:26:07 Video .sig downloaded ok! 02/06 16:26:07 Snapshot .sig downloaded ok! 02/06 16:26:07 Elapsed download time: 00:00:01 02/06 16:26:07 UpdateVideoname 02/06 16:26:07 Updating: idalarmcra = 384698 02/06 16:26:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384698 ORDER BY IDALARMCRA DESC 02/06 16:26:07 Just before Update() 02/06 16:26:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:26:17 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:26:17 Alarms with pending videos found! 02/06 16:26:17 Next idalarmcra = 384699 02/06 16:26:17 DownloadVideos::DownloadVideoOfAlarm 02/06 16:26:17 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:26:17 SAM|1595 02/06 16:26:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162606_238.mp4|112879| 02/06 16:26:17 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162606_238.mp4 02/06 16:26:17 Date = 20190602 02/06 16:26:17 Construct from filename date 02/06 16:26:17 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162606_238.mp4 02/06 16:26:17 Destination file not found 02/06 16:26:17 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162606_238.mp4 02/06 16:26:17 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162606_238.mp4 02/06 16:26:20 DownloadFile ok... checking file destination 02/06 16:26:20 URLDownloadToFile ok 02/06 16:26:20 Video .sig downloaded ok! 02/06 16:26:20 Snapshot .sig downloaded ok! 02/06 16:26:20 Elapsed download time: 00:00:03 02/06 16:26:20 UpdateVideoname 02/06 16:26:20 Updating: idalarmcra = 384699 02/06 16:26:20 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384699 ORDER BY IDALARMCRA DESC 02/06 16:26:20 Just before Update() 02/06 16:26:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:26:30 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:26:30 Don't have work. 02/06 16:26:40 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:26:40 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:26:40 Alarms with pending videos found! 02/06 16:26:40 Next idalarmcra = 384700 02/06 16:26:40 DownloadVideos::DownloadVideoOfAlarm 02/06 16:26:40 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:26:40 SAM|1596 02/06 16:26:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162632_239.mp4|104722| 02/06 16:26:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162632_239.mp4 02/06 16:26:40 Date = 20190602 02/06 16:26:40 Construct from filename date 02/06 16:26:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162632_239.mp4 02/06 16:26:40 Destination file not found 02/06 16:26:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162632_239.mp4 02/06 16:26:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162632_239.mp4 02/06 16:26:43 DownloadFile ok... checking file destination 02/06 16:26:43 URLDownloadToFile ok 02/06 16:26:43 Video .sig downloaded ok! 02/06 16:26:44 Snapshot .sig downloaded ok! 02/06 16:26:44 Elapsed download time: 00:00:04 02/06 16:26:44 UpdateVideoname 02/06 16:26:44 Updating: idalarmcra = 384700 02/06 16:26:44 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384700 ORDER BY IDALARMCRA DESC 02/06 16:26:44 Just before Update() 02/06 16:26:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:26:54 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:26:54 Alarms with pending videos found! 02/06 16:26:54 Next idalarmcra = 384701 02/06 16:26:54 DownloadVideos::DownloadVideoOfAlarm 02/06 16:26:54 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:26:54 SAM|1597 02/06 16:26:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_162642_75.mp4|111985| 02/06 16:26:54 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_162642_75.mp4 02/06 16:26:54 Date = 20190602 02/06 16:26:54 Construct from filename date 02/06 16:26:54 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_162642_75.mp4 02/06 16:26:54 Destination file not found 02/06 16:26:54 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_162642_75.mp4 02/06 16:26:54 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_162642_75.mp4 02/06 16:26:58 DownloadFile ok... checking file destination 02/06 16:26:58 URLDownloadToFile ok 02/06 16:26:58 Video .sig downloaded ok! 02/06 16:26:58 Snapshot .sig downloaded ok! 02/06 16:26:58 Elapsed download time: 00:00:04 02/06 16:26:58 UpdateVideoname 02/06 16:26:58 Updating: idalarmcra = 384701 02/06 16:26:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384701 ORDER BY IDALARMCRA DESC 02/06 16:26:58 Just before Update() 02/06 16:27:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:27:08 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:27:08 Don't have work. 02/06 16:27:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:27:18 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:27:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:27:28 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:27:28 Alarms with pending videos found! 02/06 16:27:28 Next idalarmcra = 384703 02/06 16:27:28 DownloadVideos::DownloadVideoOfAlarm 02/06 16:27:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:27:28 SAM|22994 02/06 16:27:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_162733_88.mp4|114116| 02/06 16:27:28 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_162733_88.mp4 02/06 16:27:28 Date = 20190602 02/06 16:27:28 Construct from filename date 02/06 16:27:28 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_162733_88.mp4 02/06 16:27:28 Destination file not found 02/06 16:27:28 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_162733_88.mp4 02/06 16:27:28 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_162733_88.mp4 02/06 16:27:30 DownloadFile ok... checking file destination 02/06 16:27:30 URLDownloadToFile ok 02/06 16:27:30 Video .sig downloaded ok! 02/06 16:27:30 Snapshot .sig downloaded ok! 02/06 16:27:30 Elapsed download time: 00:00:02 02/06 16:27:30 UpdateVideoname 02/06 16:27:30 Updating: idalarmcra = 384703 02/06 16:27:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384703 ORDER BY IDALARMCRA DESC 02/06 16:27:30 Just before Update() 02/06 16:27:30 Next idalarmcra = 384702 02/06 16:27:30 DownloadVideos::DownloadVideoOfAlarm 02/06 16:27:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:27:30 SAM|1598 02/06 16:27:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162717_240.mp4|113981| 02/06 16:27:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162717_240.mp4 02/06 16:27:31 Date = 20190602 02/06 16:27:31 Construct from filename date 02/06 16:27:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162717_240.mp4 02/06 16:27:31 Destination file not found 02/06 16:27:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162717_240.mp4 02/06 16:27:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_162717_240.mp4 02/06 16:27:35 DownloadFile ok... checking file destination 02/06 16:27:35 URLDownloadToFile ok 02/06 16:27:35 Video .sig downloaded ok! 02/06 16:27:35 Snapshot .sig downloaded ok! 02/06 16:27:35 Elapsed download time: 00:00:05 02/06 16:27:35 UpdateVideoname 02/06 16:27:35 Updating: idalarmcra = 384702 02/06 16:27:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384702 ORDER BY IDALARMCRA DESC 02/06 16:27:35 Just before Update() 02/06 16:27:45 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:27:45 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:27:45 Alarms with pending videos found! 02/06 16:27:45 Next idalarmcra = 384707 02/06 16:27:45 DownloadVideos::DownloadVideoOfAlarm 02/06 16:27:45 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:27:45 SAM|1199 02/06 16:27:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:27:45 NOK answer received 02/06 16:27:45 UpdateVideoname 02/06 16:27:45 Updating: idalarmcra = 384707 02/06 16:27:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384707 ORDER BY IDALARMCRA DESC 02/06 16:27:45 Just before Update() 02/06 16:27:45 Next idalarmcra = 384706 02/06 16:27:45 DownloadVideos::DownloadVideoOfAlarm 02/06 16:27:45 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:27:45 SAM|776 02/06 16:27:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162740_133.mp4|108976| 02/06 16:27:46 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162740_133.mp4 02/06 16:27:46 Date = 20190602 02/06 16:27:46 Construct from filename date 02/06 16:27:46 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162740_133.mp4 02/06 16:27:46 Destination file not found 02/06 16:27:46 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162740_133.mp4 02/06 16:27:46 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162740_133.mp4 02/06 16:27:46 DownloadFile ok... checking file destination 02/06 16:27:46 URLDownloadToFile ok 02/06 16:27:47 Video .sig downloaded ok! 02/06 16:27:47 Snapshot .sig downloaded ok! 02/06 16:27:47 Elapsed download time: 00:00:02 02/06 16:27:47 UpdateVideoname 02/06 16:27:47 Updating: idalarmcra = 384706 02/06 16:27:47 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384706 ORDER BY IDALARMCRA DESC 02/06 16:27:47 Just before Update() 02/06 16:27:47 Next idalarmcra = 384705 02/06 16:27:47 DownloadVideos::DownloadVideoOfAlarm 02/06 16:27:47 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:27:47 SAM|1198 02/06 16:27:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_162652_449.mp4|104283| 02/06 16:27:47 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_162652_449.mp4 02/06 16:27:47 Date = 20190602 02/06 16:27:47 Construct from filename date 02/06 16:27:47 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_162652_449.mp4 02/06 16:27:47 Destination file not found 02/06 16:27:47 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_162652_449.mp4 02/06 16:27:47 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_162652_449.mp4 02/06 16:27:50 DownloadFile ok... checking file destination 02/06 16:27:50 URLDownloadToFile ok 02/06 16:27:51 Video .sig downloaded ok! 02/06 16:27:51 Snapshot .sig downloaded ok! 02/06 16:27:51 Elapsed download time: 00:00:04 02/06 16:27:51 UpdateVideoname 02/06 16:27:51 Updating: idalarmcra = 384705 02/06 16:27:51 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384705 ORDER BY IDALARMCRA DESC 02/06 16:27:51 Rollback executed. 02/06 16:27:51 RecordSet closed. 02/06 16:27:51 CheckDDBB 02/06 16:27:51 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:28:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:28:01 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:28:01 Don't have work. 02/06 16:28:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:28:11 [D] Query(20ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:28:11 Alarms with pending videos found! 02/06 16:28:11 Next idalarmcra = 384710 02/06 16:28:11 DownloadVideos::DownloadVideoOfAlarm 02/06 16:28:11 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 16:28:11 SAM|163147 02/06 16:28:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_164051_106.mp4|113963| 02/06 16:28:11 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_164051_106.mp4 02/06 16:28:11 Date = 20190602 02/06 16:28:11 Construct from filename date 02/06 16:28:11 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_164051_106.mp4 02/06 16:28:11 Destination file not found 02/06 16:28:11 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_164051_106.mp4 02/06 16:28:11 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_164051_106.mp4 02/06 16:28:13 DownloadFile ok... checking file destination 02/06 16:28:13 URLDownloadToFile ok 02/06 16:28:13 Video .sig downloaded ok! 02/06 16:28:14 Snapshot .sig downloaded ok! 02/06 16:28:14 Elapsed download time: 00:00:03 02/06 16:28:14 UpdateVideoname 02/06 16:28:14 Updating: idalarmcra = 384710 02/06 16:28:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384710 ORDER BY IDALARMCRA DESC 02/06 16:28:14 Just before Update() 02/06 16:28:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:28:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:28:24 Don't have work. 02/06 16:28:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:28:34 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:28:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:28:44 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:28:54 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:28:54 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:28:54 Alarms with pending videos found! 02/06 16:28:54 Next idalarmcra = 384711 02/06 16:28:54 DownloadVideos::DownloadVideoOfAlarm 02/06 16:28:54 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:28:54 SAM|22995 02/06 16:28:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_162859_89.mp4|113411| 02/06 16:28:54 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_162859_89.mp4 02/06 16:28:54 Date = 20190602 02/06 16:28:54 Construct from filename date 02/06 16:28:54 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_162859_89.mp4 02/06 16:28:54 Destination file not found 02/06 16:28:54 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_162859_89.mp4 02/06 16:28:54 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_162859_89.mp4 02/06 16:28:56 DownloadFile ok... checking file destination 02/06 16:28:56 URLDownloadToFile ok 02/06 16:28:56 Video .sig downloaded ok! 02/06 16:28:57 Snapshot .sig downloaded ok! 02/06 16:28:57 Elapsed download time: 00:00:03 02/06 16:28:57 UpdateVideoname 02/06 16:28:57 Updating: idalarmcra = 384711 02/06 16:28:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384711 ORDER BY IDALARMCRA DESC 02/06 16:28:57 Just before Update() 02/06 16:29:07 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:29:07 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:29:07 Alarms with pending videos found! 02/06 16:29:07 Next idalarmcra = 384713 02/06 16:29:07 DownloadVideos::DownloadVideoOfAlarm 02/06 16:29:07 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:29:07 SAM|10912 02/06 16:29:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_152900_142.mp4|92878| 02/06 16:29:07 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_152900_142.mp4 02/06 16:29:07 Date = 20190602 02/06 16:29:07 Construct from filename date 02/06 16:29:07 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_152900_142.mp4 02/06 16:29:07 Destination file not found 02/06 16:29:07 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_152900_142.mp4 02/06 16:29:07 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_152900_142.mp4 02/06 16:29:09 DownloadFile ok... checking file destination 02/06 16:29:09 URLDownloadToFile ok 02/06 16:29:09 Video .sig downloaded ok! 02/06 16:29:10 Snapshot .sig downloaded ok! 02/06 16:29:10 Elapsed download time: 00:00:03 02/06 16:29:10 UpdateVideoname 02/06 16:29:10 Updating: idalarmcra = 384713 02/06 16:29:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384713 ORDER BY IDALARMCRA DESC 02/06 16:29:10 Just before Update() 02/06 16:29:10 Next idalarmcra = 384712 02/06 16:29:10 DownloadVideos::DownloadVideoOfAlarm 02/06 16:29:10 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 35 02/06 16:29:10 SAM|5987 02/06 16:29:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_162902_3.mp4|112816| 02/06 16:29:10 FilenameSrc = 20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_162902_3.mp4 02/06 16:29:10 Date = 20190602 02/06 16:29:10 Construct from filename date 02/06 16:29:10 Destination: c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_162902_3.mp4 02/06 16:29:10 Destination file not found 02/06 16:29:10 http://192.168.30.100:21000/20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_162902_3.mp4 02/06 16:29:10 c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_162902_3.mp4 02/06 16:29:11 DownloadFile ok... checking file destination 02/06 16:29:11 URLDownloadToFile ok 02/06 16:29:12 Video .sig downloaded ok! 02/06 16:29:12 Snapshot .sig downloaded ok! 02/06 16:29:12 Elapsed download time: 00:00:02 02/06 16:29:12 UpdateVideoname 02/06 16:29:12 Updating: idalarmcra = 384712 02/06 16:29:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384712 ORDER BY IDALARMCRA DESC 02/06 16:29:12 Just before Update() 02/06 16:29:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:29:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:29:22 Don't have work. 02/06 16:29:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:29:32 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:29:32 Alarms with pending videos found! 02/06 16:29:32 Next idalarmcra = 384715 02/06 16:29:32 DownloadVideos::DownloadVideoOfAlarm 02/06 16:29:32 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:29:32 SAM|10913 02/06 16:29:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:29:33 NOK answer received 02/06 16:29:33 UpdateVideoname 02/06 16:29:33 Updating: idalarmcra = 384715 02/06 16:29:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384715 ORDER BY IDALARMCRA DESC 02/06 16:29:33 Just before Update() 02/06 16:29:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:29:43 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:29:43 Don't have work. 02/06 16:29:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:29:53 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:30:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:30:03 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:30:03 Alarms with pending videos found! 02/06 16:30:03 Next idalarmcra = 384718 02/06 16:30:03 DownloadVideos::DownloadVideoOfAlarm 02/06 16:30:03 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:30:03 SAM|777 02/06 16:30:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:30:03 NOK answer received 02/06 16:30:03 UpdateVideoname 02/06 16:30:03 Updating: idalarmcra = 384718 02/06 16:30:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384718 ORDER BY IDALARMCRA DESC 02/06 16:30:03 Just before Update() 02/06 16:30:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:30:13 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:30:13 Alarms with pending videos found! 02/06 16:30:13 Next idalarmcra = 384718 02/06 16:30:13 DownloadVideos::DownloadVideoOfAlarm 02/06 16:30:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:30:13 SAM|777 02/06 16:30:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162958_134.mp4|111258| 02/06 16:30:14 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162958_134.mp4 02/06 16:30:14 Date = 20190602 02/06 16:30:14 Construct from filename date 02/06 16:30:14 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162958_134.mp4 02/06 16:30:14 Destination file not found 02/06 16:30:14 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162958_134.mp4 02/06 16:30:14 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_162958_134.mp4 02/06 16:30:14 DownloadFile ok... checking file destination 02/06 16:30:14 URLDownloadToFile ok 02/06 16:30:14 Video .sig downloaded ok! 02/06 16:30:15 Snapshot .sig downloaded ok! 02/06 16:30:15 Elapsed download time: 00:00:02 02/06 16:30:15 UpdateVideoname 02/06 16:30:15 Updating: idalarmcra = 384718 02/06 16:30:15 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384718 ORDER BY IDALARMCRA DESC 02/06 16:30:15 Just before Update() 02/06 16:30:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:30:25 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:30:25 Alarms with pending videos found! 02/06 16:30:25 Next idalarmcra = 384721 02/06 16:30:25 DownloadVideos::DownloadVideoOfAlarm 02/06 16:30:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:30:25 SAM|1201 02/06 16:30:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:30:25 NOK answer received 02/06 16:30:25 UpdateVideoname 02/06 16:30:25 Updating: idalarmcra = 384721 02/06 16:30:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384721 ORDER BY IDALARMCRA DESC 02/06 16:30:25 Just before Update() 02/06 16:30:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:30:35 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:30:35 Alarms with pending videos found! 02/06 16:30:35 Next idalarmcra = 384723 02/06 16:30:35 DownloadVideos::DownloadVideoOfAlarm 02/06 16:30:35 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 3 02/06 16:30:35 SAM|174303 02/06 16:30:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:30:35 NOK answer received 02/06 16:30:36 UpdateVideoname 02/06 16:30:36 Updating: idalarmcra = 384723 02/06 16:30:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384723 ORDER BY IDALARMCRA DESC 02/06 16:30:36 Just before Update() 02/06 16:30:36 Next idalarmcra = 384721 02/06 16:30:36 DownloadVideos::DownloadVideoOfAlarm 02/06 16:30:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:30:36 SAM|1201 02/06 16:30:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_162934_79.mp4|110183| 02/06 16:30:36 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_162934_79.mp4 02/06 16:30:36 Date = 20190602 02/06 16:30:36 Construct from filename date 02/06 16:30:36 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_162934_79.mp4 02/06 16:30:36 Destination file not found 02/06 16:30:36 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_162934_79.mp4 02/06 16:30:36 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_162934_79.mp4 02/06 16:30:36 DownloadFile ok... checking file destination 02/06 16:30:36 URLDownloadToFile ok 02/06 16:30:37 Video .sig downloaded ok! 02/06 16:30:37 Snapshot .sig downloaded ok! 02/06 16:30:37 Elapsed download time: 00:00:01 02/06 16:30:37 UpdateVideoname 02/06 16:30:37 Updating: idalarmcra = 384721 02/06 16:30:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384721 ORDER BY IDALARMCRA DESC 02/06 16:30:37 Just before Update() 02/06 16:30:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:30:47 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:30:47 Alarms with pending videos found! 02/06 16:30:47 Next idalarmcra = 384723 02/06 16:30:47 DownloadVideos::DownloadVideoOfAlarm 02/06 16:30:47 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 3 02/06 16:30:47 SAM|174303 02/06 16:30:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SARNIC_Cam32_Event2_20190602_163032_3.mp4|184374| 02/06 16:30:47 FilenameSrc = 20190602\\SiteDGS_VA_SARNIC_Cam32_Event2_20190602_163032_3.mp4 02/06 16:30:47 Date = 20190602 02/06 16:30:47 Construct from filename date 02/06 16:30:47 Destination: c:\Davantis\CRAServer\\SITE_3\\20190602\\SiteDGS_VA_SARNIC_Cam32_Event2_20190602_163032_3.mp4 02/06 16:30:47 Destination file not found 02/06 16:30:47 http://192.168.27.100:21000/20190602\\SiteDGS_VA_SARNIC_Cam32_Event2_20190602_163032_3.mp4 02/06 16:30:47 c:\Davantis\CRAServer\\SITE_3\\20190602\\SiteDGS_VA_SARNIC_Cam32_Event2_20190602_163032_3.mp4 02/06 16:30:50 DownloadFile ok... checking file destination 02/06 16:30:50 URLDownloadToFile ok 02/06 16:30:50 Video .sig downloaded ok! 02/06 16:30:51 Snapshot .sig downloaded ok! 02/06 16:30:51 Elapsed download time: 00:00:04 02/06 16:30:51 UpdateVideoname 02/06 16:30:51 Updating: idalarmcra = 384723 02/06 16:30:51 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384723 ORDER BY IDALARMCRA DESC 02/06 16:30:51 Just before Update() 02/06 16:31:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:31:01 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:31:01 Don't have work. 02/06 16:31:11 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:31:11 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:31:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:31:21 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:31:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:31:31 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:31:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:31:41 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:31:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:31:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:32:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:32:01 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:32:11 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:32:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:32:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:32:22 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:32:22 Alarms with pending videos found! 02/06 16:32:22 Next idalarmcra = 384724 02/06 16:32:22 DownloadVideos::DownloadVideoOfAlarm 02/06 16:32:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 16:32:22 SAM|2078 02/06 16:32:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:32:22 NOK answer received 02/06 16:32:22 UpdateVideoname 02/06 16:32:22 Updating: idalarmcra = 384724 02/06 16:32:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384724 ORDER BY IDALARMCRA DESC 02/06 16:32:22 Just before Update() 02/06 16:32:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:32:32 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:32:32 Alarms with pending videos found! 02/06 16:32:32 Next idalarmcra = 384724 02/06 16:32:32 DownloadVideos::DownloadVideoOfAlarm 02/06 16:32:32 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 16:32:32 SAM|2078 02/06 16:32:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_163219_102.mp4|109145| 02/06 16:32:33 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_163219_102.mp4 02/06 16:32:33 Date = 20190602 02/06 16:32:33 Construct from filename date 02/06 16:32:33 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_163219_102.mp4 02/06 16:32:33 Destination file not found 02/06 16:32:33 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_163219_102.mp4 02/06 16:32:33 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_163219_102.mp4 02/06 16:32:34 DownloadFile ok... checking file destination 02/06 16:32:34 URLDownloadToFile ok 02/06 16:32:34 Video .sig downloaded ok! 02/06 16:32:34 Snapshot .sig downloaded ok! 02/06 16:32:34 Elapsed download time: 00:00:02 02/06 16:32:35 UpdateVideoname 02/06 16:32:35 Updating: idalarmcra = 384724 02/06 16:32:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384724 ORDER BY IDALARMCRA DESC 02/06 16:32:35 Just before Update() 02/06 16:32:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:32:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:32:45 Don't have work. 02/06 16:32:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:32:55 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:33:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:33:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:33:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:33:15 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:33:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:33:25 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:33:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:33:35 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:33:45 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:33:45 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:33:45 Alarms with pending videos found! 02/06 16:33:45 Next idalarmcra = 384726 02/06 16:33:45 DownloadVideos::DownloadVideoOfAlarm 02/06 16:33:45 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:33:45 SAM|1599 02/06 16:33:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163337_241.mp4|98047| 02/06 16:33:46 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163337_241.mp4 02/06 16:33:46 Date = 20190602 02/06 16:33:46 Construct from filename date 02/06 16:33:46 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163337_241.mp4 02/06 16:33:46 Destination file not found 02/06 16:33:46 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163337_241.mp4 02/06 16:33:46 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163337_241.mp4 02/06 16:33:46 DownloadFile ok... checking file destination 02/06 16:33:46 URLDownloadToFile ok 02/06 16:33:46 Video .sig downloaded ok! 02/06 16:33:46 Snapshot .sig downloaded ok! 02/06 16:33:46 Elapsed download time: 00:00:01 02/06 16:33:46 UpdateVideoname 02/06 16:33:46 Updating: idalarmcra = 384726 02/06 16:33:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384726 ORDER BY IDALARMCRA DESC 02/06 16:33:46 Just before Update() 02/06 16:33:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:33:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:33:56 Don't have work. 02/06 16:34:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:34:07 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:34:07 Alarms with pending videos found! 02/06 16:34:07 Next idalarmcra = 384727 02/06 16:34:07 DownloadVideos::DownloadVideoOfAlarm 02/06 16:34:07 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 37 02/06 16:34:07 SAM|2518 02/06 16:34:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SALIHLI_A_Cam3_Event2_20190602_163355_11.mp4|94924| 02/06 16:34:07 FilenameSrc = 20190602\\SiteDGS_VA_SALIHLI_A_Cam3_Event2_20190602_163355_11.mp4 02/06 16:34:07 Date = 20190602 02/06 16:34:07 Construct from filename date 02/06 16:34:07 Destination: c:\Davantis\CRAServer\\SITE_37\\20190602\\SiteDGS_VA_SALIHLI_A_Cam3_Event2_20190602_163355_11.mp4 02/06 16:34:07 Destination file not found 02/06 16:34:07 http://192.168.34.100:21000/20190602\\SiteDGS_VA_SALIHLI_A_Cam3_Event2_20190602_163355_11.mp4 02/06 16:34:07 c:\Davantis\CRAServer\\SITE_37\\20190602\\SiteDGS_VA_SALIHLI_A_Cam3_Event2_20190602_163355_11.mp4 02/06 16:34:09 DownloadFile ok... checking file destination 02/06 16:34:09 URLDownloadToFile ok 02/06 16:34:09 Video .sig downloaded ok! 02/06 16:34:09 Snapshot .sig downloaded ok! 02/06 16:34:09 Elapsed download time: 00:00:02 02/06 16:34:09 UpdateVideoname 02/06 16:34:09 Updating: idalarmcra = 384727 02/06 16:34:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384727 ORDER BY IDALARMCRA DESC 02/06 16:34:09 Just before Update() 02/06 16:34:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:34:19 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:34:19 Don't have work. 02/06 16:34:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:34:29 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:34:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:34:40 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:34:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:34:50 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:34:50 Alarms with pending videos found! 02/06 16:34:50 Next idalarmcra = 384731 02/06 16:34:50 DownloadVideos::DownloadVideoOfAlarm 02/06 16:34:50 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:34:50 SAM|22997 02/06 16:34:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_163441_91.mp4|112160| 02/06 16:34:50 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_163441_91.mp4 02/06 16:34:50 Date = 20190602 02/06 16:34:50 Construct from filename date 02/06 16:34:50 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_163441_91.mp4 02/06 16:34:50 Destination file not found 02/06 16:34:50 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_163441_91.mp4 02/06 16:34:50 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_163441_91.mp4 02/06 16:34:51 DownloadFile ok... checking file destination 02/06 16:34:51 URLDownloadToFile ok 02/06 16:34:51 Video .sig downloaded ok! 02/06 16:34:51 Snapshot .sig downloaded ok! 02/06 16:34:51 Elapsed download time: 00:00:01 02/06 16:34:51 UpdateVideoname 02/06 16:34:51 Updating: idalarmcra = 384731 02/06 16:34:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384731 ORDER BY IDALARMCRA DESC 02/06 16:34:51 Just before Update() 02/06 16:34:51 Next idalarmcra = 384728 02/06 16:34:51 DownloadVideos::DownloadVideoOfAlarm 02/06 16:34:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:34:51 SAM|1600 02/06 16:34:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163439_180.mp4|106625| 02/06 16:34:52 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163439_180.mp4 02/06 16:34:52 Date = 20190602 02/06 16:34:52 Construct from filename date 02/06 16:34:52 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163439_180.mp4 02/06 16:34:52 Destination file not found 02/06 16:34:52 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163439_180.mp4 02/06 16:34:52 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163439_180.mp4 02/06 16:34:52 DownloadFile ok... checking file destination 02/06 16:34:52 URLDownloadToFile ok 02/06 16:34:53 Video .sig downloaded ok! 02/06 16:34:53 Snapshot .sig downloaded ok! 02/06 16:34:53 Elapsed download time: 00:00:02 02/06 16:34:53 UpdateVideoname 02/06 16:34:53 Updating: idalarmcra = 384728 02/06 16:34:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384728 ORDER BY IDALARMCRA DESC 02/06 16:34:53 Just before Update() 02/06 16:35:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:35:03 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:35:03 Alarms with pending videos found! 02/06 16:35:03 Next idalarmcra = 384732 02/06 16:35:03 DownloadVideos::DownloadVideoOfAlarm 02/06 16:35:03 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 54 02/06 16:35:03 SAM|862 02/06 16:35:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_163517_6.mp4|108776| 02/06 16:35:05 FilenameSrc = 20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_163517_6.mp4 02/06 16:35:05 Date = 20190602 02/06 16:35:05 Construct from filename date 02/06 16:35:05 Destination: c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_163517_6.mp4 02/06 16:35:05 Destination file not found 02/06 16:35:05 http://5.26.158.177:21001/20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_163517_6.mp4 02/06 16:35:05 c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_163517_6.mp4 02/06 16:35:15 DownloadFile ok... checking file destination 02/06 16:35:15 URLDownloadToFile ok 02/06 16:35:16 Video .sig downloaded ok! 02/06 16:35:16 Snapshot .sig downloaded ok! 02/06 16:35:16 Elapsed download time: 00:00:13 02/06 16:35:16 UpdateVideoname 02/06 16:35:16 Updating: idalarmcra = 384732 02/06 16:35:16 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384732 ORDER BY IDALARMCRA DESC 02/06 16:35:16 Rollback executed. 02/06 16:35:16 RecordSet closed. 02/06 16:35:16 CheckDDBB 02/06 16:35:16 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:35:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:35:27 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:35:27 Alarms with pending videos found! 02/06 16:35:27 Next idalarmcra = 384733 02/06 16:35:27 DownloadVideos::DownloadVideoOfAlarm 02/06 16:35:27 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:35:27 SAM|22998 02/06 16:35:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:35:27 NOK answer received 02/06 16:35:27 UpdateVideoname 02/06 16:35:27 Updating: idalarmcra = 384733 02/06 16:35:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384733 ORDER BY IDALARMCRA DESC 02/06 16:35:27 Just before Update() 02/06 16:35:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:35:37 [D] Query(28ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:35:37 Alarms with pending videos found! 02/06 16:35:37 Next idalarmcra = 384733 02/06 16:35:37 DownloadVideos::DownloadVideoOfAlarm 02/06 16:35:37 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:35:37 SAM|22998 02/06 16:35:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_163522_92.mp4|112264| 02/06 16:35:37 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_163522_92.mp4 02/06 16:35:37 Date = 20190602 02/06 16:35:37 Construct from filename date 02/06 16:35:37 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_163522_92.mp4 02/06 16:35:37 Destination file not found 02/06 16:35:37 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_163522_92.mp4 02/06 16:35:37 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_163522_92.mp4 02/06 16:35:38 DownloadFile ok... checking file destination 02/06 16:35:38 URLDownloadToFile ok 02/06 16:35:38 Video .sig downloaded ok! 02/06 16:35:39 Snapshot .sig downloaded ok! 02/06 16:35:39 Elapsed download time: 00:00:02 02/06 16:35:39 UpdateVideoname 02/06 16:35:39 Updating: idalarmcra = 384733 02/06 16:35:39 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384733 ORDER BY IDALARMCRA DESC 02/06 16:35:39 Just before Update() 02/06 16:35:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:35:49 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:35:49 Alarms with pending videos found! 02/06 16:35:49 Next idalarmcra = 384736 02/06 16:35:49 DownloadVideos::DownloadVideoOfAlarm 02/06 16:35:49 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:35:49 SAM|10914 02/06 16:35:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_153543_144.mp4|89862| 02/06 16:35:49 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_153543_144.mp4 02/06 16:35:49 Date = 20190602 02/06 16:35:49 Construct from filename date 02/06 16:35:49 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_153543_144.mp4 02/06 16:35:49 Destination file not found 02/06 16:35:49 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_153543_144.mp4 02/06 16:35:49 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_153543_144.mp4 02/06 16:35:50 DownloadFile ok... checking file destination 02/06 16:35:50 URLDownloadToFile ok 02/06 16:35:50 Video .sig downloaded ok! 02/06 16:35:50 Snapshot .sig downloaded ok! 02/06 16:35:50 Elapsed download time: 00:00:01 02/06 16:35:51 UpdateVideoname 02/06 16:35:51 Updating: idalarmcra = 384736 02/06 16:35:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384736 ORDER BY IDALARMCRA DESC 02/06 16:35:51 Just before Update() 02/06 16:35:51 Next idalarmcra = 384735 02/06 16:35:51 DownloadVideos::DownloadVideoOfAlarm 02/06 16:35:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:35:51 SAM|1601 02/06 16:35:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163541_242.mp4|102938| 02/06 16:35:51 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163541_242.mp4 02/06 16:35:51 Date = 20190602 02/06 16:35:51 Construct from filename date 02/06 16:35:51 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163541_242.mp4 02/06 16:35:51 Destination file not found 02/06 16:35:51 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163541_242.mp4 02/06 16:35:51 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163541_242.mp4 02/06 16:35:51 DownloadFile ok... checking file destination 02/06 16:35:51 URLDownloadToFile ok 02/06 16:35:51 Video .sig downloaded ok! 02/06 16:35:51 Snapshot .sig downloaded ok! 02/06 16:35:51 Elapsed download time: 00:00:00 02/06 16:35:51 UpdateVideoname 02/06 16:35:51 Updating: idalarmcra = 384735 02/06 16:35:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384735 ORDER BY IDALARMCRA DESC 02/06 16:35:51 Just before Update() 02/06 16:35:51 Next idalarmcra = 384734 02/06 16:35:51 DownloadVideos::DownloadVideoOfAlarm 02/06 16:35:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:35:51 SAM|778 02/06 16:35:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_163533_135.mp4|107786| 02/06 16:35:52 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_163533_135.mp4 02/06 16:35:52 Date = 20190602 02/06 16:35:52 Construct from filename date 02/06 16:35:52 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_163533_135.mp4 02/06 16:35:52 Destination file not found 02/06 16:35:52 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_163533_135.mp4 02/06 16:35:52 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_163533_135.mp4 02/06 16:35:52 DownloadFile ok... checking file destination 02/06 16:35:52 URLDownloadToFile ok 02/06 16:35:53 Video .sig downloaded ok! 02/06 16:35:53 Snapshot .sig downloaded ok! 02/06 16:35:53 Elapsed download time: 00:00:02 02/06 16:35:53 UpdateVideoname 02/06 16:35:53 Updating: idalarmcra = 384734 02/06 16:35:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384734 ORDER BY IDALARMCRA DESC 02/06 16:35:53 Just before Update() 02/06 16:36:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:36:03 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:36:03 Don't have work. 02/06 16:36:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:36:13 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:36:13 Alarms with pending videos found! 02/06 16:36:13 Next idalarmcra = 384737 02/06 16:36:13 DownloadVideos::DownloadVideoOfAlarm 02/06 16:36:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:36:13 SAM|1602 02/06 16:36:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163608_181.mp4|102280| 02/06 16:36:13 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163608_181.mp4 02/06 16:36:13 Date = 20190602 02/06 16:36:13 Construct from filename date 02/06 16:36:13 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163608_181.mp4 02/06 16:36:13 Destination file not found 02/06 16:36:13 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163608_181.mp4 02/06 16:36:13 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163608_181.mp4 02/06 16:36:14 DownloadFile ok... checking file destination 02/06 16:36:14 URLDownloadToFile ok 02/06 16:36:14 Video .sig downloaded ok! 02/06 16:36:14 Snapshot .sig downloaded ok! 02/06 16:36:14 Elapsed download time: 00:00:01 02/06 16:36:14 UpdateVideoname 02/06 16:36:14 Updating: idalarmcra = 384737 02/06 16:36:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384737 ORDER BY IDALARMCRA DESC 02/06 16:36:14 Just before Update() 02/06 16:36:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:36:24 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:36:24 Alarms with pending videos found! 02/06 16:36:24 Next idalarmcra = 384742 02/06 16:36:24 DownloadVideos::DownloadVideoOfAlarm 02/06 16:36:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:36:24 SAM|1202 02/06 16:36:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:36:24 NOK answer received 02/06 16:36:24 UpdateVideoname 02/06 16:36:24 Updating: idalarmcra = 384742 02/06 16:36:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384742 ORDER BY IDALARMCRA DESC 02/06 16:36:24 Just before Update() 02/06 16:36:24 Next idalarmcra = 384741 02/06 16:36:24 DownloadVideos::DownloadVideoOfAlarm 02/06 16:36:24 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:36:24 SAM|1203 02/06 16:36:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:36:25 NOK answer received 02/06 16:36:25 UpdateVideoname 02/06 16:36:25 Updating: idalarmcra = 384741 02/06 16:36:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384741 ORDER BY IDALARMCRA DESC 02/06 16:36:25 Just before Update() 02/06 16:36:25 Next idalarmcra = 384740 02/06 16:36:25 DownloadVideos::DownloadVideoOfAlarm 02/06 16:36:25 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:36:25 SAM|1604 02/06 16:36:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163616_243.mp4|109466| 02/06 16:36:25 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163616_243.mp4 02/06 16:36:25 Date = 20190602 02/06 16:36:25 Construct from filename date 02/06 16:36:25 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163616_243.mp4 02/06 16:36:25 Destination file not found 02/06 16:36:25 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163616_243.mp4 02/06 16:36:25 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163616_243.mp4 02/06 16:36:25 DownloadFile ok... checking file destination 02/06 16:36:25 URLDownloadToFile ok 02/06 16:36:25 Video .sig downloaded ok! 02/06 16:36:26 Snapshot .sig downloaded ok! 02/06 16:36:26 Elapsed download time: 00:00:01 02/06 16:36:26 UpdateVideoname 02/06 16:36:26 Updating: idalarmcra = 384740 02/06 16:36:26 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384740 ORDER BY IDALARMCRA DESC 02/06 16:36:26 Just before Update() 02/06 16:36:26 Next idalarmcra = 384739 02/06 16:36:26 DownloadVideos::DownloadVideoOfAlarm 02/06 16:36:26 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:36:26 SAM|1603 02/06 16:36:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163615_237.mp4|103445| 02/06 16:36:26 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163615_237.mp4 02/06 16:36:26 Date = 20190602 02/06 16:36:26 Construct from filename date 02/06 16:36:26 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163615_237.mp4 02/06 16:36:26 Destination file not found 02/06 16:36:26 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163615_237.mp4 02/06 16:36:26 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163615_237.mp4 02/06 16:36:26 DownloadFile ok... checking file destination 02/06 16:36:26 URLDownloadToFile ok 02/06 16:36:26 Video .sig downloaded ok! 02/06 16:36:27 Snapshot .sig downloaded ok! 02/06 16:36:27 Elapsed download time: 00:00:01 02/06 16:36:27 UpdateVideoname 02/06 16:36:27 Updating: idalarmcra = 384739 02/06 16:36:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384739 ORDER BY IDALARMCRA DESC 02/06 16:36:27 Just before Update() 02/06 16:36:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:36:37 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:36:37 Alarms with pending videos found! 02/06 16:36:37 Next idalarmcra = 384743 02/06 16:36:37 DownloadVideos::DownloadVideoOfAlarm 02/06 16:36:37 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:36:37 SAM|1605 02/06 16:36:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:36:37 NOK answer received 02/06 16:36:38 UpdateVideoname 02/06 16:36:38 Updating: idalarmcra = 384743 02/06 16:36:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384743 ORDER BY IDALARMCRA DESC 02/06 16:36:38 Just before Update() 02/06 16:36:38 Next idalarmcra = 384742 02/06 16:36:38 DownloadVideos::DownloadVideoOfAlarm 02/06 16:36:38 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:36:38 SAM|1202 02/06 16:36:38 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163533_197.mp4|104879| 02/06 16:36:38 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163533_197.mp4 02/06 16:36:38 Date = 20190602 02/06 16:36:38 Construct from filename date 02/06 16:36:38 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163533_197.mp4 02/06 16:36:38 Destination file not found 02/06 16:36:38 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163533_197.mp4 02/06 16:36:38 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163533_197.mp4 02/06 16:36:38 DownloadFile ok... checking file destination 02/06 16:36:38 URLDownloadToFile ok 02/06 16:36:39 Video .sig downloaded ok! 02/06 16:36:39 Snapshot .sig downloaded ok! 02/06 16:36:39 Elapsed download time: 00:00:01 02/06 16:36:39 UpdateVideoname 02/06 16:36:39 Updating: idalarmcra = 384742 02/06 16:36:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384742 ORDER BY IDALARMCRA DESC 02/06 16:36:39 Just before Update() 02/06 16:36:39 Next idalarmcra = 384741 02/06 16:36:39 DownloadVideos::DownloadVideoOfAlarm 02/06 16:36:39 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:36:39 SAM|1203 02/06 16:36:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163533_450.mp4|107076| 02/06 16:36:39 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163533_450.mp4 02/06 16:36:39 Date = 20190602 02/06 16:36:39 Construct from filename date 02/06 16:36:39 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163533_450.mp4 02/06 16:36:39 Destination file not found 02/06 16:36:39 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163533_450.mp4 02/06 16:36:39 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163533_450.mp4 02/06 16:36:39 DownloadFile ok... checking file destination 02/06 16:36:39 URLDownloadToFile ok 02/06 16:36:39 Video .sig downloaded ok! 02/06 16:36:39 Snapshot .sig downloaded ok! 02/06 16:36:39 Elapsed download time: 00:00:00 02/06 16:36:39 UpdateVideoname 02/06 16:36:39 Updating: idalarmcra = 384741 02/06 16:36:39 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384741 ORDER BY IDALARMCRA DESC 02/06 16:36:39 Just before Update() 02/06 16:36:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:36:49 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:36:49 Alarms with pending videos found! 02/06 16:36:49 Next idalarmcra = 384744 02/06 16:36:49 DownloadVideos::DownloadVideoOfAlarm 02/06 16:36:50 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:36:50 SAM|1606 02/06 16:36:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163638_238.mp4|103616| 02/06 16:36:50 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163638_238.mp4 02/06 16:36:50 Date = 20190602 02/06 16:36:50 Construct from filename date 02/06 16:36:50 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163638_238.mp4 02/06 16:36:50 Destination file not found 02/06 16:36:50 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163638_238.mp4 02/06 16:36:50 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163638_238.mp4 02/06 16:36:50 DownloadFile ok... checking file destination 02/06 16:36:50 URLDownloadToFile ok 02/06 16:36:50 Video .sig downloaded ok! 02/06 16:36:51 Snapshot .sig downloaded ok! 02/06 16:36:51 Elapsed download time: 00:00:01 02/06 16:36:51 UpdateVideoname 02/06 16:36:51 Updating: idalarmcra = 384744 02/06 16:36:51 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384744 ORDER BY IDALARMCRA DESC 02/06 16:36:51 Just before Update() 02/06 16:37:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:37:01 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:37:01 Alarms with pending videos found! 02/06 16:37:01 Next idalarmcra = 384745 02/06 16:37:01 DownloadVideos::DownloadVideoOfAlarm 02/06 16:37:01 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:37:01 SAM|1607 02/06 16:37:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163657_245.mp4|106511| 02/06 16:37:02 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163657_245.mp4 02/06 16:37:02 Date = 20190602 02/06 16:37:02 Construct from filename date 02/06 16:37:02 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163657_245.mp4 02/06 16:37:02 Destination file not found 02/06 16:37:02 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163657_245.mp4 02/06 16:37:02 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163657_245.mp4 02/06 16:37:03 DownloadFile ok... checking file destination 02/06 16:37:03 URLDownloadToFile ok 02/06 16:37:03 Video .sig downloaded ok! 02/06 16:37:03 Snapshot .sig downloaded ok! 02/06 16:37:03 Elapsed download time: 00:00:02 02/06 16:37:03 UpdateVideoname 02/06 16:37:03 Updating: idalarmcra = 384745 02/06 16:37:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384745 ORDER BY IDALARMCRA DESC 02/06 16:37:03 Just before Update() 02/06 16:37:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:37:13 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:37:13 Alarms with pending videos found! 02/06 16:37:13 Next idalarmcra = 384747 02/06 16:37:13 DownloadVideos::DownloadVideoOfAlarm 02/06 16:37:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:37:13 SAM|1204 02/06 16:37:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163620_80.mp4|102516| 02/06 16:37:14 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163620_80.mp4 02/06 16:37:14 Date = 20190602 02/06 16:37:14 Construct from filename date 02/06 16:37:14 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163620_80.mp4 02/06 16:37:14 Destination file not found 02/06 16:37:14 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163620_80.mp4 02/06 16:37:14 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163620_80.mp4 02/06 16:37:14 DownloadFile ok... checking file destination 02/06 16:37:14 URLDownloadToFile ok 02/06 16:37:14 Video .sig downloaded ok! 02/06 16:37:14 Snapshot .sig downloaded ok! 02/06 16:37:14 Elapsed download time: 00:00:01 02/06 16:37:14 UpdateVideoname 02/06 16:37:14 Updating: idalarmcra = 384747 02/06 16:37:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384747 ORDER BY IDALARMCRA DESC 02/06 16:37:14 Just before Update() 02/06 16:37:14 Next idalarmcra = 384746 02/06 16:37:14 DownloadVideos::DownloadVideoOfAlarm 02/06 16:37:14 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:37:14 SAM|1608 02/06 16:37:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163702_182.mp4|104161| 02/06 16:37:15 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163702_182.mp4 02/06 16:37:15 Date = 20190602 02/06 16:37:15 Construct from filename date 02/06 16:37:15 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163702_182.mp4 02/06 16:37:15 Destination file not found 02/06 16:37:15 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163702_182.mp4 02/06 16:37:15 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_163702_182.mp4 02/06 16:37:15 DownloadFile ok... checking file destination 02/06 16:37:15 URLDownloadToFile ok 02/06 16:37:15 Video .sig downloaded ok! 02/06 16:37:16 Snapshot .sig downloaded ok! 02/06 16:37:16 Elapsed download time: 00:00:02 02/06 16:37:16 UpdateVideoname 02/06 16:37:16 Updating: idalarmcra = 384746 02/06 16:37:16 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384746 ORDER BY IDALARMCRA DESC 02/06 16:37:16 Just before Update() 02/06 16:37:26 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:37:26 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:37:26 Alarms with pending videos found! 02/06 16:37:26 Next idalarmcra = 384748 02/06 16:37:26 DownloadVideos::DownloadVideoOfAlarm 02/06 16:37:26 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:37:26 SAM|1609 02/06 16:37:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163720_239.mp4|101285| 02/06 16:37:26 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163720_239.mp4 02/06 16:37:26 Date = 20190602 02/06 16:37:26 Construct from filename date 02/06 16:37:26 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163720_239.mp4 02/06 16:37:26 Destination file not found 02/06 16:37:26 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163720_239.mp4 02/06 16:37:26 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_163720_239.mp4 02/06 16:37:26 DownloadFile ok... checking file destination 02/06 16:37:26 URLDownloadToFile ok 02/06 16:37:27 Video .sig downloaded ok! 02/06 16:37:27 Snapshot .sig downloaded ok! 02/06 16:37:27 Elapsed download time: 00:00:01 02/06 16:37:27 UpdateVideoname 02/06 16:37:27 Updating: idalarmcra = 384748 02/06 16:37:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384748 ORDER BY IDALARMCRA DESC 02/06 16:37:27 Just before Update() 02/06 16:37:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:37:37 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:37:37 Don't have work. 02/06 16:37:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:37:47 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:37:47 Alarms with pending videos found! 02/06 16:37:47 Next idalarmcra = 384749 02/06 16:37:47 DownloadVideos::DownloadVideoOfAlarm 02/06 16:37:47 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 16:37:47 SAM|6115 02/06 16:37:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_163738_26.mp4|107357| 02/06 16:37:48 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_163738_26.mp4 02/06 16:37:48 Date = 20190602 02/06 16:37:48 Construct from filename date 02/06 16:37:48 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_163738_26.mp4 02/06 16:37:48 Destination file not found 02/06 16:37:48 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_163738_26.mp4 02/06 16:37:48 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_163738_26.mp4 02/06 16:37:50 DownloadFile ok... checking file destination 02/06 16:37:50 URLDownloadToFile ok 02/06 16:37:50 Video .sig downloaded ok! 02/06 16:37:50 Snapshot .sig downloaded ok! 02/06 16:37:50 Elapsed download time: 00:00:03 02/06 16:37:50 UpdateVideoname 02/06 16:37:50 Updating: idalarmcra = 384749 02/06 16:37:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384749 ORDER BY IDALARMCRA DESC 02/06 16:37:50 Just before Update() 02/06 16:38:00 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:38:00 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:38:00 Don't have work. 02/06 16:38:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:38:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:38:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:38:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:38:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:38:31 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:38:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:38:41 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:38:41 Alarms with pending videos found! 02/06 16:38:41 Next idalarmcra = 384751 02/06 16:38:41 DownloadVideos::DownloadVideoOfAlarm 02/06 16:38:41 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:38:41 SAM|1207 02/06 16:38:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:38:41 NOK answer received 02/06 16:38:41 UpdateVideoname 02/06 16:38:41 Updating: idalarmcra = 384751 02/06 16:38:41 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384751 ORDER BY IDALARMCRA DESC 02/06 16:38:41 Just before Update() 02/06 16:38:41 Next idalarmcra = 384750 02/06 16:38:41 DownloadVideos::DownloadVideoOfAlarm 02/06 16:38:41 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:38:41 SAM|1205 02/06 16:38:41 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163746_198.mp4|107681| 02/06 16:38:41 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163746_198.mp4 02/06 16:38:41 Date = 20190602 02/06 16:38:41 Construct from filename date 02/06 16:38:41 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163746_198.mp4 02/06 16:38:41 Destination file not found 02/06 16:38:41 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163746_198.mp4 02/06 16:38:41 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163746_198.mp4 02/06 16:38:42 DownloadFile ok... checking file destination 02/06 16:38:42 URLDownloadToFile ok 02/06 16:38:42 Video .sig downloaded ok! 02/06 16:38:42 Snapshot .sig downloaded ok! 02/06 16:38:42 Elapsed download time: 00:00:01 02/06 16:38:42 UpdateVideoname 02/06 16:38:42 Updating: idalarmcra = 384750 02/06 16:38:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384750 ORDER BY IDALARMCRA DESC 02/06 16:38:42 Just before Update() 02/06 16:38:52 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:38:52 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:38:52 Alarms with pending videos found! 02/06 16:38:52 Next idalarmcra = 384754 02/06 16:38:52 DownloadVideos::DownloadVideoOfAlarm 02/06 16:38:53 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:38:53 SAM|1610 02/06 16:38:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:38:53 NOK answer received 02/06 16:38:53 UpdateVideoname 02/06 16:38:53 Updating: idalarmcra = 384754 02/06 16:38:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384754 ORDER BY IDALARMCRA DESC 02/06 16:38:53 Just before Update() 02/06 16:38:53 Next idalarmcra = 384753 02/06 16:38:53 DownloadVideos::DownloadVideoOfAlarm 02/06 16:38:53 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:38:53 SAM|779 02/06 16:38:53 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam1_Event2_20190602_163839_7.mp4|102517| 02/06 16:38:53 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam1_Event2_20190602_163839_7.mp4 02/06 16:38:53 Date = 20190602 02/06 16:38:53 Construct from filename date 02/06 16:38:53 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam1_Event2_20190602_163839_7.mp4 02/06 16:38:53 Destination file not found 02/06 16:38:53 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam1_Event2_20190602_163839_7.mp4 02/06 16:38:53 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam1_Event2_20190602_163839_7.mp4 02/06 16:38:54 DownloadFile ok... checking file destination 02/06 16:38:54 URLDownloadToFile ok 02/06 16:38:54 Video .sig downloaded ok! 02/06 16:38:54 Snapshot .sig downloaded ok! 02/06 16:38:54 Elapsed download time: 00:00:01 02/06 16:38:54 UpdateVideoname 02/06 16:38:54 Updating: idalarmcra = 384753 02/06 16:38:54 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384753 ORDER BY IDALARMCRA DESC 02/06 16:38:54 Just before Update() 02/06 16:38:54 Next idalarmcra = 384752 02/06 16:38:54 DownloadVideos::DownloadVideoOfAlarm 02/06 16:38:54 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:38:54 SAM|1206 02/06 16:38:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163750_451.mp4|106927| 02/06 16:38:54 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163750_451.mp4 02/06 16:38:54 Date = 20190602 02/06 16:38:54 Construct from filename date 02/06 16:38:54 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163750_451.mp4 02/06 16:38:54 Destination file not found 02/06 16:38:54 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163750_451.mp4 02/06 16:38:54 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163750_451.mp4 02/06 16:38:54 DownloadFile ok... checking file destination 02/06 16:38:54 URLDownloadToFile ok 02/06 16:38:55 Video .sig downloaded ok! 02/06 16:38:55 Snapshot .sig downloaded ok! 02/06 16:38:55 Elapsed download time: 00:00:01 02/06 16:38:55 UpdateVideoname 02/06 16:38:55 Updating: idalarmcra = 384752 02/06 16:38:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384752 ORDER BY IDALARMCRA DESC 02/06 16:38:55 Just before Update() 02/06 16:38:55 Next idalarmcra = 384751 02/06 16:38:55 DownloadVideos::DownloadVideoOfAlarm 02/06 16:38:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:38:55 SAM|1207 02/06 16:38:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163750_81.mp4|101299| 02/06 16:38:55 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163750_81.mp4 02/06 16:38:55 Date = 20190602 02/06 16:38:55 Construct from filename date 02/06 16:38:55 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163750_81.mp4 02/06 16:38:55 Destination file not found 02/06 16:38:55 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163750_81.mp4 02/06 16:38:55 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163750_81.mp4 02/06 16:38:55 DownloadFile ok... checking file destination 02/06 16:38:55 URLDownloadToFile ok 02/06 16:38:55 Video .sig downloaded ok! 02/06 16:38:55 Snapshot .sig downloaded ok! 02/06 16:38:55 Elapsed download time: 00:00:00 02/06 16:38:56 UpdateVideoname 02/06 16:38:56 Updating: idalarmcra = 384751 02/06 16:38:56 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384751 ORDER BY IDALARMCRA DESC 02/06 16:38:56 Just before Update() 02/06 16:39:06 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:39:06 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:39:06 Alarms with pending videos found! 02/06 16:39:06 Next idalarmcra = 384756 02/06 16:39:06 DownloadVideos::DownloadVideoOfAlarm 02/06 16:39:06 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:39:06 SAM|1611 02/06 16:39:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:39:06 NOK answer received 02/06 16:39:06 UpdateVideoname 02/06 16:39:06 Updating: idalarmcra = 384756 02/06 16:39:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384756 ORDER BY IDALARMCRA DESC 02/06 16:39:06 Just before Update() 02/06 16:39:06 Next idalarmcra = 384755 02/06 16:39:06 DownloadVideos::DownloadVideoOfAlarm 02/06 16:39:06 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 33 02/06 16:39:06 SAM|3230 02/06 16:39:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_163848_83.mp4|104334| 02/06 16:39:06 FilenameSrc = 20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_163848_83.mp4 02/06 16:39:06 Date = 20190602 02/06 16:39:06 Construct from filename date 02/06 16:39:06 Destination: c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_163848_83.mp4 02/06 16:39:06 Destination file not found 02/06 16:39:06 http://192.168.31.100:21000/20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_163848_83.mp4 02/06 16:39:06 c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam2_Event2_20190602_163848_83.mp4 02/06 16:39:08 DownloadFile ok... checking file destination 02/06 16:39:08 URLDownloadToFile ok 02/06 16:39:08 Video .sig downloaded ok! 02/06 16:39:08 Snapshot .sig downloaded ok! 02/06 16:39:08 Elapsed download time: 00:00:02 02/06 16:39:09 UpdateVideoname 02/06 16:39:09 Updating: idalarmcra = 384755 02/06 16:39:09 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384755 ORDER BY IDALARMCRA DESC 02/06 16:39:09 Just before Update() 02/06 16:39:09 Next idalarmcra = 384754 02/06 16:39:09 DownloadVideos::DownloadVideoOfAlarm 02/06 16:39:09 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:39:09 SAM|1610 02/06 16:39:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163849_246.mp4|103545| 02/06 16:39:09 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163849_246.mp4 02/06 16:39:09 Date = 20190602 02/06 16:39:09 Construct from filename date 02/06 16:39:09 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163849_246.mp4 02/06 16:39:09 Destination file not found 02/06 16:39:09 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163849_246.mp4 02/06 16:39:09 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163849_246.mp4 02/06 16:39:09 DownloadFile ok... checking file destination 02/06 16:39:09 URLDownloadToFile ok 02/06 16:39:09 Video .sig downloaded ok! 02/06 16:39:09 Snapshot .sig downloaded ok! 02/06 16:39:09 Elapsed download time: 00:00:00 02/06 16:39:09 UpdateVideoname 02/06 16:39:09 Updating: idalarmcra = 384754 02/06 16:39:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384754 ORDER BY IDALARMCRA DESC 02/06 16:39:09 Just before Update() 02/06 16:39:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:39:20 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:39:20 Don't have work. 02/06 16:39:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:39:30 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:39:40 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:39:40 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:39:40 Alarms with pending videos found! 02/06 16:39:40 Next idalarmcra = 384758 02/06 16:39:40 DownloadVideos::DownloadVideoOfAlarm 02/06 16:39:40 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:39:40 SAM|1612 02/06 16:39:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163922_248.mp4|110797| 02/06 16:39:40 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163922_248.mp4 02/06 16:39:40 Date = 20190602 02/06 16:39:40 Construct from filename date 02/06 16:39:40 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163922_248.mp4 02/06 16:39:40 Destination file not found 02/06 16:39:40 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163922_248.mp4 02/06 16:39:40 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_163922_248.mp4 02/06 16:39:40 DownloadFile ok... checking file destination 02/06 16:39:40 URLDownloadToFile ok 02/06 16:39:40 Video .sig downloaded ok! 02/06 16:39:40 Snapshot .sig downloaded ok! 02/06 16:39:40 Elapsed download time: 00:00:00 02/06 16:39:40 UpdateVideoname 02/06 16:39:40 Updating: idalarmcra = 384758 02/06 16:39:40 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384758 ORDER BY IDALARMCRA DESC 02/06 16:39:40 Just before Update() 02/06 16:39:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:39:51 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:39:51 Don't have work. 02/06 16:40:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:40:01 [D] Query(34ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:40:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:40:11 [D] Query(27ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:40:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:40:21 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:40:21 Alarms with pending videos found! 02/06 16:40:21 Next idalarmcra = 384764 02/06 16:40:21 DownloadVideos::DownloadVideoOfAlarm 02/06 16:40:21 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:40:21 SAM|1209 02/06 16:40:21 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163925_82.mp4|114391| 02/06 16:40:21 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163925_82.mp4 02/06 16:40:21 Date = 20190602 02/06 16:40:21 Construct from filename date 02/06 16:40:21 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163925_82.mp4 02/06 16:40:21 Destination file not found 02/06 16:40:21 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163925_82.mp4 02/06 16:40:21 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_163925_82.mp4 02/06 16:40:22 DownloadFile ok... checking file destination 02/06 16:40:22 URLDownloadToFile ok 02/06 16:40:22 Video .sig downloaded ok! 02/06 16:40:22 Snapshot .sig downloaded ok! 02/06 16:40:22 Elapsed download time: 00:00:01 02/06 16:40:23 UpdateVideoname 02/06 16:40:23 Updating: idalarmcra = 384764 02/06 16:40:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384764 ORDER BY IDALARMCRA DESC 02/06 16:40:23 Just before Update() 02/06 16:40:23 Next idalarmcra = 384763 02/06 16:40:23 DownloadVideos::DownloadVideoOfAlarm 02/06 16:40:23 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:40:23 SAM|1210 02/06 16:40:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163925_452.mp4|108893| 02/06 16:40:23 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163925_452.mp4 02/06 16:40:23 Date = 20190602 02/06 16:40:23 Construct from filename date 02/06 16:40:23 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163925_452.mp4 02/06 16:40:23 Destination file not found 02/06 16:40:23 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163925_452.mp4 02/06 16:40:23 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_163925_452.mp4 02/06 16:40:23 DownloadFile ok... checking file destination 02/06 16:40:23 URLDownloadToFile ok 02/06 16:40:23 Video .sig downloaded ok! 02/06 16:40:23 Snapshot .sig downloaded ok! 02/06 16:40:23 Elapsed download time: 00:00:00 02/06 16:40:23 UpdateVideoname 02/06 16:40:23 Updating: idalarmcra = 384763 02/06 16:40:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384763 ORDER BY IDALARMCRA DESC 02/06 16:40:23 Just before Update() 02/06 16:40:23 Next idalarmcra = 384762 02/06 16:40:23 DownloadVideos::DownloadVideoOfAlarm 02/06 16:40:23 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:40:23 SAM|1208 02/06 16:40:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163924_199.mp4|106361| 02/06 16:40:24 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163924_199.mp4 02/06 16:40:24 Date = 20190602 02/06 16:40:24 Construct from filename date 02/06 16:40:24 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163924_199.mp4 02/06 16:40:24 Destination file not found 02/06 16:40:24 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163924_199.mp4 02/06 16:40:24 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_163924_199.mp4 02/06 16:40:24 DownloadFile ok... checking file destination 02/06 16:40:24 URLDownloadToFile ok 02/06 16:40:24 Video .sig downloaded ok! 02/06 16:40:25 Snapshot .sig downloaded ok! 02/06 16:40:25 Elapsed download time: 00:00:02 02/06 16:40:25 UpdateVideoname 02/06 16:40:25 Updating: idalarmcra = 384762 02/06 16:40:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384762 ORDER BY IDALARMCRA DESC 02/06 16:40:25 Just before Update() 02/06 16:40:25 Next idalarmcra = 384761 02/06 16:40:25 DownloadVideos::DownloadVideoOfAlarm 02/06 16:40:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 54 02/06 16:40:25 SAM|863 02/06 16:40:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_164034_7.mp4|115861| 02/06 16:40:25 FilenameSrc = 20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_164034_7.mp4 02/06 16:40:25 Date = 20190602 02/06 16:40:25 Construct from filename date 02/06 16:40:25 Destination: c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_164034_7.mp4 02/06 16:40:25 Destination file not found 02/06 16:40:25 http://5.26.158.177:21001/20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_164034_7.mp4 02/06 16:40:25 c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_164034_7.mp4 02/06 16:42:37 DownloadFile ok... checking file destination 02/06 16:42:37 URLDownloadToFile ok 02/06 16:42:38 Video .sig downloaded ok! 02/06 16:42:38 Snapshot .sig downloaded ok! 02/06 16:42:38 Elapsed download time: 00:02:13 02/06 16:42:38 UpdateVideoname 02/06 16:42:38 Updating: idalarmcra = 384761 02/06 16:42:38 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384761 ORDER BY IDALARMCRA DESC 02/06 16:42:38 Rollback executed. 02/06 16:42:38 RecordSet closed. 02/06 16:42:38 CheckDDBB 02/06 16:42:38 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:42:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:42:48 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 42 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:42:48 Alarms with pending videos found! 02/06 16:42:48 Next idalarmcra = 384776 02/06 16:42:48 DownloadVideos::DownloadVideoOfAlarm 02/06 16:42:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:42:48 SAM|1213 02/06 16:42:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:42:49 NOK answer received 02/06 16:42:49 UpdateVideoname 02/06 16:42:49 Updating: idalarmcra = 384776 02/06 16:42:49 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384776 ORDER BY IDALARMCRA DESC 02/06 16:42:49 Just before Update() 02/06 16:42:49 Next idalarmcra = 384775 02/06 16:42:49 DownloadVideos::DownloadVideoOfAlarm 02/06 16:42:49 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 16:42:49 SAM|4724 02/06 16:42:49 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_164402_163.mp4|117190| 02/06 16:42:49 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_164402_163.mp4 02/06 16:42:49 Date = 20190602 02/06 16:42:49 Construct from filename date 02/06 16:42:49 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_164402_163.mp4 02/06 16:42:49 Destination file not found 02/06 16:42:49 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_164402_163.mp4 02/06 16:42:49 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_164402_163.mp4 02/06 16:42:51 DownloadFile ok... checking file destination 02/06 16:42:51 URLDownloadToFile ok 02/06 16:42:52 Video .sig downloaded ok! 02/06 16:42:52 Snapshot .sig downloaded ok! 02/06 16:42:52 Elapsed download time: 00:00:03 02/06 16:42:52 UpdateVideoname 02/06 16:42:52 Updating: idalarmcra = 384775 02/06 16:42:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384775 ORDER BY IDALARMCRA DESC 02/06 16:42:52 Just before Update() 02/06 16:43:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:43:02 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:43:02 Alarms with pending videos found! 02/06 16:43:02 Next idalarmcra = 384778 02/06 16:43:02 DownloadVideos::DownloadVideoOfAlarm 02/06 16:43:02 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:43:02 SAM|1616 02/06 16:43:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_164252_241.mp4|101005| 02/06 16:43:03 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_164252_241.mp4 02/06 16:43:03 Date = 20190602 02/06 16:43:03 Construct from filename date 02/06 16:43:03 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_164252_241.mp4 02/06 16:43:03 Destination file not found 02/06 16:43:03 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_164252_241.mp4 02/06 16:43:03 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_164252_241.mp4 02/06 16:43:04 DownloadFile ok... checking file destination 02/06 16:43:04 URLDownloadToFile ok 02/06 16:43:04 Video .sig downloaded ok! 02/06 16:43:04 Snapshot .sig downloaded ok! 02/06 16:43:04 Elapsed download time: 00:00:02 02/06 16:43:04 UpdateVideoname 02/06 16:43:04 Updating: idalarmcra = 384778 02/06 16:43:04 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384778 ORDER BY IDALARMCRA DESC 02/06 16:43:04 Just before Update() 02/06 16:43:04 Next idalarmcra = 384777 02/06 16:43:04 DownloadVideos::DownloadVideoOfAlarm 02/06 16:43:04 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:43:04 SAM|781 02/06 16:43:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164248_137.mp4|107087| 02/06 16:43:05 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164248_137.mp4 02/06 16:43:05 Date = 20190602 02/06 16:43:05 Construct from filename date 02/06 16:43:05 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164248_137.mp4 02/06 16:43:05 Destination file not found 02/06 16:43:05 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164248_137.mp4 02/06 16:43:05 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164248_137.mp4 02/06 16:43:08 DownloadFile ok... checking file destination 02/06 16:43:08 URLDownloadToFile ok 02/06 16:43:08 Video .sig downloaded ok! 02/06 16:43:08 Snapshot .sig downloaded ok! 02/06 16:43:08 Elapsed download time: 00:00:04 02/06 16:43:09 UpdateVideoname 02/06 16:43:09 Updating: idalarmcra = 384777 02/06 16:43:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384777 ORDER BY IDALARMCRA DESC 02/06 16:43:09 Just before Update() 02/06 16:43:09 Next idalarmcra = 384776 02/06 16:43:09 DownloadVideos::DownloadVideoOfAlarm 02/06 16:43:09 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:43:09 SAM|1213 02/06 16:43:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164201_453.mp4|106617| 02/06 16:43:09 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164201_453.mp4 02/06 16:43:09 Date = 20190602 02/06 16:43:09 Construct from filename date 02/06 16:43:09 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164201_453.mp4 02/06 16:43:09 Destination file not found 02/06 16:43:09 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164201_453.mp4 02/06 16:43:09 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164201_453.mp4 02/06 16:43:09 DownloadFile ok... checking file destination 02/06 16:43:09 URLDownloadToFile ok 02/06 16:43:09 Video .sig downloaded ok! 02/06 16:43:10 Snapshot .sig downloaded ok! 02/06 16:43:10 Elapsed download time: 00:00:01 02/06 16:43:10 UpdateVideoname 02/06 16:43:10 Updating: idalarmcra = 384776 02/06 16:43:10 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384776 ORDER BY IDALARMCRA DESC 02/06 16:43:10 Rollback executed. 02/06 16:43:10 RecordSet closed. 02/06 16:43:10 CheckDDBB 02/06 16:43:10 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:43:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:43:20 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:43:20 Alarms with pending videos found! 02/06 16:43:20 Next idalarmcra = 384784 02/06 16:43:20 DownloadVideos::DownloadVideoOfAlarm 02/06 16:43:20 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:43:20 SAM|22999 02/06 16:43:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:43:20 NOK answer received 02/06 16:43:20 UpdateVideoname 02/06 16:43:20 Updating: idalarmcra = 384784 02/06 16:43:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384784 ORDER BY IDALARMCRA DESC 02/06 16:43:20 Just before Update() 02/06 16:43:20 Next idalarmcra = 384783 02/06 16:43:20 DownloadVideos::DownloadVideoOfAlarm 02/06 16:43:20 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:43:20 SAM|1214 02/06 16:43:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_164228_84.mp4|102134| 02/06 16:43:20 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_164228_84.mp4 02/06 16:43:20 Date = 20190602 02/06 16:43:20 Construct from filename date 02/06 16:43:20 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_164228_84.mp4 02/06 16:43:20 Destination file not found 02/06 16:43:20 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_164228_84.mp4 02/06 16:43:20 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_164228_84.mp4 02/06 16:43:21 DownloadFile ok... checking file destination 02/06 16:43:21 URLDownloadToFile ok 02/06 16:43:21 Video .sig downloaded ok! 02/06 16:43:21 Snapshot .sig downloaded ok! 02/06 16:43:21 Elapsed download time: 00:00:01 02/06 16:43:21 UpdateVideoname 02/06 16:43:21 Updating: idalarmcra = 384783 02/06 16:43:21 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384783 ORDER BY IDALARMCRA DESC 02/06 16:43:21 Just before Update() 02/06 16:43:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:43:31 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:43:31 Alarms with pending videos found! 02/06 16:43:31 Next idalarmcra = 384786 02/06 16:43:31 DownloadVideos::DownloadVideoOfAlarm 02/06 16:43:31 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:43:31 SAM|1619 02/06 16:43:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_164317_242.mp4|107509| 02/06 16:43:31 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_164317_242.mp4 02/06 16:43:31 Date = 20190602 02/06 16:43:31 Construct from filename date 02/06 16:43:31 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_164317_242.mp4 02/06 16:43:31 Destination file not found 02/06 16:43:31 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_164317_242.mp4 02/06 16:43:31 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_164317_242.mp4 02/06 16:43:32 DownloadFile ok... checking file destination 02/06 16:43:32 URLDownloadToFile ok 02/06 16:43:32 Video .sig downloaded ok! 02/06 16:43:32 Snapshot .sig downloaded ok! 02/06 16:43:32 Elapsed download time: 00:00:01 02/06 16:43:32 UpdateVideoname 02/06 16:43:32 Updating: idalarmcra = 384786 02/06 16:43:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384786 ORDER BY IDALARMCRA DESC 02/06 16:43:32 Just before Update() 02/06 16:43:32 Next idalarmcra = 384784 02/06 16:43:32 DownloadVideos::DownloadVideoOfAlarm 02/06 16:43:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:43:32 SAM|22999 02/06 16:43:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_164316_93.mp4|103617| 02/06 16:43:33 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_164316_93.mp4 02/06 16:43:33 Date = 20190602 02/06 16:43:33 Construct from filename date 02/06 16:43:33 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_164316_93.mp4 02/06 16:43:33 Destination file not found 02/06 16:43:33 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_164316_93.mp4 02/06 16:43:33 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_164316_93.mp4 02/06 16:43:34 DownloadFile ok... checking file destination 02/06 16:43:34 URLDownloadToFile ok 02/06 16:43:34 Video .sig downloaded ok! 02/06 16:43:35 Snapshot .sig downloaded ok! 02/06 16:43:35 Elapsed download time: 00:00:03 02/06 16:43:35 UpdateVideoname 02/06 16:43:35 Updating: idalarmcra = 384784 02/06 16:43:35 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384784 ORDER BY IDALARMCRA DESC 02/06 16:43:35 Just before Update() 02/06 16:43:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:43:45 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:43:45 Alarms with pending videos found! 02/06 16:43:45 Next idalarmcra = 384789 02/06 16:43:45 DownloadVideos::DownloadVideoOfAlarm 02/06 16:43:45 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:43:45 SAM|782 02/06 16:43:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164333_138.mp4|111117| 02/06 16:43:45 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164333_138.mp4 02/06 16:43:45 Date = 20190602 02/06 16:43:45 Construct from filename date 02/06 16:43:45 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164333_138.mp4 02/06 16:43:45 Destination file not found 02/06 16:43:45 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164333_138.mp4 02/06 16:43:45 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164333_138.mp4 02/06 16:43:48 DownloadFile ok... checking file destination 02/06 16:43:48 URLDownloadToFile ok 02/06 16:43:48 Video .sig downloaded ok! 02/06 16:43:48 Snapshot .sig downloaded ok! 02/06 16:43:48 Elapsed download time: 00:00:03 02/06 16:43:48 UpdateVideoname 02/06 16:43:48 Updating: idalarmcra = 384789 02/06 16:43:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384789 ORDER BY IDALARMCRA DESC 02/06 16:43:48 Just before Update() 02/06 16:43:48 Next idalarmcra = 384788 02/06 16:43:48 DownloadVideos::DownloadVideoOfAlarm 02/06 16:43:48 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:43:48 SAM|1215 02/06 16:43:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164244_454.mp4|104906| 02/06 16:43:48 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164244_454.mp4 02/06 16:43:48 Date = 20190602 02/06 16:43:48 Construct from filename date 02/06 16:43:48 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164244_454.mp4 02/06 16:43:48 Destination file not found 02/06 16:43:48 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164244_454.mp4 02/06 16:43:48 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164244_454.mp4 02/06 16:43:49 DownloadFile ok... checking file destination 02/06 16:43:49 URLDownloadToFile ok 02/06 16:43:49 Video .sig downloaded ok! 02/06 16:43:49 Snapshot .sig downloaded ok! 02/06 16:43:49 Elapsed download time: 00:00:01 02/06 16:43:49 UpdateVideoname 02/06 16:43:49 Updating: idalarmcra = 384788 02/06 16:43:49 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384788 ORDER BY IDALARMCRA DESC 02/06 16:43:49 Rollback executed. 02/06 16:43:49 RecordSet closed. 02/06 16:43:49 CheckDDBB 02/06 16:43:49 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:43:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:43:59 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 43 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:43:59 Don't have work. 02/06 16:44:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:44:09 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:44:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:44:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:44:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:44:29 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:44:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:44:39 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:44:39 Alarms with pending videos found! 02/06 16:44:39 Next idalarmcra = 384790 02/06 16:44:39 DownloadVideos::DownloadVideoOfAlarm 02/06 16:44:39 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 37 02/06 16:44:39 SAM|2519 02/06 16:44:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_164430_21.mp4|111162| 02/06 16:44:40 FilenameSrc = 20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_164430_21.mp4 02/06 16:44:40 Date = 20190602 02/06 16:44:40 Construct from filename date 02/06 16:44:40 Destination: c:\Davantis\CRAServer\\SITE_37\\20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_164430_21.mp4 02/06 16:44:40 Destination file not found 02/06 16:44:40 http://192.168.34.100:21000/20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_164430_21.mp4 02/06 16:44:40 c:\Davantis\CRAServer\\SITE_37\\20190602\\SiteDGS_VA_SALIHLI_A_Cam2_Event2_20190602_164430_21.mp4 02/06 16:44:41 DownloadFile ok... checking file destination 02/06 16:44:41 URLDownloadToFile ok 02/06 16:44:41 Video .sig downloaded ok! 02/06 16:44:41 Snapshot .sig downloaded ok! 02/06 16:44:41 Elapsed download time: 00:00:02 02/06 16:44:42 UpdateVideoname 02/06 16:44:42 Updating: idalarmcra = 384790 02/06 16:44:42 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384790 ORDER BY IDALARMCRA DESC 02/06 16:44:42 Just before Update() 02/06 16:44:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:44:52 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 44 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:44:52 Alarms with pending videos found! 02/06 16:44:52 Next idalarmcra = 384791 02/06 16:44:52 DownloadVideos::DownloadVideoOfAlarm 02/06 16:44:52 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:44:52 SAM|1620 02/06 16:44:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:44:52 NOK answer received 02/06 16:44:52 UpdateVideoname 02/06 16:44:52 Updating: idalarmcra = 384791 02/06 16:44:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384791 ORDER BY IDALARMCRA DESC 02/06 16:44:52 Just before Update() 02/06 16:45:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:45:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:45:02 Don't have work. 02/06 16:45:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:45:12 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:45:22 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:45:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:45:32 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:45:32 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:45:32 Alarms with pending videos found! 02/06 16:45:32 Next idalarmcra = 384793 02/06 16:45:32 DownloadVideos::DownloadVideoOfAlarm 02/06 16:45:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 33 02/06 16:45:33 SAM|3231 02/06 16:45:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_164523_36.mp4|104420| 02/06 16:45:33 FilenameSrc = 20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_164523_36.mp4 02/06 16:45:33 Date = 20190602 02/06 16:45:33 Construct from filename date 02/06 16:45:33 Destination: c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_164523_36.mp4 02/06 16:45:33 Destination file not found 02/06 16:45:33 http://192.168.31.100:21000/20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_164523_36.mp4 02/06 16:45:33 c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_164523_36.mp4 02/06 16:45:34 DownloadFile ok... checking file destination 02/06 16:45:34 URLDownloadToFile ok 02/06 16:45:34 Video .sig downloaded ok! 02/06 16:45:34 Snapshot .sig downloaded ok! 02/06 16:45:34 Elapsed download time: 00:00:01 02/06 16:45:35 UpdateVideoname 02/06 16:45:35 Updating: idalarmcra = 384793 02/06 16:45:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384793 ORDER BY IDALARMCRA DESC 02/06 16:45:35 Just before Update() 02/06 16:45:35 Next idalarmcra = 384792 02/06 16:45:35 DownloadVideos::DownloadVideoOfAlarm 02/06 16:45:35 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:45:35 SAM|1216 02/06 16:45:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164438_455.mp4|101350| 02/06 16:45:35 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164438_455.mp4 02/06 16:45:35 Date = 20190602 02/06 16:45:35 Construct from filename date 02/06 16:45:35 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164438_455.mp4 02/06 16:45:35 Destination file not found 02/06 16:45:35 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164438_455.mp4 02/06 16:45:35 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164438_455.mp4 02/06 16:45:36 DownloadFile ok... checking file destination 02/06 16:45:36 URLDownloadToFile ok 02/06 16:45:36 Video .sig downloaded ok! 02/06 16:45:36 Snapshot .sig downloaded ok! 02/06 16:45:36 Elapsed download time: 00:00:01 02/06 16:45:36 UpdateVideoname 02/06 16:45:36 Updating: idalarmcra = 384792 02/06 16:45:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384792 ORDER BY IDALARMCRA DESC 02/06 16:45:36 Just before Update() 02/06 16:45:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:45:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:45:46 Don't have work. 02/06 16:45:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:45:56 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 45 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:45:56 Alarms with pending videos found! 02/06 16:45:56 Next idalarmcra = 384794 02/06 16:45:56 DownloadVideos::DownloadVideoOfAlarm 02/06 16:45:56 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:45:56 SAM|783 02/06 16:45:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_164541_33.mp4|112557| 02/06 16:45:57 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_164541_33.mp4 02/06 16:45:57 Date = 20190602 02/06 16:45:57 Construct from filename date 02/06 16:45:57 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_164541_33.mp4 02/06 16:45:57 Destination file not found 02/06 16:45:57 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_164541_33.mp4 02/06 16:45:57 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_164541_33.mp4 02/06 16:45:57 DownloadFile ok... checking file destination 02/06 16:45:57 URLDownloadToFile ok 02/06 16:45:58 Video .sig downloaded ok! 02/06 16:45:58 Snapshot .sig downloaded ok! 02/06 16:45:58 Elapsed download time: 00:00:02 02/06 16:45:58 UpdateVideoname 02/06 16:45:58 Updating: idalarmcra = 384794 02/06 16:45:58 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384794 ORDER BY IDALARMCRA DESC 02/06 16:45:58 Just before Update() 02/06 16:46:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:46:08 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:46:08 Alarms with pending videos found! 02/06 16:46:08 Next idalarmcra = 384795 02/06 16:46:08 DownloadVideos::DownloadVideoOfAlarm 02/06 16:46:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:46:08 SAM|10915 02/06 16:46:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154600_145.mp4|101955| 02/06 16:46:09 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154600_145.mp4 02/06 16:46:09 Date = 20190602 02/06 16:46:09 Construct from filename date 02/06 16:46:09 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154600_145.mp4 02/06 16:46:09 Destination file not found 02/06 16:46:09 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154600_145.mp4 02/06 16:46:09 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154600_145.mp4 02/06 16:46:11 DownloadFile ok... checking file destination 02/06 16:46:11 URLDownloadToFile ok 02/06 16:46:11 Video .sig downloaded ok! 02/06 16:46:11 Snapshot .sig downloaded ok! 02/06 16:46:11 Elapsed download time: 00:00:03 02/06 16:46:11 UpdateVideoname 02/06 16:46:11 Updating: idalarmcra = 384795 02/06 16:46:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384795 ORDER BY IDALARMCRA DESC 02/06 16:46:11 Just before Update() 02/06 16:46:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:46:22 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:46:22 Alarms with pending videos found! 02/06 16:46:22 Next idalarmcra = 384797 02/06 16:46:22 DownloadVideos::DownloadVideoOfAlarm 02/06 16:46:22 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:46:22 SAM|1622 02/06 16:46:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_164611_77.mp4|114103| 02/06 16:46:22 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_164611_77.mp4 02/06 16:46:22 Date = 20190602 02/06 16:46:22 Construct from filename date 02/06 16:46:22 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_164611_77.mp4 02/06 16:46:22 Destination file not found 02/06 16:46:22 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_164611_77.mp4 02/06 16:46:22 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam2_Event2_20190602_164611_77.mp4 02/06 16:46:22 DownloadFile ok... checking file destination 02/06 16:46:22 URLDownloadToFile ok 02/06 16:46:22 Video .sig downloaded ok! 02/06 16:46:23 Snapshot .sig downloaded ok! 02/06 16:46:23 Elapsed download time: 00:00:01 02/06 16:46:23 UpdateVideoname 02/06 16:46:23 Updating: idalarmcra = 384797 02/06 16:46:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384797 ORDER BY IDALARMCRA DESC 02/06 16:46:23 Just before Update() 02/06 16:46:23 Next idalarmcra = 384796 02/06 16:46:23 DownloadVideos::DownloadVideoOfAlarm 02/06 16:46:23 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:46:23 SAM|1621 02/06 16:46:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_164607_251.mp4|100746| 02/06 16:46:23 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_164607_251.mp4 02/06 16:46:23 Date = 20190602 02/06 16:46:23 Construct from filename date 02/06 16:46:23 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_164607_251.mp4 02/06 16:46:23 Destination file not found 02/06 16:46:23 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_164607_251.mp4 02/06 16:46:23 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_164607_251.mp4 02/06 16:46:23 DownloadFile ok... checking file destination 02/06 16:46:23 URLDownloadToFile ok 02/06 16:46:23 Video .sig downloaded ok! 02/06 16:46:23 Snapshot .sig downloaded ok! 02/06 16:46:23 Elapsed download time: 00:00:00 02/06 16:46:23 UpdateVideoname 02/06 16:46:23 Updating: idalarmcra = 384796 02/06 16:46:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384796 ORDER BY IDALARMCRA DESC 02/06 16:46:23 Just before Update() 02/06 16:46:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:46:33 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:46:33 Alarms with pending videos found! 02/06 16:46:33 Next idalarmcra = 384798 02/06 16:46:33 DownloadVideos::DownloadVideoOfAlarm 02/06 16:46:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:46:33 SAM|784 02/06 16:46:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:46:34 NOK answer received 02/06 16:46:34 UpdateVideoname 02/06 16:46:34 Updating: idalarmcra = 384798 02/06 16:46:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384798 ORDER BY IDALARMCRA DESC 02/06 16:46:34 Just before Update() 02/06 16:46:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:46:44 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:46:44 Alarms with pending videos found! 02/06 16:46:44 Next idalarmcra = 384799 02/06 16:46:44 DownloadVideos::DownloadVideoOfAlarm 02/06 16:46:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 16:46:44 SAM|23000 02/06 16:46:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_164625_94.mp4|114057| 02/06 16:46:44 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_164625_94.mp4 02/06 16:46:44 Date = 20190602 02/06 16:46:44 Construct from filename date 02/06 16:46:44 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_164625_94.mp4 02/06 16:46:44 Destination file not found 02/06 16:46:44 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_164625_94.mp4 02/06 16:46:44 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_164625_94.mp4 02/06 16:46:46 DownloadFile ok... checking file destination 02/06 16:46:46 URLDownloadToFile ok 02/06 16:46:46 Video .sig downloaded ok! 02/06 16:46:46 Snapshot .sig downloaded ok! 02/06 16:46:46 Elapsed download time: 00:00:02 02/06 16:46:46 UpdateVideoname 02/06 16:46:46 Updating: idalarmcra = 384799 02/06 16:46:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384799 ORDER BY IDALARMCRA DESC 02/06 16:46:46 Just before Update() 02/06 16:46:46 Next idalarmcra = 384798 02/06 16:46:46 DownloadVideos::DownloadVideoOfAlarm 02/06 16:46:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:46:46 SAM|784 02/06 16:46:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164630_139.mp4|112826| 02/06 16:46:46 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164630_139.mp4 02/06 16:46:46 Date = 20190602 02/06 16:46:46 Construct from filename date 02/06 16:46:46 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164630_139.mp4 02/06 16:46:46 Destination file not found 02/06 16:46:46 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164630_139.mp4 02/06 16:46:46 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164630_139.mp4 02/06 16:46:47 DownloadFile ok... checking file destination 02/06 16:46:47 URLDownloadToFile ok 02/06 16:46:47 Video .sig downloaded ok! 02/06 16:46:47 Snapshot .sig downloaded ok! 02/06 16:46:47 Elapsed download time: 00:00:01 02/06 16:46:47 UpdateVideoname 02/06 16:46:47 Updating: idalarmcra = 384798 02/06 16:46:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384798 ORDER BY IDALARMCRA DESC 02/06 16:46:47 Just before Update() 02/06 16:46:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:46:57 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 46 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:46:57 Alarms with pending videos found! 02/06 16:46:57 Next idalarmcra = 384800 02/06 16:46:57 DownloadVideos::DownloadVideoOfAlarm 02/06 16:46:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:46:57 SAM|1623 02/06 16:46:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_164643_252.mp4|105641| 02/06 16:46:58 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_164643_252.mp4 02/06 16:46:58 Date = 20190602 02/06 16:46:58 Construct from filename date 02/06 16:46:58 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_164643_252.mp4 02/06 16:46:58 Destination file not found 02/06 16:46:58 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_164643_252.mp4 02/06 16:46:58 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_164643_252.mp4 02/06 16:46:58 DownloadFile ok... checking file destination 02/06 16:46:58 URLDownloadToFile ok 02/06 16:46:58 Video .sig downloaded ok! 02/06 16:46:58 Snapshot .sig downloaded ok! 02/06 16:46:58 Elapsed download time: 00:00:01 02/06 16:46:58 UpdateVideoname 02/06 16:46:58 Updating: idalarmcra = 384800 02/06 16:46:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384800 ORDER BY IDALARMCRA DESC 02/06 16:46:58 Just before Update() 02/06 16:47:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:47:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:47:08 Don't have work. 02/06 16:47:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:47:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:47:28 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:47:28 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:47:28 Alarms with pending videos found! 02/06 16:47:28 Next idalarmcra = 384801 02/06 16:47:28 DownloadVideos::DownloadVideoOfAlarm 02/06 16:47:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 16:47:28 SAM|4725 02/06 16:47:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:47:29 NOK answer received 02/06 16:47:29 UpdateVideoname 02/06 16:47:29 Updating: idalarmcra = 384801 02/06 16:47:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384801 ORDER BY IDALARMCRA DESC 02/06 16:47:29 Just before Update() 02/06 16:47:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:47:39 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:47:39 Alarms with pending videos found! 02/06 16:47:39 Next idalarmcra = 384802 02/06 16:47:39 DownloadVideos::DownloadVideoOfAlarm 02/06 16:47:39 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 16:47:39 SAM|163148 02/06 16:47:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_170014_107.mp4|111816| 02/06 16:47:39 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_170014_107.mp4 02/06 16:47:39 Date = 20190602 02/06 16:47:39 Construct from filename date 02/06 16:47:39 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_170014_107.mp4 02/06 16:47:39 Destination file not found 02/06 16:47:39 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_170014_107.mp4 02/06 16:47:39 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_170014_107.mp4 02/06 16:47:41 DownloadFile ok... checking file destination 02/06 16:47:41 URLDownloadToFile ok 02/06 16:47:41 Video .sig downloaded ok! 02/06 16:47:41 Snapshot .sig downloaded ok! 02/06 16:47:41 Elapsed download time: 00:00:02 02/06 16:47:41 UpdateVideoname 02/06 16:47:41 Updating: idalarmcra = 384802 02/06 16:47:41 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384802 ORDER BY IDALARMCRA DESC 02/06 16:47:41 Rollback executed. 02/06 16:47:41 RecordSet closed. 02/06 16:47:41 CheckDDBB 02/06 16:47:41 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 16:47:51 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:47:51 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 47 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:47:51 Alarms with pending videos found! 02/06 16:47:51 Next idalarmcra = 384805 02/06 16:47:51 DownloadVideos::DownloadVideoOfAlarm 02/06 16:47:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:47:51 SAM|10916 02/06 16:47:52 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154743_146.mp4|94472| 02/06 16:47:52 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154743_146.mp4 02/06 16:47:52 Date = 20190602 02/06 16:47:52 Construct from filename date 02/06 16:47:52 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154743_146.mp4 02/06 16:47:52 Destination file not found 02/06 16:47:52 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154743_146.mp4 02/06 16:47:52 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154743_146.mp4 02/06 16:47:53 DownloadFile ok... checking file destination 02/06 16:47:53 URLDownloadToFile ok 02/06 16:47:56 Video .sig downloaded ok! 02/06 16:47:56 Snapshot .sig downloaded ok! 02/06 16:47:56 Elapsed download time: 00:00:05 02/06 16:47:56 UpdateVideoname 02/06 16:47:56 Updating: idalarmcra = 384805 02/06 16:47:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384805 ORDER BY IDALARMCRA DESC 02/06 16:47:56 Just before Update() 02/06 16:47:56 Next idalarmcra = 384804 02/06 16:47:56 DownloadVideos::DownloadVideoOfAlarm 02/06 16:47:56 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 8 02/06 16:47:56 SAM|65866 02/06 16:47:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BORNOVA_B_Cam3_Event2_20190602_164737_57.mp4|106753| 02/06 16:47:56 FilenameSrc = 20190602\\SiteDGS_VA_BORNOVA_B_Cam3_Event2_20190602_164737_57.mp4 02/06 16:47:56 Date = 20190602 02/06 16:47:56 Construct from filename date 02/06 16:47:56 Destination: c:\Davantis\CRAServer\\SITE_8\\20190602\\SiteDGS_VA_BORNOVA_B_Cam3_Event2_20190602_164737_57.mp4 02/06 16:47:56 Destination file not found 02/06 16:47:56 http://192.168.24.101:21001/20190602\\SiteDGS_VA_BORNOVA_B_Cam3_Event2_20190602_164737_57.mp4 02/06 16:47:56 c:\Davantis\CRAServer\\SITE_8\\20190602\\SiteDGS_VA_BORNOVA_B_Cam3_Event2_20190602_164737_57.mp4 02/06 16:47:58 DownloadFile ok... checking file destination 02/06 16:47:58 URLDownloadToFile ok 02/06 16:47:58 Video .sig downloaded ok! 02/06 16:47:58 Snapshot .sig downloaded ok! 02/06 16:47:58 Elapsed download time: 00:00:02 02/06 16:47:58 UpdateVideoname 02/06 16:47:58 Updating: idalarmcra = 384804 02/06 16:47:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384804 ORDER BY IDALARMCRA DESC 02/06 16:47:58 Just before Update() 02/06 16:48:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:48:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:48:08 Don't have work. 02/06 16:48:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:48:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:48:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:48:29 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:48:29 Alarms with pending videos found! 02/06 16:48:29 Next idalarmcra = 384806 02/06 16:48:29 DownloadVideos::DownloadVideoOfAlarm 02/06 16:48:29 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 16:48:29 SAM|3950 02/06 16:48:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_164822_7.mp4|115339| 02/06 16:48:29 FilenameSrc = 20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_164822_7.mp4 02/06 16:48:29 Date = 20190602 02/06 16:48:29 Construct from filename date 02/06 16:48:29 Destination: c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_164822_7.mp4 02/06 16:48:29 Destination file not found 02/06 16:48:29 http://192.168.29.100:21000/20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_164822_7.mp4 02/06 16:48:29 c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_164822_7.mp4 02/06 16:48:30 DownloadFile ok... checking file destination 02/06 16:48:30 URLDownloadToFile ok 02/06 16:48:31 Video .sig downloaded ok! 02/06 16:48:31 Snapshot .sig downloaded ok! 02/06 16:48:31 Elapsed download time: 00:00:02 02/06 16:48:32 UpdateVideoname 02/06 16:48:32 Updating: idalarmcra = 384806 02/06 16:48:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384806 ORDER BY IDALARMCRA DESC 02/06 16:48:32 Just before Update() 02/06 16:48:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:48:42 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:48:42 Alarms with pending videos found! 02/06 16:48:42 Next idalarmcra = 384807 02/06 16:48:42 DownloadVideos::DownloadVideoOfAlarm 02/06 16:48:42 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:48:42 SAM|1217 02/06 16:48:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_164741_201.mp4|103050| 02/06 16:48:43 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_164741_201.mp4 02/06 16:48:43 Date = 20190602 02/06 16:48:43 Construct from filename date 02/06 16:48:43 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_164741_201.mp4 02/06 16:48:43 Destination file not found 02/06 16:48:43 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_164741_201.mp4 02/06 16:48:43 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_164741_201.mp4 02/06 16:48:43 DownloadFile ok... checking file destination 02/06 16:48:43 URLDownloadToFile ok 02/06 16:48:44 Video .sig downloaded ok! 02/06 16:48:44 Snapshot .sig downloaded ok! 02/06 16:48:44 Elapsed download time: 00:00:02 02/06 16:48:44 UpdateVideoname 02/06 16:48:44 Updating: idalarmcra = 384807 02/06 16:48:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384807 ORDER BY IDALARMCRA DESC 02/06 16:48:44 Just before Update() 02/06 16:48:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:48:54 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 48 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:48:54 Don't have work. 02/06 16:49:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:49:04 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:49:04 Alarms with pending videos found! 02/06 16:49:04 Next idalarmcra = 384812 02/06 16:49:04 DownloadVideos::DownloadVideoOfAlarm 02/06 16:49:04 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:49:04 SAM|785 02/06 16:49:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164853_140.mp4|106539| 02/06 16:49:05 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164853_140.mp4 02/06 16:49:05 Date = 20190602 02/06 16:49:05 Construct from filename date 02/06 16:49:05 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164853_140.mp4 02/06 16:49:05 Destination file not found 02/06 16:49:05 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164853_140.mp4 02/06 16:49:05 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_164853_140.mp4 02/06 16:49:05 DownloadFile ok... checking file destination 02/06 16:49:05 URLDownloadToFile ok 02/06 16:49:06 Video .sig downloaded ok! 02/06 16:49:06 Snapshot .sig downloaded ok! 02/06 16:49:06 Elapsed download time: 00:00:02 02/06 16:49:06 UpdateVideoname 02/06 16:49:06 Updating: idalarmcra = 384812 02/06 16:49:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384812 ORDER BY IDALARMCRA DESC 02/06 16:49:06 Just before Update() 02/06 16:49:06 Next idalarmcra = 384811 02/06 16:49:06 DownloadVideos::DownloadVideoOfAlarm 02/06 16:49:06 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:49:06 SAM|1221 02/06 16:49:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164813_456.mp4|106670| 02/06 16:49:06 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164813_456.mp4 02/06 16:49:06 Date = 20190602 02/06 16:49:06 Construct from filename date 02/06 16:49:06 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164813_456.mp4 02/06 16:49:06 Destination file not found 02/06 16:49:06 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164813_456.mp4 02/06 16:49:06 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164813_456.mp4 02/06 16:49:06 DownloadFile ok... checking file destination 02/06 16:49:06 URLDownloadToFile ok 02/06 16:49:07 Video .sig downloaded ok! 02/06 16:49:07 Snapshot .sig downloaded ok! 02/06 16:49:07 Elapsed download time: 00:00:01 02/06 16:49:07 UpdateVideoname 02/06 16:49:07 Updating: idalarmcra = 384811 02/06 16:49:07 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384811 ORDER BY IDALARMCRA DESC 02/06 16:49:07 Just before Update() 02/06 16:49:07 Next idalarmcra = 384810 02/06 16:49:07 DownloadVideos::DownloadVideoOfAlarm 02/06 16:49:07 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:49:07 SAM|1220 02/06 16:49:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_164809_202.mp4|101525| 02/06 16:49:07 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_164809_202.mp4 02/06 16:49:07 Date = 20190602 02/06 16:49:07 Construct from filename date 02/06 16:49:07 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_164809_202.mp4 02/06 16:49:07 Destination file not found 02/06 16:49:07 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_164809_202.mp4 02/06 16:49:07 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_164809_202.mp4 02/06 16:49:08 DownloadFile ok... checking file destination 02/06 16:49:08 URLDownloadToFile ok 02/06 16:49:08 Video .sig downloaded ok! 02/06 16:49:08 Snapshot .sig downloaded ok! 02/06 16:49:08 Elapsed download time: 00:00:01 02/06 16:49:08 UpdateVideoname 02/06 16:49:08 Updating: idalarmcra = 384810 02/06 16:49:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384810 ORDER BY IDALARMCRA DESC 02/06 16:49:08 Just before Update() 02/06 16:49:08 Next idalarmcra = 384809 02/06 16:49:08 DownloadVideos::DownloadVideoOfAlarm 02/06 16:49:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:49:08 SAM|1219 02/06 16:49:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_164807_86.mp4|111037| 02/06 16:49:09 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_164807_86.mp4 02/06 16:49:09 Date = 20190602 02/06 16:49:09 Construct from filename date 02/06 16:49:09 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_164807_86.mp4 02/06 16:49:09 Destination file not found 02/06 16:49:09 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_164807_86.mp4 02/06 16:49:09 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_164807_86.mp4 02/06 16:49:09 DownloadFile ok... checking file destination 02/06 16:49:09 URLDownloadToFile ok 02/06 16:49:09 Video .sig downloaded ok! 02/06 16:49:09 Snapshot .sig downloaded ok! 02/06 16:49:09 Elapsed download time: 00:00:01 02/06 16:49:09 UpdateVideoname 02/06 16:49:09 Updating: idalarmcra = 384809 02/06 16:49:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384809 ORDER BY IDALARMCRA DESC 02/06 16:49:09 Just before Update() 02/06 16:49:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:49:19 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:49:19 Alarms with pending videos found! 02/06 16:49:19 Next idalarmcra = 384813 02/06 16:49:19 DownloadVideos::DownloadVideoOfAlarm 02/06 16:49:20 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:49:20 SAM|10917 02/06 16:49:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154910_147.mp4|103253| 02/06 16:49:20 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154910_147.mp4 02/06 16:49:20 Date = 20190602 02/06 16:49:20 Construct from filename date 02/06 16:49:20 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154910_147.mp4 02/06 16:49:20 Destination file not found 02/06 16:49:20 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154910_147.mp4 02/06 16:49:20 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_154910_147.mp4 02/06 16:49:20 DownloadFile ok... checking file destination 02/06 16:49:20 URLDownloadToFile ok 02/06 16:49:21 Video .sig downloaded ok! 02/06 16:49:21 Snapshot .sig downloaded ok! 02/06 16:49:21 Elapsed download time: 00:00:01 02/06 16:49:21 UpdateVideoname 02/06 16:49:21 Updating: idalarmcra = 384813 02/06 16:49:21 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384813 ORDER BY IDALARMCRA DESC 02/06 16:49:21 Just before Update() 02/06 16:49:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:49:31 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:49:31 Don't have work. 02/06 16:49:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:49:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:49:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:49:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 49 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:50:01 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:50:01 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:50:01 Alarms with pending videos found! 02/06 16:50:01 Next idalarmcra = 384814 02/06 16:50:01 DownloadVideos::DownloadVideoOfAlarm 02/06 16:50:01 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:50:01 SAM|1222 02/06 16:50:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164901_457.mp4|107650| 02/06 16:50:02 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164901_457.mp4 02/06 16:50:02 Date = 20190602 02/06 16:50:02 Construct from filename date 02/06 16:50:02 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164901_457.mp4 02/06 16:50:02 Destination file not found 02/06 16:50:02 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164901_457.mp4 02/06 16:50:02 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_164901_457.mp4 02/06 16:50:02 DownloadFile ok... checking file destination 02/06 16:50:02 URLDownloadToFile ok 02/06 16:50:02 Video .sig downloaded ok! 02/06 16:50:02 Snapshot .sig downloaded ok! 02/06 16:50:02 Elapsed download time: 00:00:01 02/06 16:50:02 UpdateVideoname 02/06 16:50:02 Updating: idalarmcra = 384814 02/06 16:50:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384814 ORDER BY IDALARMCRA DESC 02/06 16:50:02 Just before Update() 02/06 16:50:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:50:12 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:50:12 Don't have work. 02/06 16:50:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:50:22 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:50:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:50:32 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:50:32 Alarms with pending videos found! 02/06 16:50:32 Next idalarmcra = 384815 02/06 16:50:32 DownloadVideos::DownloadVideoOfAlarm 02/06 16:50:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 16:50:32 SAM|163149 02/06 16:50:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_170314_108.mp4|110165| 02/06 16:50:33 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_170314_108.mp4 02/06 16:50:33 Date = 20190602 02/06 16:50:33 Construct from filename date 02/06 16:50:33 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_170314_108.mp4 02/06 16:50:33 Destination file not found 02/06 16:50:33 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_170314_108.mp4 02/06 16:50:33 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_170314_108.mp4 02/06 16:50:34 DownloadFile ok... checking file destination 02/06 16:50:34 URLDownloadToFile ok 02/06 16:50:34 Video .sig downloaded ok! 02/06 16:50:35 Snapshot .sig downloaded ok! 02/06 16:50:35 Elapsed download time: 00:00:03 02/06 16:50:35 UpdateVideoname 02/06 16:50:35 Updating: idalarmcra = 384815 02/06 16:50:35 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384815 ORDER BY IDALARMCRA DESC 02/06 16:50:35 Just before Update() 02/06 16:50:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:50:45 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:50:45 Don't have work. 02/06 16:50:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:50:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 50 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:51:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:51:05 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:51:05 Alarms with pending videos found! 02/06 16:51:05 Next idalarmcra = 384817 02/06 16:51:05 DownloadVideos::DownloadVideoOfAlarm 02/06 16:51:05 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 16:51:05 SAM|10027 02/06 16:51:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_165059_245.mp4|106676| 02/06 16:51:06 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_165059_245.mp4 02/06 16:51:06 Date = 20190602 02/06 16:51:06 Construct from filename date 02/06 16:51:06 Destination: c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_165059_245.mp4 02/06 16:51:06 Destination file not found 02/06 16:51:06 http://192.168.23.100:21000/20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_165059_245.mp4 02/06 16:51:06 c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_165059_245.mp4 02/06 16:51:07 DownloadFile ok... checking file destination 02/06 16:51:07 URLDownloadToFile ok 02/06 16:51:08 Video .sig downloaded ok! 02/06 16:51:08 Snapshot .sig downloaded ok! 02/06 16:51:08 Elapsed download time: 00:00:03 02/06 16:51:08 UpdateVideoname 02/06 16:51:08 Updating: idalarmcra = 384817 02/06 16:51:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384817 ORDER BY IDALARMCRA DESC 02/06 16:51:08 Just before Update() 02/06 16:51:08 Next idalarmcra = 384816 02/06 16:51:08 DownloadVideos::DownloadVideoOfAlarm 02/06 16:51:08 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 54 02/06 16:51:08 SAM|864 02/06 16:51:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_165121_8.mp4|107425| 02/06 16:51:09 FilenameSrc = 20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_165121_8.mp4 02/06 16:51:09 Date = 20190602 02/06 16:51:09 Construct from filename date 02/06 16:51:09 Destination: c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_165121_8.mp4 02/06 16:51:09 Destination file not found 02/06 16:51:09 http://5.26.158.177:21001/20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_165121_8.mp4 02/06 16:51:09 c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_165121_8.mp4 02/06 16:51:13 DownloadFile ok... checking file destination 02/06 16:51:13 URLDownloadToFile ok 02/06 16:51:16 Video .sig downloaded ok! 02/06 16:51:17 Snapshot .sig downloaded ok! 02/06 16:51:17 Elapsed download time: 00:00:09 02/06 16:51:17 UpdateVideoname 02/06 16:51:17 Updating: idalarmcra = 384816 02/06 16:51:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384816 ORDER BY IDALARMCRA DESC 02/06 16:51:17 Just before Update() 02/06 16:51:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:51:27 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:51:27 Alarms with pending videos found! 02/06 16:51:27 Next idalarmcra = 384819 02/06 16:51:27 DownloadVideos::DownloadVideoOfAlarm 02/06 16:51:27 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 16:51:27 SAM|10028 02/06 16:51:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_A_Cam1_Event2_20190602_165110_39.mp4|95145| 02/06 16:51:28 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_A_Cam1_Event2_20190602_165110_39.mp4 02/06 16:51:28 Date = 20190602 02/06 16:51:28 Construct from filename date 02/06 16:51:28 Destination: c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam1_Event2_20190602_165110_39.mp4 02/06 16:51:28 Destination file not found 02/06 16:51:28 http://192.168.23.100:21000/20190602\\SiteDGS_VA_BERGAMA_A_Cam1_Event2_20190602_165110_39.mp4 02/06 16:51:28 c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam1_Event2_20190602_165110_39.mp4 02/06 16:51:30 DownloadFile ok... checking file destination 02/06 16:51:30 URLDownloadToFile ok 02/06 16:51:30 Video .sig downloaded ok! 02/06 16:51:30 Snapshot .sig downloaded ok! 02/06 16:51:30 Elapsed download time: 00:00:03 02/06 16:51:30 UpdateVideoname 02/06 16:51:30 Updating: idalarmcra = 384819 02/06 16:51:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384819 ORDER BY IDALARMCRA DESC 02/06 16:51:30 Just before Update() 02/06 16:51:30 Next idalarmcra = 384818 02/06 16:51:30 DownloadVideos::DownloadVideoOfAlarm 02/06 16:51:30 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 16:51:30 SAM|14793 02/06 16:51:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_165112_561.mp4|119821| 02/06 16:51:30 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_165112_561.mp4 02/06 16:51:30 Date = 20190602 02/06 16:51:30 Construct from filename date 02/06 16:51:30 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_165112_561.mp4 02/06 16:51:30 Destination file not found 02/06 16:51:30 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_165112_561.mp4 02/06 16:51:30 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_165112_561.mp4 02/06 16:51:33 DownloadFile ok... checking file destination 02/06 16:51:33 URLDownloadToFile ok 02/06 16:51:33 Video .sig downloaded ok! 02/06 16:51:33 Snapshot .sig downloaded ok! 02/06 16:51:33 Elapsed download time: 00:00:03 02/06 16:51:33 UpdateVideoname 02/06 16:51:33 Updating: idalarmcra = 384818 02/06 16:51:33 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384818 ORDER BY IDALARMCRA DESC 02/06 16:51:33 Just before Update() 02/06 16:51:43 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:51:43 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:51:43 Don't have work. 02/06 16:51:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:51:53 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 51 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:52:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:52:03 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:52:03 Alarms with pending videos found! 02/06 16:52:03 Next idalarmcra = 384820 02/06 16:52:03 DownloadVideos::DownloadVideoOfAlarm 02/06 16:52:03 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:52:03 SAM|10918 02/06 16:52:04 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_155155_148.mp4|96864| 02/06 16:52:04 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_155155_148.mp4 02/06 16:52:04 Date = 20190602 02/06 16:52:04 Construct from filename date 02/06 16:52:04 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_155155_148.mp4 02/06 16:52:04 Destination file not found 02/06 16:52:04 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_155155_148.mp4 02/06 16:52:04 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_155155_148.mp4 02/06 16:52:05 DownloadFile ok... checking file destination 02/06 16:52:05 URLDownloadToFile ok 02/06 16:52:05 Video .sig downloaded ok! 02/06 16:52:06 Snapshot .sig downloaded ok! 02/06 16:52:06 Elapsed download time: 00:00:03 02/06 16:52:06 UpdateVideoname 02/06 16:52:06 Updating: idalarmcra = 384820 02/06 16:52:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384820 ORDER BY IDALARMCRA DESC 02/06 16:52:06 Just before Update() 02/06 16:52:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:52:16 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:52:16 Alarms with pending videos found! 02/06 16:52:16 Next idalarmcra = 384821 02/06 16:52:16 DownloadVideos::DownloadVideoOfAlarm 02/06 16:52:16 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 16:52:16 SAM|10919 02/06 16:52:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_155209_149.mp4|92773| 02/06 16:52:16 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_155209_149.mp4 02/06 16:52:16 Date = 20190602 02/06 16:52:16 Construct from filename date 02/06 16:52:16 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_155209_149.mp4 02/06 16:52:16 Destination file not found 02/06 16:52:16 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_155209_149.mp4 02/06 16:52:16 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_155209_149.mp4 02/06 16:52:18 DownloadFile ok... checking file destination 02/06 16:52:18 URLDownloadToFile ok 02/06 16:52:18 Video .sig downloaded ok! 02/06 16:52:18 Snapshot .sig downloaded ok! 02/06 16:52:18 Elapsed download time: 00:00:02 02/06 16:52:18 UpdateVideoname 02/06 16:52:18 Updating: idalarmcra = 384821 02/06 16:52:18 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384821 ORDER BY IDALARMCRA DESC 02/06 16:52:18 Just before Update() 02/06 16:52:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:52:28 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:52:28 Alarms with pending videos found! 02/06 16:52:28 Next idalarmcra = 384822 02/06 16:52:28 DownloadVideos::DownloadVideoOfAlarm 02/06 16:52:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 33 02/06 16:52:28 SAM|3232 02/06 16:52:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_165220_37.mp4|109831| 02/06 16:52:29 FilenameSrc = 20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_165220_37.mp4 02/06 16:52:29 Date = 20190602 02/06 16:52:29 Construct from filename date 02/06 16:52:29 Destination: c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_165220_37.mp4 02/06 16:52:29 Destination file not found 02/06 16:52:29 http://192.168.31.100:21000/20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_165220_37.mp4 02/06 16:52:29 c:\Davantis\CRAServer\\SITE_33\\20190602\\SiteDGS_VA_ALASEHIR_A_Cam3_Event2_20190602_165220_37.mp4 02/06 16:52:30 DownloadFile ok... checking file destination 02/06 16:52:30 URLDownloadToFile ok 02/06 16:52:30 Video .sig downloaded ok! 02/06 16:52:30 Snapshot .sig downloaded ok! 02/06 16:52:30 Elapsed download time: 00:00:02 02/06 16:52:30 UpdateVideoname 02/06 16:52:30 Updating: idalarmcra = 384822 02/06 16:52:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384822 ORDER BY IDALARMCRA DESC 02/06 16:52:30 Just before Update() 02/06 16:52:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:52:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:52:41 Don't have work. 02/06 16:52:51 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:52:51 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 52 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:53:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:53:01 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:53:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:53:11 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:53:11 Alarms with pending videos found! 02/06 16:53:11 Next idalarmcra = 384824 02/06 16:53:11 DownloadVideos::DownloadVideoOfAlarm 02/06 16:53:11 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:53:11 SAM|1223 02/06 16:53:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165211_87.mp4|110882| 02/06 16:53:11 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165211_87.mp4 02/06 16:53:11 Date = 20190602 02/06 16:53:11 Construct from filename date 02/06 16:53:11 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165211_87.mp4 02/06 16:53:11 Destination file not found 02/06 16:53:11 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165211_87.mp4 02/06 16:53:11 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165211_87.mp4 02/06 16:53:12 DownloadFile ok... checking file destination 02/06 16:53:12 URLDownloadToFile ok 02/06 16:53:12 Video .sig downloaded ok! 02/06 16:53:12 Snapshot .sig downloaded ok! 02/06 16:53:12 Elapsed download time: 00:00:01 02/06 16:53:12 UpdateVideoname 02/06 16:53:12 Updating: idalarmcra = 384824 02/06 16:53:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384824 ORDER BY IDALARMCRA DESC 02/06 16:53:12 Just before Update() 02/06 16:53:12 Next idalarmcra = 384823 02/06 16:53:12 DownloadVideos::DownloadVideoOfAlarm 02/06 16:53:12 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:53:12 SAM|1624 02/06 16:53:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165300_253.mp4|96479| 02/06 16:53:12 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165300_253.mp4 02/06 16:53:12 Date = 20190602 02/06 16:53:12 Construct from filename date 02/06 16:53:12 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165300_253.mp4 02/06 16:53:12 Destination file not found 02/06 16:53:12 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165300_253.mp4 02/06 16:53:12 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165300_253.mp4 02/06 16:53:13 DownloadFile ok... checking file destination 02/06 16:53:13 URLDownloadToFile ok 02/06 16:53:13 Video .sig downloaded ok! 02/06 16:53:13 Snapshot .sig downloaded ok! 02/06 16:53:13 Elapsed download time: 00:00:01 02/06 16:53:13 UpdateVideoname 02/06 16:53:13 Updating: idalarmcra = 384823 02/06 16:53:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384823 ORDER BY IDALARMCRA DESC 02/06 16:53:13 Just before Update() 02/06 16:53:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:53:23 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:53:23 Don't have work. 02/06 16:53:33 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:53:33 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:53:33 Alarms with pending videos found! 02/06 16:53:33 Next idalarmcra = 384825 02/06 16:53:33 DownloadVideos::DownloadVideoOfAlarm 02/06 16:53:33 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:53:33 SAM|1224 02/06 16:53:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165240_458.mp4|105050| 02/06 16:53:34 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165240_458.mp4 02/06 16:53:34 Date = 20190602 02/06 16:53:34 Construct from filename date 02/06 16:53:34 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165240_458.mp4 02/06 16:53:34 Destination file not found 02/06 16:53:34 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165240_458.mp4 02/06 16:53:34 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165240_458.mp4 02/06 16:53:34 DownloadFile ok... checking file destination 02/06 16:53:34 URLDownloadToFile ok 02/06 16:53:34 Video .sig downloaded ok! 02/06 16:53:34 Snapshot .sig downloaded ok! 02/06 16:53:34 Elapsed download time: 00:00:01 02/06 16:53:34 UpdateVideoname 02/06 16:53:34 Updating: idalarmcra = 384825 02/06 16:53:34 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384825 ORDER BY IDALARMCRA DESC 02/06 16:53:34 Just before Update() 02/06 16:53:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:53:44 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:53:44 Alarms with pending videos found! 02/06 16:53:44 Next idalarmcra = 384826 02/06 16:53:44 DownloadVideos::DownloadVideoOfAlarm 02/06 16:53:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 16:53:44 SAM|163150 02/06 16:53:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_170626_41.mp4|113955| 02/06 16:53:45 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_170626_41.mp4 02/06 16:53:45 Date = 20190602 02/06 16:53:45 Construct from filename date 02/06 16:53:45 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_170626_41.mp4 02/06 16:53:45 Destination file not found 02/06 16:53:45 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_170626_41.mp4 02/06 16:53:45 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam2_Event2_20190602_170626_41.mp4 02/06 16:53:46 DownloadFile ok... checking file destination 02/06 16:53:46 URLDownloadToFile ok 02/06 16:53:46 Video .sig downloaded ok! 02/06 16:53:46 Snapshot .sig downloaded ok! 02/06 16:53:46 Elapsed download time: 00:00:02 02/06 16:53:46 UpdateVideoname 02/06 16:53:46 Updating: idalarmcra = 384826 02/06 16:53:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384826 ORDER BY IDALARMCRA DESC 02/06 16:53:46 Just before Update() 02/06 16:53:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:53:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 53 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:53:56 Don't have work. 02/06 16:54:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:54:06 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:54:16 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:54:17 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:54:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:54:27 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:54:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:54:37 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:54:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:54:47 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:54:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:54:57 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 54 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:54:57 Alarms with pending videos found! 02/06 16:54:57 Next idalarmcra = 384827 02/06 16:54:57 DownloadVideos::DownloadVideoOfAlarm 02/06 16:54:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:54:57 SAM|1225 02/06 16:54:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165404_459.mp4|107337| 02/06 16:54:57 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165404_459.mp4 02/06 16:54:57 Date = 20190602 02/06 16:54:57 Construct from filename date 02/06 16:54:57 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165404_459.mp4 02/06 16:54:57 Destination file not found 02/06 16:54:57 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165404_459.mp4 02/06 16:54:57 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165404_459.mp4 02/06 16:54:58 DownloadFile ok... checking file destination 02/06 16:54:58 URLDownloadToFile ok 02/06 16:54:58 Video .sig downloaded ok! 02/06 16:54:58 Snapshot .sig downloaded ok! 02/06 16:54:58 Elapsed download time: 00:00:01 02/06 16:54:58 UpdateVideoname 02/06 16:54:58 Updating: idalarmcra = 384827 02/06 16:54:58 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384827 ORDER BY IDALARMCRA DESC 02/06 16:54:58 Just before Update() 02/06 16:55:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:55:08 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:55:08 Alarms with pending videos found! 02/06 16:55:08 Next idalarmcra = 384828 02/06 16:55:08 DownloadVideos::DownloadVideoOfAlarm 02/06 16:55:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:55:08 SAM|1625 02/06 16:55:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:55:08 NOK answer received 02/06 16:55:08 UpdateVideoname 02/06 16:55:08 Updating: idalarmcra = 384828 02/06 16:55:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384828 ORDER BY IDALARMCRA DESC 02/06 16:55:08 Just before Update() 02/06 16:55:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:55:19 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:55:19 Don't have work. 02/06 16:55:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:55:29 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:55:29 Alarms with pending videos found! 02/06 16:55:29 Next idalarmcra = 384833 02/06 16:55:29 DownloadVideos::DownloadVideoOfAlarm 02/06 16:55:29 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:55:29 SAM|1228 02/06 16:55:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:55:29 NOK answer received 02/06 16:55:29 UpdateVideoname 02/06 16:55:29 Updating: idalarmcra = 384833 02/06 16:55:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384833 ORDER BY IDALARMCRA DESC 02/06 16:55:29 Just before Update() 02/06 16:55:29 Next idalarmcra = 384832 02/06 16:55:29 DownloadVideos::DownloadVideoOfAlarm 02/06 16:55:30 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:55:30 SAM|1626 02/06 16:55:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 16:55:30 NOK answer received 02/06 16:55:30 UpdateVideoname 02/06 16:55:30 Updating: idalarmcra = 384832 02/06 16:55:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384832 ORDER BY IDALARMCRA DESC 02/06 16:55:30 Just before Update() 02/06 16:55:30 Next idalarmcra = 384831 02/06 16:55:30 DownloadVideos::DownloadVideoOfAlarm 02/06 16:55:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:55:30 SAM|786 02/06 16:55:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_165523_141.mp4|107289| 02/06 16:55:30 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_165523_141.mp4 02/06 16:55:30 Date = 20190602 02/06 16:55:30 Construct from filename date 02/06 16:55:30 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_165523_141.mp4 02/06 16:55:30 Destination file not found 02/06 16:55:30 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_165523_141.mp4 02/06 16:55:30 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_165523_141.mp4 02/06 16:55:34 DownloadFile ok... checking file destination 02/06 16:55:34 URLDownloadToFile ok 02/06 16:55:34 Video .sig downloaded ok! 02/06 16:55:34 Snapshot .sig downloaded ok! 02/06 16:55:34 Elapsed download time: 00:00:04 02/06 16:55:35 UpdateVideoname 02/06 16:55:35 Updating: idalarmcra = 384831 02/06 16:55:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384831 ORDER BY IDALARMCRA DESC 02/06 16:55:35 Just before Update() 02/06 16:55:35 Next idalarmcra = 384830 02/06 16:55:35 DownloadVideos::DownloadVideoOfAlarm 02/06 16:55:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:55:35 SAM|1227 02/06 16:55:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_165436_203.mp4|104960| 02/06 16:55:35 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_165436_203.mp4 02/06 16:55:35 Date = 20190602 02/06 16:55:35 Construct from filename date 02/06 16:55:35 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_165436_203.mp4 02/06 16:55:35 Destination file not found 02/06 16:55:35 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_165436_203.mp4 02/06 16:55:35 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_165436_203.mp4 02/06 16:55:35 DownloadFile ok... checking file destination 02/06 16:55:35 URLDownloadToFile ok 02/06 16:55:35 Video .sig downloaded ok! 02/06 16:55:35 Snapshot .sig downloaded ok! 02/06 16:55:35 Elapsed download time: 00:00:00 02/06 16:55:35 UpdateVideoname 02/06 16:55:35 Updating: idalarmcra = 384830 02/06 16:55:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384830 ORDER BY IDALARMCRA DESC 02/06 16:55:35 Just before Update() 02/06 16:55:35 Next idalarmcra = 384829 02/06 16:55:35 DownloadVideos::DownloadVideoOfAlarm 02/06 16:55:35 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:55:35 SAM|1226 02/06 16:55:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165435_460.mp4|110641| 02/06 16:55:36 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165435_460.mp4 02/06 16:55:36 Date = 20190602 02/06 16:55:36 Construct from filename date 02/06 16:55:36 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165435_460.mp4 02/06 16:55:36 Destination file not found 02/06 16:55:36 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165435_460.mp4 02/06 16:55:36 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165435_460.mp4 02/06 16:55:36 DownloadFile ok... checking file destination 02/06 16:55:36 URLDownloadToFile ok 02/06 16:55:36 Video .sig downloaded ok! 02/06 16:55:36 Snapshot .sig downloaded ok! 02/06 16:55:36 Elapsed download time: 00:00:01 02/06 16:55:36 UpdateVideoname 02/06 16:55:36 Updating: idalarmcra = 384829 02/06 16:55:36 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384829 ORDER BY IDALARMCRA DESC 02/06 16:55:36 Just before Update() 02/06 16:55:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:55:46 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:55:46 Alarms with pending videos found! 02/06 16:55:46 Next idalarmcra = 384833 02/06 16:55:46 DownloadVideos::DownloadVideoOfAlarm 02/06 16:55:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:55:46 SAM|1228 02/06 16:55:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165437_88.mp4|108268| 02/06 16:55:46 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165437_88.mp4 02/06 16:55:46 Date = 20190602 02/06 16:55:46 Construct from filename date 02/06 16:55:46 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165437_88.mp4 02/06 16:55:46 Destination file not found 02/06 16:55:46 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165437_88.mp4 02/06 16:55:46 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165437_88.mp4 02/06 16:55:47 DownloadFile ok... checking file destination 02/06 16:55:47 URLDownloadToFile ok 02/06 16:55:47 Video .sig downloaded ok! 02/06 16:55:47 Snapshot .sig downloaded ok! 02/06 16:55:47 Elapsed download time: 00:00:01 02/06 16:55:47 UpdateVideoname 02/06 16:55:47 Updating: idalarmcra = 384833 02/06 16:55:47 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384833 ORDER BY IDALARMCRA DESC 02/06 16:55:47 Just before Update() 02/06 16:55:47 Next idalarmcra = 384832 02/06 16:55:47 DownloadVideos::DownloadVideoOfAlarm 02/06 16:55:47 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:55:47 SAM|1626 02/06 16:55:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165525_255.mp4|105991| 02/06 16:55:47 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165525_255.mp4 02/06 16:55:47 Date = 20190602 02/06 16:55:47 Construct from filename date 02/06 16:55:47 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165525_255.mp4 02/06 16:55:47 Destination file not found 02/06 16:55:47 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165525_255.mp4 02/06 16:55:47 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165525_255.mp4 02/06 16:55:48 DownloadFile ok... checking file destination 02/06 16:55:48 URLDownloadToFile ok 02/06 16:55:48 Video .sig downloaded ok! 02/06 16:55:48 Snapshot .sig downloaded ok! 02/06 16:55:48 Elapsed download time: 00:00:01 02/06 16:55:48 UpdateVideoname 02/06 16:55:48 Updating: idalarmcra = 384832 02/06 16:55:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384832 ORDER BY IDALARMCRA DESC 02/06 16:55:48 Just before Update() 02/06 16:55:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:55:58 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 55 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:55:58 Don't have work. 02/06 16:56:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:56:08 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:56:08 Alarms with pending videos found! 02/06 16:56:08 Next idalarmcra = 384834 02/06 16:56:08 DownloadVideos::DownloadVideoOfAlarm 02/06 16:56:09 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:56:09 SAM|1229 02/06 16:56:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165516_461.mp4|106726| 02/06 16:56:09 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165516_461.mp4 02/06 16:56:09 Date = 20190602 02/06 16:56:09 Construct from filename date 02/06 16:56:09 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165516_461.mp4 02/06 16:56:09 Destination file not found 02/06 16:56:09 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165516_461.mp4 02/06 16:56:09 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165516_461.mp4 02/06 16:56:09 DownloadFile ok... checking file destination 02/06 16:56:09 URLDownloadToFile ok 02/06 16:56:09 Video .sig downloaded ok! 02/06 16:56:09 Snapshot .sig downloaded ok! 02/06 16:56:09 Elapsed download time: 00:00:00 02/06 16:56:09 UpdateVideoname 02/06 16:56:09 Updating: idalarmcra = 384834 02/06 16:56:09 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384834 ORDER BY IDALARMCRA DESC 02/06 16:56:09 Just before Update() 02/06 16:56:19 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:56:19 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:56:19 Alarms with pending videos found! 02/06 16:56:19 Next idalarmcra = 384835 02/06 16:56:19 DownloadVideos::DownloadVideoOfAlarm 02/06 16:56:19 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:56:19 SAM|1230 02/06 16:56:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165519_89.mp4|106689| 02/06 16:56:20 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165519_89.mp4 02/06 16:56:20 Date = 20190602 02/06 16:56:20 Construct from filename date 02/06 16:56:20 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165519_89.mp4 02/06 16:56:20 Destination file not found 02/06 16:56:20 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165519_89.mp4 02/06 16:56:20 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165519_89.mp4 02/06 16:56:20 DownloadFile ok... checking file destination 02/06 16:56:20 URLDownloadToFile ok 02/06 16:56:20 Video .sig downloaded ok! 02/06 16:56:20 Snapshot .sig downloaded ok! 02/06 16:56:20 Elapsed download time: 00:00:01 02/06 16:56:20 UpdateVideoname 02/06 16:56:20 Updating: idalarmcra = 384835 02/06 16:56:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384835 ORDER BY IDALARMCRA DESC 02/06 16:56:20 Just before Update() 02/06 16:56:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:56:30 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:56:30 Don't have work. 02/06 16:56:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:56:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:56:50 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:56:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 56 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:57:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:57:01 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:57:11 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:57:11 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:57:11 Alarms with pending videos found! 02/06 16:57:11 Next idalarmcra = 384837 02/06 16:57:11 DownloadVideos::DownloadVideoOfAlarm 02/06 16:57:11 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:57:11 SAM|1627 02/06 16:57:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_165659_185.mp4|109857| 02/06 16:57:11 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_165659_185.mp4 02/06 16:57:11 Date = 20190602 02/06 16:57:11 Construct from filename date 02/06 16:57:11 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_165659_185.mp4 02/06 16:57:11 Destination file not found 02/06 16:57:11 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_165659_185.mp4 02/06 16:57:11 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_165659_185.mp4 02/06 16:57:12 DownloadFile ok... checking file destination 02/06 16:57:12 URLDownloadToFile ok 02/06 16:57:12 Video .sig downloaded ok! 02/06 16:57:12 Snapshot .sig downloaded ok! 02/06 16:57:12 Elapsed download time: 00:00:01 02/06 16:57:12 UpdateVideoname 02/06 16:57:12 Updating: idalarmcra = 384837 02/06 16:57:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384837 ORDER BY IDALARMCRA DESC 02/06 16:57:12 Just before Update() 02/06 16:57:12 Next idalarmcra = 384836 02/06 16:57:12 DownloadVideos::DownloadVideoOfAlarm 02/06 16:57:12 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:57:12 SAM|1628 02/06 16:57:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_165659_243.mp4|104367| 02/06 16:57:13 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_165659_243.mp4 02/06 16:57:13 Date = 20190602 02/06 16:57:13 Construct from filename date 02/06 16:57:13 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_165659_243.mp4 02/06 16:57:13 Destination file not found 02/06 16:57:13 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_165659_243.mp4 02/06 16:57:13 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_165659_243.mp4 02/06 16:57:13 DownloadFile ok... checking file destination 02/06 16:57:13 URLDownloadToFile ok 02/06 16:57:13 Video .sig downloaded ok! 02/06 16:57:13 Snapshot .sig downloaded ok! 02/06 16:57:13 Elapsed download time: 00:00:01 02/06 16:57:13 UpdateVideoname 02/06 16:57:13 Updating: idalarmcra = 384836 02/06 16:57:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384836 ORDER BY IDALARMCRA DESC 02/06 16:57:13 Just before Update() 02/06 16:57:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:57:23 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:57:23 Alarms with pending videos found! 02/06 16:57:23 Next idalarmcra = 384838 02/06 16:57:23 DownloadVideos::DownloadVideoOfAlarm 02/06 16:57:23 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:57:23 SAM|1629 02/06 16:57:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165708_256.mp4|104358| 02/06 16:57:24 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165708_256.mp4 02/06 16:57:24 Date = 20190602 02/06 16:57:24 Construct from filename date 02/06 16:57:24 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165708_256.mp4 02/06 16:57:24 Destination file not found 02/06 16:57:24 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165708_256.mp4 02/06 16:57:24 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165708_256.mp4 02/06 16:57:24 DownloadFile ok... checking file destination 02/06 16:57:24 URLDownloadToFile ok 02/06 16:57:24 Video .sig downloaded ok! 02/06 16:57:24 Snapshot .sig downloaded ok! 02/06 16:57:24 Elapsed download time: 00:00:01 02/06 16:57:24 UpdateVideoname 02/06 16:57:24 Updating: idalarmcra = 384838 02/06 16:57:24 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384838 ORDER BY IDALARMCRA DESC 02/06 16:57:24 Just before Update() 02/06 16:57:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:57:34 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:57:34 Alarms with pending videos found! 02/06 16:57:34 Next idalarmcra = 384843 02/06 16:57:34 DownloadVideos::DownloadVideoOfAlarm 02/06 16:57:34 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:57:34 SAM|788 02/06 16:57:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam1_Event2_20190602_165728_8.mp4|109814| 02/06 16:57:35 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam1_Event2_20190602_165728_8.mp4 02/06 16:57:35 Date = 20190602 02/06 16:57:35 Construct from filename date 02/06 16:57:35 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam1_Event2_20190602_165728_8.mp4 02/06 16:57:35 Destination file not found 02/06 16:57:35 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam1_Event2_20190602_165728_8.mp4 02/06 16:57:35 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam1_Event2_20190602_165728_8.mp4 02/06 16:57:35 DownloadFile ok... checking file destination 02/06 16:57:35 URLDownloadToFile ok 02/06 16:57:36 Video .sig downloaded ok! 02/06 16:57:36 Snapshot .sig downloaded ok! 02/06 16:57:36 Elapsed download time: 00:00:02 02/06 16:57:36 UpdateVideoname 02/06 16:57:36 Updating: idalarmcra = 384843 02/06 16:57:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384843 ORDER BY IDALARMCRA DESC 02/06 16:57:36 Just before Update() 02/06 16:57:36 Next idalarmcra = 384842 02/06 16:57:36 DownloadVideos::DownloadVideoOfAlarm 02/06 16:57:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:57:36 SAM|787 02/06 16:57:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_165726_142.mp4|106847| 02/06 16:57:37 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_165726_142.mp4 02/06 16:57:37 Date = 20190602 02/06 16:57:37 Construct from filename date 02/06 16:57:37 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_165726_142.mp4 02/06 16:57:37 Destination file not found 02/06 16:57:37 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_165726_142.mp4 02/06 16:57:37 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_165726_142.mp4 02/06 16:57:37 DownloadFile ok... checking file destination 02/06 16:57:37 URLDownloadToFile ok 02/06 16:57:37 Video .sig downloaded ok! 02/06 16:57:37 Snapshot .sig downloaded ok! 02/06 16:57:37 Elapsed download time: 00:00:01 02/06 16:57:37 UpdateVideoname 02/06 16:57:37 Updating: idalarmcra = 384842 02/06 16:57:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384842 ORDER BY IDALARMCRA DESC 02/06 16:57:37 Just before Update() 02/06 16:57:37 Next idalarmcra = 384841 02/06 16:57:37 DownloadVideos::DownloadVideoOfAlarm 02/06 16:57:37 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:57:37 SAM|1233 02/06 16:57:37 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165643_462.mp4|112223| 02/06 16:57:38 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165643_462.mp4 02/06 16:57:38 Date = 20190602 02/06 16:57:38 Construct from filename date 02/06 16:57:38 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165643_462.mp4 02/06 16:57:38 Destination file not found 02/06 16:57:38 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165643_462.mp4 02/06 16:57:38 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_165643_462.mp4 02/06 16:57:38 DownloadFile ok... checking file destination 02/06 16:57:38 URLDownloadToFile ok 02/06 16:57:39 Video .sig downloaded ok! 02/06 16:57:39 Snapshot .sig downloaded ok! 02/06 16:57:39 Elapsed download time: 00:00:02 02/06 16:57:39 UpdateVideoname 02/06 16:57:39 Updating: idalarmcra = 384841 02/06 16:57:39 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384841 ORDER BY IDALARMCRA DESC 02/06 16:57:39 Just before Update() 02/06 16:57:39 Next idalarmcra = 384840 02/06 16:57:39 DownloadVideos::DownloadVideoOfAlarm 02/06 16:57:39 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 16:57:39 SAM|1232 02/06 16:57:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165640_90.mp4|114379| 02/06 16:57:39 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165640_90.mp4 02/06 16:57:39 Date = 20190602 02/06 16:57:39 Construct from filename date 02/06 16:57:39 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165640_90.mp4 02/06 16:57:39 Destination file not found 02/06 16:57:39 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165640_90.mp4 02/06 16:57:39 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_165640_90.mp4 02/06 16:57:40 DownloadFile ok... checking file destination 02/06 16:57:40 URLDownloadToFile ok 02/06 16:57:40 Video .sig downloaded ok! 02/06 16:57:40 Snapshot .sig downloaded ok! 02/06 16:57:40 Elapsed download time: 00:00:01 02/06 16:57:40 UpdateVideoname 02/06 16:57:40 Updating: idalarmcra = 384840 02/06 16:57:40 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384840 ORDER BY IDALARMCRA DESC 02/06 16:57:40 Just before Update() 02/06 16:57:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:57:50 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 57 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:57:50 Alarms with pending videos found! 02/06 16:57:50 Next idalarmcra = 384844 02/06 16:57:50 DownloadVideos::DownloadVideoOfAlarm 02/06 16:57:50 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:57:50 SAM|789 02/06 16:57:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_165733_34.mp4|108548| 02/06 16:57:51 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_165733_34.mp4 02/06 16:57:51 Date = 20190602 02/06 16:57:51 Construct from filename date 02/06 16:57:51 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_165733_34.mp4 02/06 16:57:51 Destination file not found 02/06 16:57:51 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_165733_34.mp4 02/06 16:57:51 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_165733_34.mp4 02/06 16:57:51 DownloadFile ok... checking file destination 02/06 16:57:51 URLDownloadToFile ok 02/06 16:57:51 Video .sig downloaded ok! 02/06 16:57:52 Snapshot .sig downloaded ok! 02/06 16:57:52 Elapsed download time: 00:00:02 02/06 16:57:52 UpdateVideoname 02/06 16:57:52 Updating: idalarmcra = 384844 02/06 16:57:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384844 ORDER BY IDALARMCRA DESC 02/06 16:57:52 Just before Update() 02/06 16:58:02 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:58:02 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:58:02 Alarms with pending videos found! 02/06 16:58:02 Next idalarmcra = 384845 02/06 16:58:02 DownloadVideos::DownloadVideoOfAlarm 02/06 16:58:02 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 16:58:02 SAM|790 02/06 16:58:02 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_165753_35.mp4|106404| 02/06 16:58:02 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_165753_35.mp4 02/06 16:58:02 Date = 20190602 02/06 16:58:02 Construct from filename date 02/06 16:58:02 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_165753_35.mp4 02/06 16:58:02 Destination file not found 02/06 16:58:02 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_165753_35.mp4 02/06 16:58:02 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_165753_35.mp4 02/06 16:58:02 DownloadFile ok... checking file destination 02/06 16:58:02 URLDownloadToFile ok 02/06 16:58:03 Video .sig downloaded ok! 02/06 16:58:03 Snapshot .sig downloaded ok! 02/06 16:58:03 Elapsed download time: 00:00:01 02/06 16:58:03 UpdateVideoname 02/06 16:58:03 Updating: idalarmcra = 384845 02/06 16:58:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384845 ORDER BY IDALARMCRA DESC 02/06 16:58:03 Just before Update() 02/06 16:58:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:58:13 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:58:13 Don't have work. 02/06 16:58:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:58:23 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:58:23 Alarms with pending videos found! 02/06 16:58:23 Next idalarmcra = 384846 02/06 16:58:23 DownloadVideos::DownloadVideoOfAlarm 02/06 16:58:23 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 16:58:23 SAM|163151 02/06 16:58:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_171059_109.mp4|109018| 02/06 16:58:24 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_171059_109.mp4 02/06 16:58:24 Date = 20190602 02/06 16:58:24 Construct from filename date 02/06 16:58:24 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_171059_109.mp4 02/06 16:58:24 Destination file not found 02/06 16:58:24 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_171059_109.mp4 02/06 16:58:24 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam3_Event2_20190602_171059_109.mp4 02/06 16:58:25 DownloadFile ok... checking file destination 02/06 16:58:25 URLDownloadToFile ok 02/06 16:58:26 Video .sig downloaded ok! 02/06 16:58:26 Snapshot .sig downloaded ok! 02/06 16:58:26 Elapsed download time: 00:00:03 02/06 16:58:26 UpdateVideoname 02/06 16:58:26 Updating: idalarmcra = 384846 02/06 16:58:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384846 ORDER BY IDALARMCRA DESC 02/06 16:58:26 Just before Update() 02/06 16:58:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:58:36 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:58:36 Don't have work. 02/06 16:58:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:58:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:58:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:58:56 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 58 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:59:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:59:06 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:59:06 Alarms with pending videos found! 02/06 16:59:06 Next idalarmcra = 384847 02/06 16:59:06 DownloadVideos::DownloadVideoOfAlarm 02/06 16:59:06 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 35 02/06 16:59:06 SAM|5988 02/06 16:59:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_165900_4.mp4|116412| 02/06 16:59:07 FilenameSrc = 20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_165900_4.mp4 02/06 16:59:07 Date = 20190602 02/06 16:59:07 Construct from filename date 02/06 16:59:07 Destination: c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_165900_4.mp4 02/06 16:59:07 Destination file not found 02/06 16:59:07 http://192.168.30.100:21000/20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_165900_4.mp4 02/06 16:59:07 c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_165900_4.mp4 02/06 16:59:09 DownloadFile ok... checking file destination 02/06 16:59:09 URLDownloadToFile ok 02/06 16:59:09 Video .sig downloaded ok! 02/06 16:59:09 Snapshot .sig downloaded ok! 02/06 16:59:09 Elapsed download time: 00:00:03 02/06 16:59:10 UpdateVideoname 02/06 16:59:10 Updating: idalarmcra = 384847 02/06 16:59:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384847 ORDER BY IDALARMCRA DESC 02/06 16:59:10 Just before Update() 02/06 16:59:20 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:59:20 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:59:20 Don't have work. 02/06 16:59:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:59:30 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:59:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:59:40 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 16:59:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 16:59:50 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) = 59 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 15 and DATENAME(minute,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 16:59:50 Alarms with pending videos found! 02/06 16:59:50 Next idalarmcra = 384849 02/06 16:59:50 DownloadVideos::DownloadVideoOfAlarm 02/06 16:59:50 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 16:59:50 SAM|1630 02/06 16:59:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165941_257.mp4|100303| 02/06 16:59:50 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165941_257.mp4 02/06 16:59:50 Date = 20190602 02/06 16:59:50 Construct from filename date 02/06 16:59:50 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165941_257.mp4 02/06 16:59:50 Destination file not found 02/06 16:59:50 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165941_257.mp4 02/06 16:59:50 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_165941_257.mp4 02/06 16:59:55 DownloadFile ok... checking file destination 02/06 16:59:55 URLDownloadToFile ok 02/06 16:59:55 Video .sig downloaded ok! 02/06 16:59:55 Snapshot .sig downloaded ok! 02/06 16:59:55 Elapsed download time: 00:00:05 02/06 16:59:55 UpdateVideoname 02/06 16:59:55 Updating: idalarmcra = 384849 02/06 16:59:55 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384849 ORDER BY IDALARMCRA DESC 02/06 16:59:55 Rollback executed. 02/06 16:59:55 RecordSet closed. 02/06 16:59:55 CheckDDBB 02/06 16:59:55 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 17:00:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:00:05 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:00:05 Don't have work. 02/06 17:00:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:00:15 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:00:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:00:25 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:00:25 Alarms with pending videos found! 02/06 17:00:25 Next idalarmcra = 384851 02/06 17:00:25 DownloadVideos::DownloadVideoOfAlarm 02/06 17:00:25 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:00:25 SAM|1633 02/06 17:00:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_170016_187.mp4|103571| 02/06 17:00:26 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_170016_187.mp4 02/06 17:00:26 Date = 20190602 02/06 17:00:26 Construct from filename date 02/06 17:00:26 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_170016_187.mp4 02/06 17:00:26 Destination file not found 02/06 17:00:26 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_170016_187.mp4 02/06 17:00:26 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_170016_187.mp4 02/06 17:00:29 DownloadFile ok... checking file destination 02/06 17:00:29 URLDownloadToFile ok 02/06 17:00:29 Video .sig downloaded ok! 02/06 17:00:29 Snapshot .sig downloaded ok! 02/06 17:00:29 Elapsed download time: 00:00:04 02/06 17:00:30 UpdateVideoname 02/06 17:00:30 Updating: idalarmcra = 384851 02/06 17:00:30 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384851 ORDER BY IDALARMCRA DESC 02/06 17:00:30 Just before Update() 02/06 17:00:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:00:40 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:00:40 Don't have work. 02/06 17:00:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:00:50 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 0 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:01:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:01:00 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:01:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:01:10 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:01:10 Alarms with pending videos found! 02/06 17:01:10 Next idalarmcra = 384852 02/06 17:01:10 DownloadVideos::DownloadVideoOfAlarm 02/06 17:01:10 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 17:01:10 SAM|3951 02/06 17:01:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_170058_8.mp4|112386| 02/06 17:01:10 FilenameSrc = 20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_170058_8.mp4 02/06 17:01:10 Date = 20190602 02/06 17:01:10 Construct from filename date 02/06 17:01:10 Destination: c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_170058_8.mp4 02/06 17:01:10 Destination file not found 02/06 17:01:10 http://192.168.29.100:21000/20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_170058_8.mp4 02/06 17:01:10 c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam5_Event2_20190602_170058_8.mp4 02/06 17:01:12 DownloadFile ok... checking file destination 02/06 17:01:12 URLDownloadToFile ok 02/06 17:01:13 Video .sig downloaded ok! 02/06 17:01:13 Snapshot .sig downloaded ok! 02/06 17:01:13 Elapsed download time: 00:00:03 02/06 17:01:13 UpdateVideoname 02/06 17:01:13 Updating: idalarmcra = 384852 02/06 17:01:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384852 ORDER BY IDALARMCRA DESC 02/06 17:01:13 Just before Update() 02/06 17:01:23 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:01:23 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:01:23 Don't have work. 02/06 17:01:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:01:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:01:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:01:43 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:01:43 Alarms with pending videos found! 02/06 17:01:43 Next idalarmcra = 384855 02/06 17:01:43 DownloadVideos::DownloadVideoOfAlarm 02/06 17:01:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 17:01:43 SAM|16955 02/06 17:01:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_170139_111.mp4|112657| 02/06 17:01:44 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_170139_111.mp4 02/06 17:01:44 Date = 20190602 02/06 17:01:44 Construct from filename date 02/06 17:01:44 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_170139_111.mp4 02/06 17:01:44 Destination file not found 02/06 17:01:44 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_170139_111.mp4 02/06 17:01:44 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_170139_111.mp4 02/06 17:01:46 DownloadFile ok... checking file destination 02/06 17:01:46 URLDownloadToFile ok 02/06 17:01:46 Video .sig downloaded ok! 02/06 17:01:47 Snapshot .sig downloaded ok! 02/06 17:01:47 Elapsed download time: 00:00:04 02/06 17:01:47 UpdateVideoname 02/06 17:01:47 Updating: idalarmcra = 384855 02/06 17:01:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384855 ORDER BY IDALARMCRA DESC 02/06 17:01:47 Just before Update() 02/06 17:01:47 Next idalarmcra = 384854 02/06 17:01:47 DownloadVideos::DownloadVideoOfAlarm 02/06 17:01:47 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:01:47 SAM|1234 02/06 17:01:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_170050_205.mp4|110864| 02/06 17:01:47 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_170050_205.mp4 02/06 17:01:47 Date = 20190602 02/06 17:01:47 Construct from filename date 02/06 17:01:47 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_170050_205.mp4 02/06 17:01:47 Destination file not found 02/06 17:01:47 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_170050_205.mp4 02/06 17:01:47 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_170050_205.mp4 02/06 17:01:48 DownloadFile ok... checking file destination 02/06 17:01:48 URLDownloadToFile ok 02/06 17:01:48 Video .sig downloaded ok! 02/06 17:01:48 Snapshot .sig downloaded ok! 02/06 17:01:48 Elapsed download time: 00:00:01 02/06 17:01:48 UpdateVideoname 02/06 17:01:48 Updating: idalarmcra = 384854 02/06 17:01:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384854 ORDER BY IDALARMCRA DESC 02/06 17:01:48 Just before Update() 02/06 17:01:48 Next idalarmcra = 384853 02/06 17:01:48 DownloadVideos::DownloadVideoOfAlarm 02/06 17:01:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:01:48 SAM|791 02/06 17:01:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170135_143.mp4|103526| 02/06 17:01:48 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170135_143.mp4 02/06 17:01:48 Date = 20190602 02/06 17:01:48 Construct from filename date 02/06 17:01:48 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170135_143.mp4 02/06 17:01:48 Destination file not found 02/06 17:01:48 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170135_143.mp4 02/06 17:01:48 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170135_143.mp4 02/06 17:01:49 DownloadFile ok... checking file destination 02/06 17:01:49 URLDownloadToFile ok 02/06 17:01:49 Video .sig downloaded ok! 02/06 17:01:49 Snapshot .sig downloaded ok! 02/06 17:01:49 Elapsed download time: 00:00:01 02/06 17:01:49 UpdateVideoname 02/06 17:01:49 Updating: idalarmcra = 384853 02/06 17:01:49 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384853 ORDER BY IDALARMCRA DESC 02/06 17:01:49 Just before Update() 02/06 17:01:59 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:01:59 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 1 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:01:59 Alarms with pending videos found! 02/06 17:01:59 Next idalarmcra = 384857 02/06 17:01:59 DownloadVideos::DownloadVideoOfAlarm 02/06 17:01:59 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:01:59 SAM|1236 02/06 17:02:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_170058_91.mp4|112742| 02/06 17:02:00 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_170058_91.mp4 02/06 17:02:00 Date = 20190602 02/06 17:02:00 Construct from filename date 02/06 17:02:00 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_170058_91.mp4 02/06 17:02:00 Destination file not found 02/06 17:02:00 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_170058_91.mp4 02/06 17:02:00 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_170058_91.mp4 02/06 17:02:00 DownloadFile ok... checking file destination 02/06 17:02:00 URLDownloadToFile ok 02/06 17:02:00 Video .sig downloaded ok! 02/06 17:02:00 Snapshot .sig downloaded ok! 02/06 17:02:00 Elapsed download time: 00:00:01 02/06 17:02:01 UpdateVideoname 02/06 17:02:01 Updating: idalarmcra = 384857 02/06 17:02:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384857 ORDER BY IDALARMCRA DESC 02/06 17:02:01 Just before Update() 02/06 17:02:01 Next idalarmcra = 384856 02/06 17:02:01 DownloadVideos::DownloadVideoOfAlarm 02/06 17:02:01 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:02:01 SAM|1235 02/06 17:02:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170056_463.mp4|108331| 02/06 17:02:01 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170056_463.mp4 02/06 17:02:01 Date = 20190602 02/06 17:02:01 Construct from filename date 02/06 17:02:01 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170056_463.mp4 02/06 17:02:01 Destination file not found 02/06 17:02:01 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170056_463.mp4 02/06 17:02:01 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170056_463.mp4 02/06 17:02:01 DownloadFile ok... checking file destination 02/06 17:02:01 URLDownloadToFile ok 02/06 17:02:01 Video .sig downloaded ok! 02/06 17:02:01 Snapshot .sig downloaded ok! 02/06 17:02:01 Elapsed download time: 00:00:00 02/06 17:02:01 UpdateVideoname 02/06 17:02:01 Updating: idalarmcra = 384856 02/06 17:02:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384856 ORDER BY IDALARMCRA DESC 02/06 17:02:01 Just before Update() 02/06 17:02:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:02:11 [D] Query(29ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:02:11 Don't have work. 02/06 17:02:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:02:21 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:02:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:02:31 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:02:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:02:42 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:02:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:02:52 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 2 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:03:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:03:02 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:03:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:03:12 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:03:12 Alarms with pending videos found! 02/06 17:03:12 Next idalarmcra = 384858 02/06 17:03:12 DownloadVideos::DownloadVideoOfAlarm 02/06 17:03:12 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 35 02/06 17:03:12 SAM|5989 02/06 17:03:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_170300_5.mp4|114191| 02/06 17:03:12 FilenameSrc = 20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_170300_5.mp4 02/06 17:03:12 Date = 20190602 02/06 17:03:12 Construct from filename date 02/06 17:03:12 Destination: c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_170300_5.mp4 02/06 17:03:12 Destination file not found 02/06 17:03:12 http://192.168.30.100:21000/20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_170300_5.mp4 02/06 17:03:12 c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_170300_5.mp4 02/06 17:03:14 DownloadFile ok... checking file destination 02/06 17:03:14 URLDownloadToFile ok 02/06 17:03:14 Video .sig downloaded ok! 02/06 17:03:14 Snapshot .sig downloaded ok! 02/06 17:03:14 Elapsed download time: 00:00:02 02/06 17:03:14 UpdateVideoname 02/06 17:03:14 Updating: idalarmcra = 384858 02/06 17:03:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384858 ORDER BY IDALARMCRA DESC 02/06 17:03:14 Just before Update() 02/06 17:03:24 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:03:24 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:03:24 Alarms with pending videos found! 02/06 17:03:24 Next idalarmcra = 384861 02/06 17:03:24 DownloadVideos::DownloadVideoOfAlarm 02/06 17:03:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:03:24 SAM|1636 02/06 17:03:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170319_258.mp4|104364| 02/06 17:03:26 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170319_258.mp4 02/06 17:03:26 Date = 20190602 02/06 17:03:26 Construct from filename date 02/06 17:03:26 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170319_258.mp4 02/06 17:03:26 Destination file not found 02/06 17:03:26 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170319_258.mp4 02/06 17:03:26 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170319_258.mp4 02/06 17:03:29 DownloadFile ok... checking file destination 02/06 17:03:29 URLDownloadToFile ok 02/06 17:03:30 Video .sig downloaded ok! 02/06 17:03:30 Snapshot .sig downloaded ok! 02/06 17:03:30 Elapsed download time: 00:00:06 02/06 17:03:30 UpdateVideoname 02/06 17:03:30 Updating: idalarmcra = 384861 02/06 17:03:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384861 ORDER BY IDALARMCRA DESC 02/06 17:03:30 Just before Update() 02/06 17:03:30 Next idalarmcra = 384860 02/06 17:03:30 DownloadVideos::DownloadVideoOfAlarm 02/06 17:03:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:03:30 SAM|1635 02/06 17:03:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_170314_245.mp4|101287| 02/06 17:03:30 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_170314_245.mp4 02/06 17:03:30 Date = 20190602 02/06 17:03:30 Construct from filename date 02/06 17:03:30 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_170314_245.mp4 02/06 17:03:30 Destination file not found 02/06 17:03:30 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_170314_245.mp4 02/06 17:03:30 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_170314_245.mp4 02/06 17:03:33 DownloadFile ok... checking file destination 02/06 17:03:33 URLDownloadToFile ok 02/06 17:03:34 Video .sig downloaded ok! 02/06 17:03:34 Snapshot .sig downloaded ok! 02/06 17:03:34 Elapsed download time: 00:00:04 02/06 17:03:34 UpdateVideoname 02/06 17:03:34 Updating: idalarmcra = 384860 02/06 17:03:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384860 ORDER BY IDALARMCRA DESC 02/06 17:03:34 Just before Update() 02/06 17:03:34 Next idalarmcra = 384859 02/06 17:03:34 DownloadVideos::DownloadVideoOfAlarm 02/06 17:03:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:03:34 SAM|1634 02/06 17:03:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_170313_188.mp4|110991| 02/06 17:03:34 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_170313_188.mp4 02/06 17:03:34 Date = 20190602 02/06 17:03:34 Construct from filename date 02/06 17:03:34 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_170313_188.mp4 02/06 17:03:34 Destination file not found 02/06 17:03:34 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_170313_188.mp4 02/06 17:03:34 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam3_Event2_20190602_170313_188.mp4 02/06 17:03:38 DownloadFile ok... checking file destination 02/06 17:03:38 URLDownloadToFile ok 02/06 17:03:38 Video .sig downloaded ok! 02/06 17:03:38 Snapshot .sig downloaded ok! 02/06 17:03:38 Elapsed download time: 00:00:04 02/06 17:03:38 UpdateVideoname 02/06 17:03:38 Updating: idalarmcra = 384859 02/06 17:03:38 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384859 ORDER BY IDALARMCRA DESC 02/06 17:03:38 Rollback executed. 02/06 17:03:38 RecordSet closed. 02/06 17:03:38 CheckDDBB 02/06 17:03:38 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 17:03:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:03:48 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:03:48 Don't have work. 02/06 17:03:58 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:03:58 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 3 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:03:58 Alarms with pending videos found! 02/06 17:03:58 Next idalarmcra = 384863 02/06 17:03:58 DownloadVideos::DownloadVideoOfAlarm 02/06 17:03:58 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 17:03:58 SAM|4726 02/06 17:03:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_170513_165.mp4|111742| 02/06 17:03:59 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_170513_165.mp4 02/06 17:03:59 Date = 20190602 02/06 17:03:59 Construct from filename date 02/06 17:03:59 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_170513_165.mp4 02/06 17:03:59 Destination file not found 02/06 17:03:59 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_170513_165.mp4 02/06 17:03:59 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_170513_165.mp4 02/06 17:04:02 DownloadFile ok... checking file destination 02/06 17:04:02 URLDownloadToFile ok 02/06 17:04:02 Video .sig downloaded ok! 02/06 17:04:03 Snapshot .sig downloaded ok! 02/06 17:04:03 Elapsed download time: 00:00:05 02/06 17:04:03 UpdateVideoname 02/06 17:04:03 Updating: idalarmcra = 384863 02/06 17:04:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384863 ORDER BY IDALARMCRA DESC 02/06 17:04:03 Just before Update() 02/06 17:04:13 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:04:13 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:04:13 Don't have work. 02/06 17:04:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:04:23 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:04:23 Alarms with pending videos found! 02/06 17:04:23 Next idalarmcra = 384864 02/06 17:04:23 DownloadVideos::DownloadVideoOfAlarm 02/06 17:04:23 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 36 02/06 17:04:23 SAM|8927 02/06 17:04:23 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AKHISAR_B_Cam2_Event2_20190602_170408_17.mp4|110730| 02/06 17:04:23 FilenameSrc = 20190602\\SiteDGS_VA_AKHISAR_B_Cam2_Event2_20190602_170408_17.mp4 02/06 17:04:23 Date = 20190602 02/06 17:04:23 Construct from filename date 02/06 17:04:23 Destination: c:\Davantis\CRAServer\\SITE_36\\20190602\\SiteDGS_VA_AKHISAR_B_Cam2_Event2_20190602_170408_17.mp4 02/06 17:04:23 Destination file not found 02/06 17:04:23 http://192.168.30.101:21001/20190602\\SiteDGS_VA_AKHISAR_B_Cam2_Event2_20190602_170408_17.mp4 02/06 17:04:23 c:\Davantis\CRAServer\\SITE_36\\20190602\\SiteDGS_VA_AKHISAR_B_Cam2_Event2_20190602_170408_17.mp4 02/06 17:04:24 DownloadFile ok... checking file destination 02/06 17:04:24 URLDownloadToFile ok 02/06 17:04:25 Video .sig downloaded ok! 02/06 17:04:25 Snapshot .sig downloaded ok! 02/06 17:04:25 Elapsed download time: 00:00:02 02/06 17:04:25 UpdateVideoname 02/06 17:04:25 Updating: idalarmcra = 384864 02/06 17:04:25 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384864 ORDER BY IDALARMCRA DESC 02/06 17:04:25 Just before Update() 02/06 17:04:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:04:35 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:04:35 Alarms with pending videos found! 02/06 17:04:35 Next idalarmcra = 384865 02/06 17:04:35 DownloadVideos::DownloadVideoOfAlarm 02/06 17:04:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 17:04:35 SAM|23001 02/06 17:04:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:04:36 NOK answer received 02/06 17:04:36 UpdateVideoname 02/06 17:04:36 Updating: idalarmcra = 384865 02/06 17:04:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384865 ORDER BY IDALARMCRA DESC 02/06 17:04:36 Just before Update() 02/06 17:04:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:04:46 [D] Query(29ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:04:46 Alarms with pending videos found! 02/06 17:04:46 Next idalarmcra = 384865 02/06 17:04:46 DownloadVideos::DownloadVideoOfAlarm 02/06 17:04:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 17:04:46 SAM|23001 02/06 17:04:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_170430_95.mp4|108281| 02/06 17:04:47 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_170430_95.mp4 02/06 17:04:47 Date = 20190602 02/06 17:04:47 Construct from filename date 02/06 17:04:47 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_170430_95.mp4 02/06 17:04:47 Destination file not found 02/06 17:04:47 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_170430_95.mp4 02/06 17:04:47 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_170430_95.mp4 02/06 17:04:48 DownloadFile ok... checking file destination 02/06 17:04:48 URLDownloadToFile ok 02/06 17:04:48 Video .sig downloaded ok! 02/06 17:04:49 Snapshot .sig downloaded ok! 02/06 17:04:49 Elapsed download time: 00:00:03 02/06 17:04:49 UpdateVideoname 02/06 17:04:49 Updating: idalarmcra = 384865 02/06 17:04:49 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384865 ORDER BY IDALARMCRA DESC 02/06 17:04:49 Rollback executed. 02/06 17:04:49 RecordSet closed. 02/06 17:04:49 CheckDDBB 02/06 17:04:49 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 17:04:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:04:59 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 4 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:04:59 Don't have work. 02/06 17:05:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:05:09 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:05:19 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:05:19 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:05:19 Alarms with pending videos found! 02/06 17:05:19 Next idalarmcra = 384866 02/06 17:05:19 DownloadVideos::DownloadVideoOfAlarm 02/06 17:05:19 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:05:19 SAM|792 02/06 17:05:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:05:19 NOK answer received 02/06 17:05:19 UpdateVideoname 02/06 17:05:19 Updating: idalarmcra = 384866 02/06 17:05:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384866 ORDER BY IDALARMCRA DESC 02/06 17:05:19 Just before Update() 02/06 17:05:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:05:30 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:05:30 Alarms with pending videos found! 02/06 17:05:30 Next idalarmcra = 384870 02/06 17:05:30 DownloadVideos::DownloadVideoOfAlarm 02/06 17:05:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:05:30 SAM|793 02/06 17:05:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:05:30 NOK answer received 02/06 17:05:30 UpdateVideoname 02/06 17:05:30 Updating: idalarmcra = 384870 02/06 17:05:30 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384870 ORDER BY IDALARMCRA DESC 02/06 17:05:30 Just before Update() 02/06 17:05:30 Next idalarmcra = 384869 02/06 17:05:30 DownloadVideos::DownloadVideoOfAlarm 02/06 17:05:30 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:05:30 SAM|1239 02/06 17:05:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_170433_92.mp4|100105| 02/06 17:05:30 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_170433_92.mp4 02/06 17:05:30 Date = 20190602 02/06 17:05:30 Construct from filename date 02/06 17:05:30 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_170433_92.mp4 02/06 17:05:30 Destination file not found 02/06 17:05:30 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_170433_92.mp4 02/06 17:05:30 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_170433_92.mp4 02/06 17:05:31 DownloadFile ok... checking file destination 02/06 17:05:31 URLDownloadToFile ok 02/06 17:05:31 Video .sig downloaded ok! 02/06 17:05:31 Snapshot .sig downloaded ok! 02/06 17:05:31 Elapsed download time: 00:00:01 02/06 17:05:31 UpdateVideoname 02/06 17:05:31 Updating: idalarmcra = 384869 02/06 17:05:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384869 ORDER BY IDALARMCRA DESC 02/06 17:05:31 Just before Update() 02/06 17:05:31 Next idalarmcra = 384868 02/06 17:05:31 DownloadVideos::DownloadVideoOfAlarm 02/06 17:05:31 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:05:31 SAM|1238 02/06 17:05:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170431_464.mp4|105561| 02/06 17:05:31 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170431_464.mp4 02/06 17:05:31 Date = 20190602 02/06 17:05:31 Construct from filename date 02/06 17:05:31 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170431_464.mp4 02/06 17:05:31 Destination file not found 02/06 17:05:31 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170431_464.mp4 02/06 17:05:31 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170431_464.mp4 02/06 17:05:31 DownloadFile ok... checking file destination 02/06 17:05:31 URLDownloadToFile ok 02/06 17:05:32 Video .sig downloaded ok! 02/06 17:05:32 Snapshot .sig downloaded ok! 02/06 17:05:32 Elapsed download time: 00:00:01 02/06 17:05:32 UpdateVideoname 02/06 17:05:32 Updating: idalarmcra = 384868 02/06 17:05:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384868 ORDER BY IDALARMCRA DESC 02/06 17:05:32 Just before Update() 02/06 17:05:32 Next idalarmcra = 384867 02/06 17:05:32 DownloadVideos::DownloadVideoOfAlarm 02/06 17:05:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:05:32 SAM|1237 02/06 17:05:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_170429_206.mp4|101607| 02/06 17:05:32 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_170429_206.mp4 02/06 17:05:32 Date = 20190602 02/06 17:05:32 Construct from filename date 02/06 17:05:32 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_170429_206.mp4 02/06 17:05:32 Destination file not found 02/06 17:05:32 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_170429_206.mp4 02/06 17:05:32 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_170429_206.mp4 02/06 17:05:32 DownloadFile ok... checking file destination 02/06 17:05:32 URLDownloadToFile ok 02/06 17:05:32 Video .sig downloaded ok! 02/06 17:05:32 Snapshot .sig downloaded ok! 02/06 17:05:32 Elapsed download time: 00:00:00 02/06 17:05:33 UpdateVideoname 02/06 17:05:33 Updating: idalarmcra = 384867 02/06 17:05:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384867 ORDER BY IDALARMCRA DESC 02/06 17:05:33 Just before Update() 02/06 17:05:33 Next idalarmcra = 384866 02/06 17:05:33 DownloadVideos::DownloadVideoOfAlarm 02/06 17:05:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:05:33 SAM|792 02/06 17:05:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170514_144.mp4|104317| 02/06 17:05:33 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170514_144.mp4 02/06 17:05:33 Date = 20190602 02/06 17:05:33 Construct from filename date 02/06 17:05:33 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170514_144.mp4 02/06 17:05:33 Destination file not found 02/06 17:05:33 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170514_144.mp4 02/06 17:05:33 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170514_144.mp4 02/06 17:05:33 DownloadFile ok... checking file destination 02/06 17:05:33 URLDownloadToFile ok 02/06 17:05:34 Video .sig downloaded ok! 02/06 17:05:34 Snapshot .sig downloaded ok! 02/06 17:05:34 Elapsed download time: 00:00:01 02/06 17:05:34 UpdateVideoname 02/06 17:05:34 Updating: idalarmcra = 384866 02/06 17:05:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384866 ORDER BY IDALARMCRA DESC 02/06 17:05:34 Just before Update() 02/06 17:05:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:05:44 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:05:44 Alarms with pending videos found! 02/06 17:05:44 Next idalarmcra = 384870 02/06 17:05:44 DownloadVideos::DownloadVideoOfAlarm 02/06 17:05:44 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:05:44 SAM|793 02/06 17:05:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_170528_36.mp4|105216| 02/06 17:05:44 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_170528_36.mp4 02/06 17:05:44 Date = 20190602 02/06 17:05:44 Construct from filename date 02/06 17:05:44 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_170528_36.mp4 02/06 17:05:44 Destination file not found 02/06 17:05:44 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_170528_36.mp4 02/06 17:05:44 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam2_Event2_20190602_170528_36.mp4 02/06 17:05:44 DownloadFile ok... checking file destination 02/06 17:05:44 URLDownloadToFile ok 02/06 17:05:44 Video .sig downloaded ok! 02/06 17:05:44 Snapshot .sig downloaded ok! 02/06 17:05:44 Elapsed download time: 00:00:00 02/06 17:05:45 UpdateVideoname 02/06 17:05:45 Updating: idalarmcra = 384870 02/06 17:05:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384870 ORDER BY IDALARMCRA DESC 02/06 17:05:45 Just before Update() 02/06 17:05:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:05:55 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 5 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:05:55 Alarms with pending videos found! 02/06 17:05:55 Next idalarmcra = 384871 02/06 17:05:55 DownloadVideos::DownloadVideoOfAlarm 02/06 17:05:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:05:55 SAM|794 02/06 17:05:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:05:55 NOK answer received 02/06 17:05:55 UpdateVideoname 02/06 17:05:55 Updating: idalarmcra = 384871 02/06 17:05:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384871 ORDER BY IDALARMCRA DESC 02/06 17:05:55 Just before Update() 02/06 17:06:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:06:05 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:06:05 Alarms with pending videos found! 02/06 17:06:05 Next idalarmcra = 384871 02/06 17:06:05 DownloadVideos::DownloadVideoOfAlarm 02/06 17:06:05 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:06:05 SAM|794 02/06 17:06:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170550_145.mp4|102391| 02/06 17:06:06 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170550_145.mp4 02/06 17:06:06 Date = 20190602 02/06 17:06:06 Construct from filename date 02/06 17:06:06 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170550_145.mp4 02/06 17:06:06 Destination file not found 02/06 17:06:06 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170550_145.mp4 02/06 17:06:06 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_170550_145.mp4 02/06 17:06:06 DownloadFile ok... checking file destination 02/06 17:06:06 URLDownloadToFile ok 02/06 17:06:06 Video .sig downloaded ok! 02/06 17:06:06 Snapshot .sig downloaded ok! 02/06 17:06:06 Elapsed download time: 00:00:01 02/06 17:06:06 UpdateVideoname 02/06 17:06:06 Updating: idalarmcra = 384871 02/06 17:06:06 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384871 ORDER BY IDALARMCRA DESC 02/06 17:06:06 Just before Update() 02/06 17:06:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:06:17 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:06:17 Don't have work. 02/06 17:06:27 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:06:27 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:06:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:06:37 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:06:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:06:47 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:06:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:06:57 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 6 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:06:57 Alarms with pending videos found! 02/06 17:06:57 Next idalarmcra = 384875 02/06 17:06:57 DownloadVideos::DownloadVideoOfAlarm 02/06 17:06:57 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:06:57 SAM|1240 02/06 17:06:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:06:57 NOK answer received 02/06 17:06:57 UpdateVideoname 02/06 17:06:57 Updating: idalarmcra = 384875 02/06 17:06:57 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384875 ORDER BY IDALARMCRA DESC 02/06 17:06:57 Just before Update() 02/06 17:06:57 Next idalarmcra = 384874 02/06 17:06:57 DownloadVideos::DownloadVideoOfAlarm 02/06 17:06:57 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 46 02/06 17:06:57 SAM|874 02/06 17:06:57 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_170657_3.mp4|107515| 02/06 17:06:58 FilenameSrc = 20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_170657_3.mp4 02/06 17:06:58 Date = 20190602 02/06 17:06:58 Construct from filename date 02/06 17:06:58 Destination: c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_170657_3.mp4 02/06 17:06:58 Destination file not found 02/06 17:06:58 http://5.26.219.116:21001/20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_170657_3.mp4 02/06 17:06:58 c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_170657_3.mp4 02/06 17:07:02 DownloadFile ok... checking file destination 02/06 17:07:02 URLDownloadToFile ok 02/06 17:07:02 Video .sig downloaded ok! 02/06 17:07:02 Snapshot .sig downloaded ok! 02/06 17:07:02 Elapsed download time: 00:00:05 02/06 17:07:02 UpdateVideoname 02/06 17:07:02 Updating: idalarmcra = 384874 02/06 17:07:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384874 ORDER BY IDALARMCRA DESC 02/06 17:07:02 Just before Update() 02/06 17:07:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:07:13 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:07:13 Alarms with pending videos found! 02/06 17:07:13 Next idalarmcra = 384879 02/06 17:07:13 DownloadVideos::DownloadVideoOfAlarm 02/06 17:07:13 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:07:13 SAM|1637 02/06 17:07:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170706_259.mp4|108948| 02/06 17:07:13 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170706_259.mp4 02/06 17:07:13 Date = 20190602 02/06 17:07:13 Construct from filename date 02/06 17:07:13 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170706_259.mp4 02/06 17:07:13 Destination file not found 02/06 17:07:13 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170706_259.mp4 02/06 17:07:13 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170706_259.mp4 02/06 17:07:13 DownloadFile ok... checking file destination 02/06 17:07:13 URLDownloadToFile ok 02/06 17:07:13 Video .sig downloaded ok! 02/06 17:07:13 Snapshot .sig downloaded ok! 02/06 17:07:13 Elapsed download time: 00:00:00 02/06 17:07:14 UpdateVideoname 02/06 17:07:14 Updating: idalarmcra = 384879 02/06 17:07:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384879 ORDER BY IDALARMCRA DESC 02/06 17:07:14 Just before Update() 02/06 17:07:14 Next idalarmcra = 384878 02/06 17:07:14 DownloadVideos::DownloadVideoOfAlarm 02/06 17:07:14 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 17:07:14 SAM|6117 02/06 17:07:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_170705_27.mp4|112573| 02/06 17:07:14 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_170705_27.mp4 02/06 17:07:14 Date = 20190602 02/06 17:07:14 Construct from filename date 02/06 17:07:14 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_170705_27.mp4 02/06 17:07:14 Destination file not found 02/06 17:07:14 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_170705_27.mp4 02/06 17:07:14 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_170705_27.mp4 02/06 17:07:16 DownloadFile ok... checking file destination 02/06 17:07:16 URLDownloadToFile ok 02/06 17:07:16 Video .sig downloaded ok! 02/06 17:07:16 Snapshot .sig downloaded ok! 02/06 17:07:16 Elapsed download time: 00:00:02 02/06 17:07:16 UpdateVideoname 02/06 17:07:16 Updating: idalarmcra = 384878 02/06 17:07:16 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384878 ORDER BY IDALARMCRA DESC 02/06 17:07:16 Just before Update() 02/06 17:07:16 Next idalarmcra = 384876 02/06 17:07:16 DownloadVideos::DownloadVideoOfAlarm 02/06 17:07:16 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 17:07:16 SAM|6116 02/06 17:07:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_170658_7.mp4|111348| 02/06 17:07:17 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_170658_7.mp4 02/06 17:07:17 Date = 20190602 02/06 17:07:17 Construct from filename date 02/06 17:07:17 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_170658_7.mp4 02/06 17:07:17 Destination file not found 02/06 17:07:17 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_170658_7.mp4 02/06 17:07:17 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_170658_7.mp4 02/06 17:07:18 DownloadFile ok... checking file destination 02/06 17:07:18 URLDownloadToFile ok 02/06 17:07:18 Video .sig downloaded ok! 02/06 17:07:19 Snapshot .sig downloaded ok! 02/06 17:07:19 Elapsed download time: 00:00:03 02/06 17:07:19 UpdateVideoname 02/06 17:07:19 Updating: idalarmcra = 384876 02/06 17:07:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384876 ORDER BY IDALARMCRA DESC 02/06 17:07:19 Just before Update() 02/06 17:07:19 Next idalarmcra = 384875 02/06 17:07:19 DownloadVideos::DownloadVideoOfAlarm 02/06 17:07:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:07:19 SAM|1240 02/06 17:07:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170607_465.mp4|102465| 02/06 17:07:19 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170607_465.mp4 02/06 17:07:19 Date = 20190602 02/06 17:07:19 Construct from filename date 02/06 17:07:19 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170607_465.mp4 02/06 17:07:19 Destination file not found 02/06 17:07:19 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170607_465.mp4 02/06 17:07:19 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_170607_465.mp4 02/06 17:07:20 DownloadFile ok... checking file destination 02/06 17:07:20 URLDownloadToFile ok 02/06 17:07:20 Video .sig downloaded ok! 02/06 17:07:20 Snapshot .sig downloaded ok! 02/06 17:07:20 Elapsed download time: 00:00:01 02/06 17:07:20 UpdateVideoname 02/06 17:07:20 Updating: idalarmcra = 384875 02/06 17:07:20 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384875 ORDER BY IDALARMCRA DESC 02/06 17:07:20 Rollback executed. 02/06 17:07:20 RecordSet closed. 02/06 17:07:20 CheckDDBB 02/06 17:07:20 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 17:07:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:07:30 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:07:30 Alarms with pending videos found! 02/06 17:07:30 Next idalarmcra = 384880 02/06 17:07:30 DownloadVideos::DownloadVideoOfAlarm 02/06 17:07:30 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 17:07:30 SAM|10920 02/06 17:07:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_160715_150.mp4|102453| 02/06 17:07:31 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_160715_150.mp4 02/06 17:07:31 Date = 20190602 02/06 17:07:31 Construct from filename date 02/06 17:07:31 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_160715_150.mp4 02/06 17:07:31 Destination file not found 02/06 17:07:31 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_160715_150.mp4 02/06 17:07:31 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_160715_150.mp4 02/06 17:07:32 DownloadFile ok... checking file destination 02/06 17:07:32 URLDownloadToFile ok 02/06 17:07:33 Video .sig downloaded ok! 02/06 17:07:33 Snapshot .sig downloaded ok! 02/06 17:07:33 Elapsed download time: 00:00:03 02/06 17:07:33 UpdateVideoname 02/06 17:07:33 Updating: idalarmcra = 384880 02/06 17:07:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384880 ORDER BY IDALARMCRA DESC 02/06 17:07:33 Just before Update() 02/06 17:07:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:07:43 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:07:43 Don't have work. 02/06 17:07:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:07:53 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 7 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:08:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:08:03 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:08:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:08:13 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:08:13 Alarms with pending videos found! 02/06 17:08:13 Next idalarmcra = 384883 02/06 17:08:13 DownloadVideos::DownloadVideoOfAlarm 02/06 17:08:13 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:08:13 SAM|1638 02/06 17:08:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170804_260.mp4|101203| 02/06 17:08:14 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170804_260.mp4 02/06 17:08:14 Date = 20190602 02/06 17:08:14 Construct from filename date 02/06 17:08:14 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170804_260.mp4 02/06 17:08:14 Destination file not found 02/06 17:08:14 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170804_260.mp4 02/06 17:08:14 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170804_260.mp4 02/06 17:08:14 DownloadFile ok... checking file destination 02/06 17:08:14 URLDownloadToFile ok 02/06 17:08:14 Video .sig downloaded ok! 02/06 17:08:14 Snapshot .sig downloaded ok! 02/06 17:08:14 Elapsed download time: 00:00:01 02/06 17:08:14 UpdateVideoname 02/06 17:08:14 Updating: idalarmcra = 384883 02/06 17:08:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384883 ORDER BY IDALARMCRA DESC 02/06 17:08:14 Just before Update() 02/06 17:08:14 Next idalarmcra = 384882 02/06 17:08:14 DownloadVideos::DownloadVideoOfAlarm 02/06 17:08:14 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 35 02/06 17:08:14 SAM|5990 02/06 17:08:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_170801_6.mp4|102154| 02/06 17:08:15 FilenameSrc = 20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_170801_6.mp4 02/06 17:08:15 Date = 20190602 02/06 17:08:15 Construct from filename date 02/06 17:08:15 Destination: c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_170801_6.mp4 02/06 17:08:15 Destination file not found 02/06 17:08:15 http://192.168.30.100:21000/20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_170801_6.mp4 02/06 17:08:15 c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_170801_6.mp4 02/06 17:08:16 DownloadFile ok... checking file destination 02/06 17:08:16 URLDownloadToFile ok 02/06 17:08:16 Video .sig downloaded ok! 02/06 17:08:17 Snapshot .sig downloaded ok! 02/06 17:08:17 Elapsed download time: 00:00:03 02/06 17:08:17 UpdateVideoname 02/06 17:08:17 Updating: idalarmcra = 384882 02/06 17:08:17 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384882 ORDER BY IDALARMCRA DESC 02/06 17:08:17 Just before Update() 02/06 17:08:17 Next idalarmcra = 384881 02/06 17:08:17 DownloadVideos::DownloadVideoOfAlarm 02/06 17:08:17 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 17:08:17 SAM|10921 02/06 17:08:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_160802_151.mp4|92141| 02/06 17:08:17 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_160802_151.mp4 02/06 17:08:17 Date = 20190602 02/06 17:08:17 Construct from filename date 02/06 17:08:17 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_160802_151.mp4 02/06 17:08:17 Destination file not found 02/06 17:08:17 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_160802_151.mp4 02/06 17:08:17 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_160802_151.mp4 02/06 17:08:19 DownloadFile ok... checking file destination 02/06 17:08:19 URLDownloadToFile ok 02/06 17:08:19 Video .sig downloaded ok! 02/06 17:08:19 Snapshot .sig downloaded ok! 02/06 17:08:19 Elapsed download time: 00:00:02 02/06 17:08:19 UpdateVideoname 02/06 17:08:19 Updating: idalarmcra = 384881 02/06 17:08:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384881 ORDER BY IDALARMCRA DESC 02/06 17:08:19 Just before Update() 02/06 17:08:29 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:08:29 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:08:29 Alarms with pending videos found! 02/06 17:08:29 Next idalarmcra = 384885 02/06 17:08:29 DownloadVideos::DownloadVideoOfAlarm 02/06 17:08:29 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:08:29 SAM|1639 02/06 17:08:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170820_261.mp4|111182| 02/06 17:08:29 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170820_261.mp4 02/06 17:08:29 Date = 20190602 02/06 17:08:29 Construct from filename date 02/06 17:08:29 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170820_261.mp4 02/06 17:08:29 Destination file not found 02/06 17:08:29 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170820_261.mp4 02/06 17:08:29 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170820_261.mp4 02/06 17:08:30 DownloadFile ok... checking file destination 02/06 17:08:30 URLDownloadToFile ok 02/06 17:08:30 Video .sig downloaded ok! 02/06 17:08:30 Snapshot .sig downloaded ok! 02/06 17:08:30 Elapsed download time: 00:00:01 02/06 17:08:30 UpdateVideoname 02/06 17:08:30 Updating: idalarmcra = 384885 02/06 17:08:30 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384885 ORDER BY IDALARMCRA DESC 02/06 17:08:30 Just before Update() 02/06 17:08:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:08:40 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:08:40 Don't have work. 02/06 17:08:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:08:50 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 8 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:09:00 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:09:00 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:09:00 Alarms with pending videos found! 02/06 17:09:00 Next idalarmcra = 384886 02/06 17:09:00 DownloadVideos::DownloadVideoOfAlarm 02/06 17:09:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:09:00 SAM|1640 02/06 17:09:00 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170852_262.mp4|110756| 02/06 17:09:01 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170852_262.mp4 02/06 17:09:01 Date = 20190602 02/06 17:09:01 Construct from filename date 02/06 17:09:01 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170852_262.mp4 02/06 17:09:01 Destination file not found 02/06 17:09:01 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170852_262.mp4 02/06 17:09:01 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170852_262.mp4 02/06 17:09:01 DownloadFile ok... checking file destination 02/06 17:09:01 URLDownloadToFile ok 02/06 17:09:01 Video .sig downloaded ok! 02/06 17:09:01 Snapshot .sig downloaded ok! 02/06 17:09:01 Elapsed download time: 00:00:01 02/06 17:09:01 UpdateVideoname 02/06 17:09:01 Updating: idalarmcra = 384886 02/06 17:09:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384886 ORDER BY IDALARMCRA DESC 02/06 17:09:01 Just before Update() 02/06 17:09:11 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:09:11 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:09:11 Alarms with pending videos found! 02/06 17:09:11 Next idalarmcra = 384887 02/06 17:09:11 DownloadVideos::DownloadVideoOfAlarm 02/06 17:09:11 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 17:09:11 SAM|4727 02/06 17:09:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:09:12 NOK answer received 02/06 17:09:12 UpdateVideoname 02/06 17:09:12 Updating: idalarmcra = 384887 02/06 17:09:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384887 ORDER BY IDALARMCRA DESC 02/06 17:09:12 Just before Update() 02/06 17:09:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:09:22 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:09:22 Alarms with pending videos found! 02/06 17:09:22 Next idalarmcra = 384888 02/06 17:09:22 DownloadVideos::DownloadVideoOfAlarm 02/06 17:09:22 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 17:09:22 SAM|6118 02/06 17:09:22 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:09:23 NOK answer received 02/06 17:09:23 UpdateVideoname 02/06 17:09:23 Updating: idalarmcra = 384888 02/06 17:09:23 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384888 ORDER BY IDALARMCRA DESC 02/06 17:09:23 Just before Update() 02/06 17:09:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:09:33 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:09:33 Alarms with pending videos found! 02/06 17:09:33 Next idalarmcra = 384890 02/06 17:09:33 DownloadVideos::DownloadVideoOfAlarm 02/06 17:09:33 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 17:09:33 SAM|6120 02/06 17:09:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:09:34 NOK answer received 02/06 17:09:34 UpdateVideoname 02/06 17:09:34 Updating: idalarmcra = 384890 02/06 17:09:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384890 ORDER BY IDALARMCRA DESC 02/06 17:09:34 Just before Update() 02/06 17:09:34 Next idalarmcra = 384889 02/06 17:09:34 DownloadVideos::DownloadVideoOfAlarm 02/06 17:09:34 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:09:34 SAM|1641 02/06 17:09:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170923_263.mp4|109012| 02/06 17:09:34 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170923_263.mp4 02/06 17:09:34 Date = 20190602 02/06 17:09:34 Construct from filename date 02/06 17:09:34 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170923_263.mp4 02/06 17:09:34 Destination file not found 02/06 17:09:34 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170923_263.mp4 02/06 17:09:34 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_170923_263.mp4 02/06 17:09:34 DownloadFile ok... checking file destination 02/06 17:09:34 URLDownloadToFile ok 02/06 17:09:34 Video .sig downloaded ok! 02/06 17:09:34 Snapshot .sig downloaded ok! 02/06 17:09:34 Elapsed download time: 00:00:00 02/06 17:09:34 UpdateVideoname 02/06 17:09:34 Updating: idalarmcra = 384889 02/06 17:09:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384889 ORDER BY IDALARMCRA DESC 02/06 17:09:34 Just before Update() 02/06 17:09:34 Next idalarmcra = 384888 02/06 17:09:34 DownloadVideos::DownloadVideoOfAlarm 02/06 17:09:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 17:09:35 SAM|6118 02/06 17:09:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_170918_8.mp4|101884| 02/06 17:09:35 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_170918_8.mp4 02/06 17:09:35 Date = 20190602 02/06 17:09:35 Construct from filename date 02/06 17:09:35 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_170918_8.mp4 02/06 17:09:35 Destination file not found 02/06 17:09:35 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_170918_8.mp4 02/06 17:09:35 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam1_Event2_20190602_170918_8.mp4 02/06 17:09:37 DownloadFile ok... checking file destination 02/06 17:09:37 URLDownloadToFile ok 02/06 17:09:37 Video .sig downloaded ok! 02/06 17:09:37 Snapshot .sig downloaded ok! 02/06 17:09:37 Elapsed download time: 00:00:02 02/06 17:09:37 UpdateVideoname 02/06 17:09:37 Updating: idalarmcra = 384888 02/06 17:09:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384888 ORDER BY IDALARMCRA DESC 02/06 17:09:37 Just before Update() 02/06 17:09:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:09:48 [D] Query(29ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 9 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:09:48 Alarms with pending videos found! 02/06 17:09:48 Next idalarmcra = 384892 02/06 17:09:48 DownloadVideos::DownloadVideoOfAlarm 02/06 17:09:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 27 02/06 17:09:48 SAM|27121 02/06 17:09:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:09:48 NOK answer received 02/06 17:09:48 UpdateVideoname 02/06 17:09:48 Updating: idalarmcra = 384892 02/06 17:09:48 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384892 ORDER BY IDALARMCRA DESC 02/06 17:09:48 Just before Update() 02/06 17:09:48 Next idalarmcra = 384891 02/06 17:09:48 DownloadVideos::DownloadVideoOfAlarm 02/06 17:09:48 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 17:09:48 SAM|6119 02/06 17:09:48 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_170929_28.mp4|99257| 02/06 17:09:49 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_170929_28.mp4 02/06 17:09:49 Date = 20190602 02/06 17:09:49 Construct from filename date 02/06 17:09:49 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_170929_28.mp4 02/06 17:09:49 Destination file not found 02/06 17:09:49 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_170929_28.mp4 02/06 17:09:49 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_170929_28.mp4 02/06 17:09:50 DownloadFile ok... checking file destination 02/06 17:09:50 URLDownloadToFile ok 02/06 17:09:50 Video .sig downloaded ok! 02/06 17:09:51 Snapshot .sig downloaded ok! 02/06 17:09:51 Elapsed download time: 00:00:03 02/06 17:09:51 UpdateVideoname 02/06 17:09:51 Updating: idalarmcra = 384891 02/06 17:09:51 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384891 ORDER BY IDALARMCRA DESC 02/06 17:09:51 Rollback executed. 02/06 17:09:51 RecordSet closed. 02/06 17:09:51 CheckDDBB 02/06 17:09:51 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 17:10:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:10:01 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:10:01 Alarms with pending videos found! 02/06 17:10:01 Next idalarmcra = 384893 02/06 17:10:01 DownloadVideos::DownloadVideoOfAlarm 02/06 17:10:01 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 41 02/06 17:10:01 SAM|3016 02/06 17:10:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SOMA_A_Cam3_Event2_20190602_170955_60.mp4|101391| 02/06 17:10:01 FilenameSrc = 20190602\\SiteDGS_VA_SOMA_A_Cam3_Event2_20190602_170955_60.mp4 02/06 17:10:01 Date = 20190602 02/06 17:10:01 Construct from filename date 02/06 17:10:01 Destination: c:\Davantis\CRAServer\\SITE_41\\20190602\\SiteDGS_VA_SOMA_A_Cam3_Event2_20190602_170955_60.mp4 02/06 17:10:01 Destination file not found 02/06 17:10:01 http://192.168.35.100:21000/20190602\\SiteDGS_VA_SOMA_A_Cam3_Event2_20190602_170955_60.mp4 02/06 17:10:01 c:\Davantis\CRAServer\\SITE_41\\20190602\\SiteDGS_VA_SOMA_A_Cam3_Event2_20190602_170955_60.mp4 02/06 17:10:02 DownloadFile ok... checking file destination 02/06 17:10:02 URLDownloadToFile ok 02/06 17:10:03 Video .sig downloaded ok! 02/06 17:10:03 Snapshot .sig downloaded ok! 02/06 17:10:03 Elapsed download time: 00:00:02 02/06 17:10:03 UpdateVideoname 02/06 17:10:03 Updating: idalarmcra = 384893 02/06 17:10:03 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384893 ORDER BY IDALARMCRA DESC 02/06 17:10:03 Just before Update() 02/06 17:10:03 Next idalarmcra = 384892 02/06 17:10:03 DownloadVideos::DownloadVideoOfAlarm 02/06 17:10:03 [D] Query(7ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 27 02/06 17:10:03 SAM|27121 02/06 17:10:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_A_Cam8_Event10_20190602_170943_0.mp4|65514| 02/06 17:10:03 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_A_Cam8_Event10_20190602_170943_0.mp4 02/06 17:10:03 Date = 20190602 02/06 17:10:03 Construct from filename date 02/06 17:10:03 Destination: c:\Davantis\CRAServer\\SITE_27\\20190602\\SiteDGS_VA_CIVRIL_A_Cam8_Event10_20190602_170943_0.mp4 02/06 17:10:03 Destination file not found 02/06 17:10:03 http://192.168.20.100:21000/20190602\\SiteDGS_VA_CIVRIL_A_Cam8_Event10_20190602_170943_0.mp4 02/06 17:10:03 c:\Davantis\CRAServer\\SITE_27\\20190602\\SiteDGS_VA_CIVRIL_A_Cam8_Event10_20190602_170943_0.mp4 02/06 17:10:05 DownloadFile ok... checking file destination 02/06 17:10:05 URLDownloadToFile ok 02/06 17:10:05 Video .sig downloaded ok! 02/06 17:10:05 Snapshot .sig downloaded ok! 02/06 17:10:05 Elapsed download time: 00:00:02 02/06 17:10:06 UpdateVideoname 02/06 17:10:06 Updating: idalarmcra = 384892 02/06 17:10:06 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384892 ORDER BY IDALARMCRA DESC 02/06 17:10:06 Just before Update() 02/06 17:10:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:10:16 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:10:16 Alarms with pending videos found! 02/06 17:10:16 Next idalarmcra = 384894 02/06 17:10:16 DownloadVideos::DownloadVideoOfAlarm 02/06 17:10:16 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:10:16 SAM|1642 02/06 17:10:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_171003_264.mp4|117644| 02/06 17:10:16 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_171003_264.mp4 02/06 17:10:16 Date = 20190602 02/06 17:10:16 Construct from filename date 02/06 17:10:16 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_171003_264.mp4 02/06 17:10:16 Destination file not found 02/06 17:10:16 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_171003_264.mp4 02/06 17:10:16 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_171003_264.mp4 02/06 17:10:16 DownloadFile ok... checking file destination 02/06 17:10:16 URLDownloadToFile ok 02/06 17:10:16 Video .sig downloaded ok! 02/06 17:10:16 Snapshot .sig downloaded ok! 02/06 17:10:16 Elapsed download time: 00:00:00 02/06 17:10:16 UpdateVideoname 02/06 17:10:16 Updating: idalarmcra = 384894 02/06 17:10:16 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384894 ORDER BY IDALARMCRA DESC 02/06 17:10:16 Just before Update() 02/06 17:10:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:10:26 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:10:26 Alarms with pending videos found! 02/06 17:10:26 Next idalarmcra = 384896 02/06 17:10:26 DownloadVideos::DownloadVideoOfAlarm 02/06 17:10:27 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 35 02/06 17:10:27 SAM|5991 02/06 17:10:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_171017_7.mp4|107820| 02/06 17:10:27 FilenameSrc = 20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_171017_7.mp4 02/06 17:10:27 Date = 20190602 02/06 17:10:27 Construct from filename date 02/06 17:10:27 Destination: c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_171017_7.mp4 02/06 17:10:27 Destination file not found 02/06 17:10:27 http://192.168.30.100:21000/20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_171017_7.mp4 02/06 17:10:27 c:\Davantis\CRAServer\\SITE_35\\20190602\\SiteDGS_VA_AKHISAR_A_Cam3_Event2_20190602_171017_7.mp4 02/06 17:10:28 DownloadFile ok... checking file destination 02/06 17:10:28 URLDownloadToFile ok 02/06 17:10:28 Video .sig downloaded ok! 02/06 17:10:28 Snapshot .sig downloaded ok! 02/06 17:10:28 Elapsed download time: 00:00:01 02/06 17:10:29 UpdateVideoname 02/06 17:10:29 Updating: idalarmcra = 384896 02/06 17:10:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384896 ORDER BY IDALARMCRA DESC 02/06 17:10:29 Just before Update() 02/06 17:10:29 Next idalarmcra = 384895 02/06 17:10:29 DownloadVideos::DownloadVideoOfAlarm 02/06 17:10:29 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 17:10:29 SAM|10922 02/06 17:10:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_161011_152.mp4|96096| 02/06 17:10:29 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_161011_152.mp4 02/06 17:10:29 Date = 20190602 02/06 17:10:29 Construct from filename date 02/06 17:10:29 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_161011_152.mp4 02/06 17:10:29 Destination file not found 02/06 17:10:29 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_161011_152.mp4 02/06 17:10:29 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_161011_152.mp4 02/06 17:10:30 DownloadFile ok... checking file destination 02/06 17:10:30 URLDownloadToFile ok 02/06 17:10:31 Video .sig downloaded ok! 02/06 17:10:31 Snapshot .sig downloaded ok! 02/06 17:10:31 Elapsed download time: 00:00:02 02/06 17:10:31 UpdateVideoname 02/06 17:10:31 Updating: idalarmcra = 384895 02/06 17:10:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384895 ORDER BY IDALARMCRA DESC 02/06 17:10:31 Just before Update() 02/06 17:10:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:10:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:10:41 Don't have work. 02/06 17:10:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:10:51 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 10 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:11:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:11:01 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:11:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:11:11 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:11:21 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:11:22 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:11:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:11:32 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:11:32 Alarms with pending videos found! 02/06 17:11:32 Next idalarmcra = 384899 02/06 17:11:32 DownloadVideos::DownloadVideoOfAlarm 02/06 17:11:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 17:11:32 SAM|14794 02/06 17:11:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_171123_562.mp4|115846| 02/06 17:11:32 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_171123_562.mp4 02/06 17:11:32 Date = 20190602 02/06 17:11:32 Construct from filename date 02/06 17:11:32 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_171123_562.mp4 02/06 17:11:32 Destination file not found 02/06 17:11:32 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_171123_562.mp4 02/06 17:11:32 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_171123_562.mp4 02/06 17:11:34 DownloadFile ok... checking file destination 02/06 17:11:34 URLDownloadToFile ok 02/06 17:11:35 Video .sig downloaded ok! 02/06 17:11:35 Snapshot .sig downloaded ok! 02/06 17:11:35 Elapsed download time: 00:00:03 02/06 17:11:35 UpdateVideoname 02/06 17:11:35 Updating: idalarmcra = 384899 02/06 17:11:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384899 ORDER BY IDALARMCRA DESC 02/06 17:11:35 Just before Update() 02/06 17:11:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:11:45 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:11:45 Don't have work. 02/06 17:11:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:11:55 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 11 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:11:55 Alarms with pending videos found! 02/06 17:11:55 Next idalarmcra = 384900 02/06 17:11:55 DownloadVideos::DownloadVideoOfAlarm 02/06 17:11:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 17:11:55 SAM|4728 02/06 17:11:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:11:56 NOK answer received 02/06 17:11:56 UpdateVideoname 02/06 17:11:56 Updating: idalarmcra = 384900 02/06 17:11:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384900 ORDER BY IDALARMCRA DESC 02/06 17:11:56 Just before Update() 02/06 17:12:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:12:06 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:12:06 Alarms with pending videos found! 02/06 17:12:06 Next idalarmcra = 384900 02/06 17:12:06 DownloadVideos::DownloadVideoOfAlarm 02/06 17:12:06 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 17:12:06 SAM|4728 02/06 17:12:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_171317_167.mp4|114180| 02/06 17:12:06 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_171317_167.mp4 02/06 17:12:06 Date = 20190602 02/06 17:12:06 Construct from filename date 02/06 17:12:06 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_171317_167.mp4 02/06 17:12:06 Destination file not found 02/06 17:12:06 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_171317_167.mp4 02/06 17:12:06 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_171317_167.mp4 02/06 17:12:09 DownloadFile ok... checking file destination 02/06 17:12:09 URLDownloadToFile ok 02/06 17:12:09 Video .sig downloaded ok! 02/06 17:12:09 Snapshot .sig downloaded ok! 02/06 17:12:09 Elapsed download time: 00:00:03 02/06 17:12:09 UpdateVideoname 02/06 17:12:09 Updating: idalarmcra = 384900 02/06 17:12:09 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384900 ORDER BY IDALARMCRA DESC 02/06 17:12:09 Just before Update() 02/06 17:12:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:12:20 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:12:20 Don't have work. 02/06 17:12:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:12:30 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:12:30 Alarms with pending videos found! 02/06 17:12:30 Next idalarmcra = 384903 02/06 17:12:30 DownloadVideos::DownloadVideoOfAlarm 02/06 17:12:30 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:12:30 SAM|1242 02/06 17:12:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171134_466.mp4|111936| 02/06 17:12:30 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171134_466.mp4 02/06 17:12:30 Date = 20190602 02/06 17:12:30 Construct from filename date 02/06 17:12:30 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171134_466.mp4 02/06 17:12:30 Destination file not found 02/06 17:12:30 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171134_466.mp4 02/06 17:12:30 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171134_466.mp4 02/06 17:12:31 DownloadFile ok... checking file destination 02/06 17:12:31 URLDownloadToFile ok 02/06 17:12:31 Video .sig downloaded ok! 02/06 17:12:31 Snapshot .sig downloaded ok! 02/06 17:12:31 Elapsed download time: 00:00:01 02/06 17:12:31 UpdateVideoname 02/06 17:12:31 Updating: idalarmcra = 384903 02/06 17:12:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384903 ORDER BY IDALARMCRA DESC 02/06 17:12:31 Just before Update() 02/06 17:12:31 Next idalarmcra = 384902 02/06 17:12:31 DownloadVideos::DownloadVideoOfAlarm 02/06 17:12:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:12:31 SAM|1241 02/06 17:12:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171132_93.mp4|109051| 02/06 17:12:31 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171132_93.mp4 02/06 17:12:31 Date = 20190602 02/06 17:12:31 Construct from filename date 02/06 17:12:31 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171132_93.mp4 02/06 17:12:31 Destination file not found 02/06 17:12:31 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171132_93.mp4 02/06 17:12:31 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171132_93.mp4 02/06 17:12:31 DownloadFile ok... checking file destination 02/06 17:12:31 URLDownloadToFile ok 02/06 17:12:32 Video .sig downloaded ok! 02/06 17:12:32 Snapshot .sig downloaded ok! 02/06 17:12:32 Elapsed download time: 00:00:01 02/06 17:12:32 UpdateVideoname 02/06 17:12:32 Updating: idalarmcra = 384902 02/06 17:12:32 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384902 ORDER BY IDALARMCRA DESC 02/06 17:12:32 Just before Update() 02/06 17:12:32 Next idalarmcra = 384901 02/06 17:12:32 DownloadVideos::DownloadVideoOfAlarm 02/06 17:12:32 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:12:32 SAM|795 02/06 17:12:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171220_146.mp4|106316| 02/06 17:12:32 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171220_146.mp4 02/06 17:12:32 Date = 20190602 02/06 17:12:32 Construct from filename date 02/06 17:12:32 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171220_146.mp4 02/06 17:12:32 Destination file not found 02/06 17:12:32 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171220_146.mp4 02/06 17:12:32 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171220_146.mp4 02/06 17:12:33 DownloadFile ok... checking file destination 02/06 17:12:33 URLDownloadToFile ok 02/06 17:12:33 Video .sig downloaded ok! 02/06 17:12:33 Snapshot .sig downloaded ok! 02/06 17:12:33 Elapsed download time: 00:00:01 02/06 17:12:33 UpdateVideoname 02/06 17:12:33 Updating: idalarmcra = 384901 02/06 17:12:33 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384901 ORDER BY IDALARMCRA DESC 02/06 17:12:33 Just before Update() 02/06 17:12:43 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:12:43 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:12:43 Alarms with pending videos found! 02/06 17:12:43 Next idalarmcra = 384904 02/06 17:12:43 DownloadVideos::DownloadVideoOfAlarm 02/06 17:12:43 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:12:43 SAM|1243 02/06 17:12:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_171141_207.mp4|104888| 02/06 17:12:44 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_171141_207.mp4 02/06 17:12:44 Date = 20190602 02/06 17:12:44 Construct from filename date 02/06 17:12:44 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_171141_207.mp4 02/06 17:12:44 Destination file not found 02/06 17:12:44 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_171141_207.mp4 02/06 17:12:44 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_171141_207.mp4 02/06 17:12:44 DownloadFile ok... checking file destination 02/06 17:12:44 URLDownloadToFile ok 02/06 17:12:44 Video .sig downloaded ok! 02/06 17:12:44 Snapshot .sig downloaded ok! 02/06 17:12:44 Elapsed download time: 00:00:01 02/06 17:12:44 UpdateVideoname 02/06 17:12:44 Updating: idalarmcra = 384904 02/06 17:12:44 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384904 ORDER BY IDALARMCRA DESC 02/06 17:12:44 Just before Update() 02/06 17:12:54 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:12:54 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 12 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:12:54 Alarms with pending videos found! 02/06 17:12:54 Next idalarmcra = 384905 02/06 17:12:54 DownloadVideos::DownloadVideoOfAlarm 02/06 17:12:54 [D] Query(20ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:12:54 SAM|1643 02/06 17:12:54 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:12:55 NOK answer received 02/06 17:12:55 UpdateVideoname 02/06 17:12:55 Updating: idalarmcra = 384905 02/06 17:12:55 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384905 ORDER BY IDALARMCRA DESC 02/06 17:12:55 Just before Update() 02/06 17:13:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:13:05 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:13:05 Alarms with pending videos found! 02/06 17:13:05 Next idalarmcra = 384906 02/06 17:13:05 DownloadVideos::DownloadVideoOfAlarm 02/06 17:13:05 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 17:13:05 SAM|14795 02/06 17:13:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_171255_563.mp4|114194| 02/06 17:13:05 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_171255_563.mp4 02/06 17:13:05 Date = 20190602 02/06 17:13:05 Construct from filename date 02/06 17:13:05 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_171255_563.mp4 02/06 17:13:05 Destination file not found 02/06 17:13:05 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_171255_563.mp4 02/06 17:13:05 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_171255_563.mp4 02/06 17:13:07 DownloadFile ok... checking file destination 02/06 17:13:07 URLDownloadToFile ok 02/06 17:13:07 Video .sig downloaded ok! 02/06 17:13:07 Snapshot .sig downloaded ok! 02/06 17:13:07 Elapsed download time: 00:00:02 02/06 17:13:08 UpdateVideoname 02/06 17:13:08 Updating: idalarmcra = 384906 02/06 17:13:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384906 ORDER BY IDALARMCRA DESC 02/06 17:13:08 Just before Update() 02/06 17:13:08 Next idalarmcra = 384905 02/06 17:13:08 DownloadVideos::DownloadVideoOfAlarm 02/06 17:13:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:13:08 SAM|1643 02/06 17:13:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_171250_265.mp4|106592| 02/06 17:13:08 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_171250_265.mp4 02/06 17:13:08 Date = 20190602 02/06 17:13:08 Construct from filename date 02/06 17:13:08 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_171250_265.mp4 02/06 17:13:08 Destination file not found 02/06 17:13:08 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_171250_265.mp4 02/06 17:13:08 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_171250_265.mp4 02/06 17:13:11 DownloadFile ok... checking file destination 02/06 17:13:11 URLDownloadToFile ok 02/06 17:13:11 Video .sig downloaded ok! 02/06 17:13:11 Snapshot .sig downloaded ok! 02/06 17:13:11 Elapsed download time: 00:00:03 02/06 17:13:11 UpdateVideoname 02/06 17:13:11 Updating: idalarmcra = 384905 02/06 17:13:11 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384905 ORDER BY IDALARMCRA DESC 02/06 17:13:11 Rollback executed. 02/06 17:13:11 RecordSet closed. 02/06 17:13:11 CheckDDBB 02/06 17:13:11 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 17:13:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:13:21 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:13:21 Don't have work. 02/06 17:13:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:13:31 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:13:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:13:41 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:13:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:13:52 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 13 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:14:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:14:02 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:14:12 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:14:12 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:14:12 Alarms with pending videos found! 02/06 17:14:12 Next idalarmcra = 384909 02/06 17:14:12 DownloadVideos::DownloadVideoOfAlarm 02/06 17:14:12 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:14:12 SAM|1245 02/06 17:14:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171319_94.mp4|107972| 02/06 17:14:12 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171319_94.mp4 02/06 17:14:12 Date = 20190602 02/06 17:14:12 Construct from filename date 02/06 17:14:12 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171319_94.mp4 02/06 17:14:12 Destination file not found 02/06 17:14:12 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171319_94.mp4 02/06 17:14:12 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171319_94.mp4 02/06 17:14:13 DownloadFile ok... checking file destination 02/06 17:14:13 URLDownloadToFile ok 02/06 17:14:13 Video .sig downloaded ok! 02/06 17:14:13 Snapshot .sig downloaded ok! 02/06 17:14:13 Elapsed download time: 00:00:01 02/06 17:14:13 UpdateVideoname 02/06 17:14:13 Updating: idalarmcra = 384909 02/06 17:14:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384909 ORDER BY IDALARMCRA DESC 02/06 17:14:13 Just before Update() 02/06 17:14:13 Next idalarmcra = 384908 02/06 17:14:13 DownloadVideos::DownloadVideoOfAlarm 02/06 17:14:13 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:14:13 SAM|1244 02/06 17:14:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171312_467.mp4|108412| 02/06 17:14:13 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171312_467.mp4 02/06 17:14:13 Date = 20190602 02/06 17:14:13 Construct from filename date 02/06 17:14:13 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171312_467.mp4 02/06 17:14:13 Destination file not found 02/06 17:14:13 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171312_467.mp4 02/06 17:14:13 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171312_467.mp4 02/06 17:14:13 DownloadFile ok... checking file destination 02/06 17:14:13 URLDownloadToFile ok 02/06 17:14:14 Video .sig downloaded ok! 02/06 17:14:14 Snapshot .sig downloaded ok! 02/06 17:14:14 Elapsed download time: 00:00:01 02/06 17:14:14 UpdateVideoname 02/06 17:14:14 Updating: idalarmcra = 384908 02/06 17:14:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384908 ORDER BY IDALARMCRA DESC 02/06 17:14:14 Just before Update() 02/06 17:14:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:14:24 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:14:24 Don't have work. 02/06 17:14:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:14:34 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:14:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:14:44 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:14:44 Alarms with pending videos found! 02/06 17:14:44 Next idalarmcra = 384910 02/06 17:14:44 DownloadVideos::DownloadVideoOfAlarm 02/06 17:14:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 28 02/06 17:14:44 SAM|6121 02/06 17:14:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_171430_29.mp4|101883| 02/06 17:14:45 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_171430_29.mp4 02/06 17:14:45 Date = 20190602 02/06 17:14:45 Construct from filename date 02/06 17:14:45 Destination: c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_171430_29.mp4 02/06 17:14:45 Destination file not found 02/06 17:14:45 http://192.168.20.101:21001/20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_171430_29.mp4 02/06 17:14:45 c:\Davantis\CRAServer\\SITE_28\\20190602\\SiteDGS_VA_CIVRIL_B_Cam2_Event2_20190602_171430_29.mp4 02/06 17:14:47 DownloadFile ok... checking file destination 02/06 17:14:47 URLDownloadToFile ok 02/06 17:14:47 Video .sig downloaded ok! 02/06 17:14:48 Snapshot .sig downloaded ok! 02/06 17:14:48 Elapsed download time: 00:00:04 02/06 17:14:48 UpdateVideoname 02/06 17:14:48 Updating: idalarmcra = 384910 02/06 17:14:48 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384910 ORDER BY IDALARMCRA DESC 02/06 17:14:48 Just before Update() 02/06 17:14:58 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:14:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 14 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:14:58 Don't have work. 02/06 17:15:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:15:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:15:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:15:18 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:15:28 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:15:28 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:15:28 Alarms with pending videos found! 02/06 17:15:28 Next idalarmcra = 384911 02/06 17:15:28 DownloadVideos::DownloadVideoOfAlarm 02/06 17:15:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:15:28 SAM|796 02/06 17:15:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:15:29 NOK answer received 02/06 17:15:29 UpdateVideoname 02/06 17:15:29 Updating: idalarmcra = 384911 02/06 17:15:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384911 ORDER BY IDALARMCRA DESC 02/06 17:15:29 Just before Update() 02/06 17:15:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:15:39 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:15:39 Alarms with pending videos found! 02/06 17:15:39 Next idalarmcra = 384911 02/06 17:15:39 DownloadVideos::DownloadVideoOfAlarm 02/06 17:15:39 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:15:39 SAM|796 02/06 17:15:39 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171523_147.mp4|101435| 02/06 17:15:39 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171523_147.mp4 02/06 17:15:39 Date = 20190602 02/06 17:15:39 Construct from filename date 02/06 17:15:39 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171523_147.mp4 02/06 17:15:39 Destination file not found 02/06 17:15:39 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171523_147.mp4 02/06 17:15:39 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171523_147.mp4 02/06 17:15:40 DownloadFile ok... checking file destination 02/06 17:15:40 URLDownloadToFile ok 02/06 17:15:40 Video .sig downloaded ok! 02/06 17:15:40 Snapshot .sig downloaded ok! 02/06 17:15:40 Elapsed download time: 00:00:01 02/06 17:15:40 UpdateVideoname 02/06 17:15:40 Updating: idalarmcra = 384911 02/06 17:15:40 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384911 ORDER BY IDALARMCRA DESC 02/06 17:15:40 Just before Update() 02/06 17:15:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:15:50 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 15 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:15:50 Don't have work. 02/06 17:16:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:16:00 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:16:10 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:16:10 [D] Query(34ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 10) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:16:10 Alarms with pending videos found! 02/06 17:16:10 Next idalarmcra = 384915 02/06 17:16:10 DownloadVideos::DownloadVideoOfAlarm 02/06 17:16:10 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:16:10 SAM|1247 02/06 17:16:10 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_171517_208.mp4|105752| 02/06 17:16:10 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_171517_208.mp4 02/06 17:16:10 Date = 20190602 02/06 17:16:10 Construct from filename date 02/06 17:16:10 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_171517_208.mp4 02/06 17:16:10 Destination file not found 02/06 17:16:10 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_171517_208.mp4 02/06 17:16:10 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_171517_208.mp4 02/06 17:16:11 DownloadFile ok... checking file destination 02/06 17:16:11 URLDownloadToFile ok 02/06 17:16:11 Video .sig downloaded ok! 02/06 17:16:11 Snapshot .sig downloaded ok! 02/06 17:16:11 Elapsed download time: 00:00:01 02/06 17:16:11 UpdateVideoname 02/06 17:16:11 Updating: idalarmcra = 384915 02/06 17:16:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384915 ORDER BY IDALARMCRA DESC 02/06 17:16:11 Just before Update() 02/06 17:16:11 Next idalarmcra = 384914 02/06 17:16:11 DownloadVideos::DownloadVideoOfAlarm 02/06 17:16:12 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:16:12 SAM|1248 02/06 17:16:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171517_95.mp4|112121| 02/06 17:16:12 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171517_95.mp4 02/06 17:16:12 Date = 20190602 02/06 17:16:12 Construct from filename date 02/06 17:16:12 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171517_95.mp4 02/06 17:16:12 Destination file not found 02/06 17:16:12 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171517_95.mp4 02/06 17:16:12 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171517_95.mp4 02/06 17:16:12 DownloadFile ok... checking file destination 02/06 17:16:12 URLDownloadToFile ok 02/06 17:16:12 Video .sig downloaded ok! 02/06 17:16:12 Snapshot .sig downloaded ok! 02/06 17:16:12 Elapsed download time: 00:00:00 02/06 17:16:12 UpdateVideoname 02/06 17:16:12 Updating: idalarmcra = 384914 02/06 17:16:12 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384914 ORDER BY IDALARMCRA DESC 02/06 17:16:12 Just before Update() 02/06 17:16:12 Next idalarmcra = 384913 02/06 17:16:12 DownloadVideos::DownloadVideoOfAlarm 02/06 17:16:12 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:16:12 SAM|1246 02/06 17:16:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171515_468.mp4|104999| 02/06 17:16:13 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171515_468.mp4 02/06 17:16:13 Date = 20190602 02/06 17:16:13 Construct from filename date 02/06 17:16:13 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171515_468.mp4 02/06 17:16:13 Destination file not found 02/06 17:16:13 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171515_468.mp4 02/06 17:16:13 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171515_468.mp4 02/06 17:16:13 DownloadFile ok... checking file destination 02/06 17:16:13 URLDownloadToFile ok 02/06 17:16:13 Video .sig downloaded ok! 02/06 17:16:13 Snapshot .sig downloaded ok! 02/06 17:16:13 Elapsed download time: 00:00:01 02/06 17:16:13 UpdateVideoname 02/06 17:16:13 Updating: idalarmcra = 384913 02/06 17:16:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384913 ORDER BY IDALARMCRA DESC 02/06 17:16:13 Just before Update() 02/06 17:16:13 Next idalarmcra = 384912 02/06 17:16:13 DownloadVideos::DownloadVideoOfAlarm 02/06 17:16:13 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:16:13 SAM|797 02/06 17:16:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171600_148.mp4|108205| 02/06 17:16:13 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171600_148.mp4 02/06 17:16:13 Date = 20190602 02/06 17:16:13 Construct from filename date 02/06 17:16:13 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171600_148.mp4 02/06 17:16:13 Destination file not found 02/06 17:16:13 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171600_148.mp4 02/06 17:16:13 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171600_148.mp4 02/06 17:16:14 DownloadFile ok... checking file destination 02/06 17:16:14 URLDownloadToFile ok 02/06 17:16:14 Video .sig downloaded ok! 02/06 17:16:14 Snapshot .sig downloaded ok! 02/06 17:16:14 Elapsed download time: 00:00:01 02/06 17:16:14 UpdateVideoname 02/06 17:16:14 Updating: idalarmcra = 384912 02/06 17:16:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384912 ORDER BY IDALARMCRA DESC 02/06 17:16:14 Just before Update() 02/06 17:16:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:16:24 [D] Query(33ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:16:24 Alarms with pending videos found! 02/06 17:16:24 Next idalarmcra = 384916 02/06 17:16:24 DownloadVideos::DownloadVideoOfAlarm 02/06 17:16:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:16:24 SAM|798 02/06 17:16:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171617_149.mp4|106247| 02/06 17:16:24 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171617_149.mp4 02/06 17:16:24 Date = 20190602 02/06 17:16:24 Construct from filename date 02/06 17:16:24 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171617_149.mp4 02/06 17:16:24 Destination file not found 02/06 17:16:24 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171617_149.mp4 02/06 17:16:24 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_171617_149.mp4 02/06 17:16:24 DownloadFile ok... checking file destination 02/06 17:16:24 URLDownloadToFile ok 02/06 17:16:25 Video .sig downloaded ok! 02/06 17:16:25 Snapshot .sig downloaded ok! 02/06 17:16:25 Elapsed download time: 00:00:01 02/06 17:16:25 UpdateVideoname 02/06 17:16:25 Updating: idalarmcra = 384916 02/06 17:16:25 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384916 ORDER BY IDALARMCRA DESC 02/06 17:16:25 Just before Update() 02/06 17:16:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:16:35 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:16:35 Alarms with pending videos found! 02/06 17:16:35 Next idalarmcra = 384919 02/06 17:16:35 DownloadVideos::DownloadVideoOfAlarm 02/06 17:16:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:16:35 SAM|1250 02/06 17:16:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171533_96.mp4|108014| 02/06 17:16:35 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171533_96.mp4 02/06 17:16:35 Date = 20190602 02/06 17:16:35 Construct from filename date 02/06 17:16:35 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171533_96.mp4 02/06 17:16:35 Destination file not found 02/06 17:16:35 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171533_96.mp4 02/06 17:16:35 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_171533_96.mp4 02/06 17:16:35 DownloadFile ok... checking file destination 02/06 17:16:35 URLDownloadToFile ok 02/06 17:16:35 Video .sig downloaded ok! 02/06 17:16:36 Snapshot .sig downloaded ok! 02/06 17:16:36 Elapsed download time: 00:00:01 02/06 17:16:36 UpdateVideoname 02/06 17:16:36 Updating: idalarmcra = 384919 02/06 17:16:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384919 ORDER BY IDALARMCRA DESC 02/06 17:16:36 Just before Update() 02/06 17:16:36 Next idalarmcra = 384918 02/06 17:16:36 DownloadVideos::DownloadVideoOfAlarm 02/06 17:16:36 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:16:36 SAM|1249 02/06 17:16:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171532_469.mp4|97266| 02/06 17:16:36 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171532_469.mp4 02/06 17:16:36 Date = 20190602 02/06 17:16:36 Construct from filename date 02/06 17:16:36 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171532_469.mp4 02/06 17:16:36 Destination file not found 02/06 17:16:36 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171532_469.mp4 02/06 17:16:36 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_171532_469.mp4 02/06 17:16:36 DownloadFile ok... checking file destination 02/06 17:16:36 URLDownloadToFile ok 02/06 17:16:36 Video .sig downloaded ok! 02/06 17:16:37 Snapshot .sig downloaded ok! 02/06 17:16:37 Elapsed download time: 00:00:01 02/06 17:16:37 UpdateVideoname 02/06 17:16:37 Updating: idalarmcra = 384918 02/06 17:16:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384918 ORDER BY IDALARMCRA DESC 02/06 17:16:37 Just before Update() 02/06 17:16:47 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:16:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:16:47 Don't have work. 02/06 17:16:57 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:16:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 16 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:17:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:17:07 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:17:17 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:17:17 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:17:27 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:17:27 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:17:37 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:17:37 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:17:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:17:47 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:17:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:17:58 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 17 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:18:08 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:18:08 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:18:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:18:18 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:18:18 Alarms with pending videos found! 02/06 17:18:18 Next idalarmcra = 384920 02/06 17:18:18 DownloadVideos::DownloadVideoOfAlarm 02/06 17:18:18 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 17:18:18 SAM|4729 02/06 17:18:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_171935_168.mp4|113205| 02/06 17:18:18 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_171935_168.mp4 02/06 17:18:18 Date = 20190602 02/06 17:18:18 Construct from filename date 02/06 17:18:18 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_171935_168.mp4 02/06 17:18:18 Destination file not found 02/06 17:18:18 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_171935_168.mp4 02/06 17:18:18 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_171935_168.mp4 02/06 17:18:21 DownloadFile ok... checking file destination 02/06 17:18:21 URLDownloadToFile ok 02/06 17:18:21 Video .sig downloaded ok! 02/06 17:18:22 Snapshot .sig downloaded ok! 02/06 17:18:22 Elapsed download time: 00:00:04 02/06 17:18:22 UpdateVideoname 02/06 17:18:22 Updating: idalarmcra = 384920 02/06 17:18:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384920 ORDER BY IDALARMCRA DESC 02/06 17:18:22 Just before Update() 02/06 17:18:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:18:32 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:18:32 Don't have work. 02/06 17:18:42 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:18:42 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 42) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:18:42 Alarms with pending videos found! 02/06 17:18:42 Next idalarmcra = 384922 02/06 17:18:42 DownloadVideos::DownloadVideoOfAlarm 02/06 17:18:42 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 17:18:42 SAM|10923 02/06 17:18:42 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:18:43 NOK answer received 02/06 17:18:43 UpdateVideoname 02/06 17:18:43 Updating: idalarmcra = 384922 02/06 17:18:43 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384922 ORDER BY IDALARMCRA DESC 02/06 17:18:43 Just before Update() 02/06 17:18:43 Next idalarmcra = 384921 02/06 17:18:43 DownloadVideos::DownloadVideoOfAlarm 02/06 17:18:43 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 17:18:43 SAM|23002 02/06 17:18:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_171831_96.mp4|113691| 02/06 17:18:43 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_171831_96.mp4 02/06 17:18:43 Date = 20190602 02/06 17:18:43 Construct from filename date 02/06 17:18:43 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_171831_96.mp4 02/06 17:18:43 Destination file not found 02/06 17:18:43 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_171831_96.mp4 02/06 17:18:43 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_171831_96.mp4 02/06 17:18:45 DownloadFile ok... checking file destination 02/06 17:18:45 URLDownloadToFile ok 02/06 17:18:46 Video .sig downloaded ok! 02/06 17:18:46 Snapshot .sig downloaded ok! 02/06 17:18:46 Elapsed download time: 00:00:03 02/06 17:18:46 UpdateVideoname 02/06 17:18:46 Updating: idalarmcra = 384921 02/06 17:18:46 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384921 ORDER BY IDALARMCRA DESC 02/06 17:18:46 Just before Update() 02/06 17:18:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:18:56 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 18 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:18:56 Don't have work. 02/06 17:19:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:19:06 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:19:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:19:16 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:19:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:19:27 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:19:37 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:19:37 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:19:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:19:47 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:19:57 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:19:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 19 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 19) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:20:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:20:07 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:20:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:20:17 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 17) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:20:17 Alarms with pending videos found! 02/06 17:20:17 Next idalarmcra = 384923 02/06 17:20:17 DownloadVideos::DownloadVideoOfAlarm 02/06 17:20:17 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 17:20:17 SAM|10924 02/06 17:20:17 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162012_154.mp4|103237| 02/06 17:20:17 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162012_154.mp4 02/06 17:20:17 Date = 20190602 02/06 17:20:17 Construct from filename date 02/06 17:20:17 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162012_154.mp4 02/06 17:20:17 Destination file not found 02/06 17:20:17 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162012_154.mp4 02/06 17:20:17 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162012_154.mp4 02/06 17:20:20 DownloadFile ok... checking file destination 02/06 17:20:20 URLDownloadToFile ok 02/06 17:20:20 Video .sig downloaded ok! 02/06 17:20:20 Snapshot .sig downloaded ok! 02/06 17:20:20 Elapsed download time: 00:00:03 02/06 17:20:20 UpdateVideoname 02/06 17:20:20 Updating: idalarmcra = 384923 02/06 17:20:20 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384923 ORDER BY IDALARMCRA DESC 02/06 17:20:20 Just before Update() 02/06 17:20:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:20:31 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:20:31 Don't have work. 02/06 17:20:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:20:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:20:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:20:51 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 20 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:20:51 Alarms with pending videos found! 02/06 17:20:51 Next idalarmcra = 384924 02/06 17:20:51 DownloadVideos::DownloadVideoOfAlarm 02/06 17:20:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 17:20:51 SAM|23003 02/06 17:20:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_172036_97.mp4|109842| 02/06 17:20:51 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_172036_97.mp4 02/06 17:20:51 Date = 20190602 02/06 17:20:51 Construct from filename date 02/06 17:20:51 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_172036_97.mp4 02/06 17:20:51 Destination file not found 02/06 17:20:51 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_172036_97.mp4 02/06 17:20:51 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_172036_97.mp4 02/06 17:20:52 DownloadFile ok... checking file destination 02/06 17:20:52 URLDownloadToFile ok 02/06 17:20:53 Video .sig downloaded ok! 02/06 17:20:53 Snapshot .sig downloaded ok! 02/06 17:20:53 Elapsed download time: 00:00:02 02/06 17:20:53 UpdateVideoname 02/06 17:20:53 Updating: idalarmcra = 384924 02/06 17:20:53 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384924 ORDER BY IDALARMCRA DESC 02/06 17:20:53 Just before Update() 02/06 17:21:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:21:03 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:21:03 Alarms with pending videos found! 02/06 17:21:03 Next idalarmcra = 384925 02/06 17:21:03 DownloadVideos::DownloadVideoOfAlarm 02/06 17:21:03 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 17:21:03 SAM|10925 02/06 17:21:03 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:21:04 NOK answer received 02/06 17:21:04 UpdateVideoname 02/06 17:21:04 Updating: idalarmcra = 384925 02/06 17:21:04 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384925 ORDER BY IDALARMCRA DESC 02/06 17:21:04 Just before Update() 02/06 17:21:14 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:21:14 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:21:14 Alarms with pending videos found! 02/06 17:21:14 Next idalarmcra = 384926 02/06 17:21:14 DownloadVideos::DownloadVideoOfAlarm 02/06 17:21:14 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 11 02/06 17:21:14 SAM|15977 02/06 17:21:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_A_Cam3_Event2_20190602_172100_0.mp4|112980| 02/06 17:21:14 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_A_Cam3_Event2_20190602_172100_0.mp4 02/06 17:21:14 Date = 20190602 02/06 17:21:14 Construct from filename date 02/06 17:21:14 Destination: c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam3_Event2_20190602_172100_0.mp4 02/06 17:21:14 Destination file not found 02/06 17:21:14 http://192.168.16.100:21000/20190602\\SiteDGS_VA_AYDIN_A_Cam3_Event2_20190602_172100_0.mp4 02/06 17:21:14 c:\Davantis\CRAServer\\SITE_11\\20190602\\SiteDGS_VA_AYDIN_A_Cam3_Event2_20190602_172100_0.mp4 02/06 17:21:15 DownloadFile ok... checking file destination 02/06 17:21:15 URLDownloadToFile ok 02/06 17:21:19 Video .sig downloaded ok! 02/06 17:21:19 Snapshot .sig downloaded ok! 02/06 17:21:19 Elapsed download time: 00:00:05 02/06 17:21:19 UpdateVideoname 02/06 17:21:19 Updating: idalarmcra = 384926 02/06 17:21:19 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384926 ORDER BY IDALARMCRA DESC 02/06 17:21:19 Just before Update() 02/06 17:21:19 Next idalarmcra = 384925 02/06 17:21:19 DownloadVideos::DownloadVideoOfAlarm 02/06 17:21:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 17:21:19 SAM|10925 02/06 17:21:20 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162058_155.mp4|98776| 02/06 17:21:20 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162058_155.mp4 02/06 17:21:20 Date = 20190602 02/06 17:21:20 Construct from filename date 02/06 17:21:20 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162058_155.mp4 02/06 17:21:20 Destination file not found 02/06 17:21:20 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162058_155.mp4 02/06 17:21:20 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162058_155.mp4 02/06 17:21:22 DownloadFile ok... checking file destination 02/06 17:21:22 URLDownloadToFile ok 02/06 17:21:22 Video .sig downloaded ok! 02/06 17:21:22 Snapshot .sig downloaded ok! 02/06 17:21:22 Elapsed download time: 00:00:03 02/06 17:21:22 UpdateVideoname 02/06 17:21:22 Updating: idalarmcra = 384925 02/06 17:21:22 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384925 ORDER BY IDALARMCRA DESC 02/06 17:21:22 Just before Update() 02/06 17:21:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:21:32 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:21:32 Alarms with pending videos found! 02/06 17:21:32 Next idalarmcra = 384927 02/06 17:21:32 DownloadVideos::DownloadVideoOfAlarm 02/06 17:21:32 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 54 02/06 17:21:32 SAM|865 02/06 17:21:33 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_172152_9.mp4|111418| 02/06 17:21:33 FilenameSrc = 20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_172152_9.mp4 02/06 17:21:33 Date = 20190602 02/06 17:21:33 Construct from filename date 02/06 17:21:33 Destination: c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_172152_9.mp4 02/06 17:21:33 Destination file not found 02/06 17:21:33 http://5.26.158.177:21001/20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_172152_9.mp4 02/06 17:21:33 c:\Davantis\CRAServer\\SITE_54\\20190602\\SiteDGS_VA_TAVSANLI_B_Cam2_Event2_20190602_172152_9.mp4 02/06 17:21:39 DownloadFile ok... checking file destination 02/06 17:21:39 URLDownloadToFile ok 02/06 17:21:40 Video .sig downloaded ok! 02/06 17:21:40 Snapshot .sig downloaded ok! 02/06 17:21:40 Elapsed download time: 00:00:08 02/06 17:21:40 UpdateVideoname 02/06 17:21:40 Updating: idalarmcra = 384927 02/06 17:21:40 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384927 ORDER BY IDALARMCRA DESC 02/06 17:21:40 Just before Update() 02/06 17:21:50 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:21:51 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 21 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:21:51 Alarms with pending videos found! 02/06 17:21:51 Next idalarmcra = 384928 02/06 17:21:51 DownloadVideos::DownloadVideoOfAlarm 02/06 17:21:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 17:21:51 SAM|163152 02/06 17:21:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_173428_17.mp4|98557| 02/06 17:21:51 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_173428_17.mp4 02/06 17:21:51 Date = 20190602 02/06 17:21:51 Construct from filename date 02/06 17:21:51 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_173428_17.mp4 02/06 17:21:51 Destination file not found 02/06 17:21:51 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_173428_17.mp4 02/06 17:21:51 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_173428_17.mp4 02/06 17:21:52 DownloadFile ok... checking file destination 02/06 17:21:52 URLDownloadToFile ok 02/06 17:21:53 Video .sig downloaded ok! 02/06 17:21:53 Snapshot .sig downloaded ok! 02/06 17:21:53 Elapsed download time: 00:00:02 02/06 17:21:53 UpdateVideoname 02/06 17:21:53 Updating: idalarmcra = 384928 02/06 17:21:53 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384928 ORDER BY IDALARMCRA DESC 02/06 17:21:53 Just before Update() 02/06 17:22:03 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:22:03 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 3) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:22:03 Don't have work. 02/06 17:22:13 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:22:13 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 13) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:22:23 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:22:23 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:22:33 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:22:33 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:22:43 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:22:43 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:22:53 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:22:54 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 22 and DATENAME(second,STARTED) > 53) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:23:04 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:23:04 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:23:14 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:23:14 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 14) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:23:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:23:24 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:23:24 Alarms with pending videos found! 02/06 17:23:24 Next idalarmcra = 384931 02/06 17:23:24 DownloadVideos::DownloadVideoOfAlarm 02/06 17:23:24 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 17:23:24 SAM|4730 02/06 17:23:24 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_172439_169.mp4|116938| 02/06 17:23:24 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_172439_169.mp4 02/06 17:23:24 Date = 20190602 02/06 17:23:24 Construct from filename date 02/06 17:23:24 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_172439_169.mp4 02/06 17:23:24 Destination file not found 02/06 17:23:24 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_172439_169.mp4 02/06 17:23:24 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_172439_169.mp4 02/06 17:23:26 DownloadFile ok... checking file destination 02/06 17:23:26 URLDownloadToFile ok 02/06 17:23:26 Video .sig downloaded ok! 02/06 17:23:26 Snapshot .sig downloaded ok! 02/06 17:23:26 Elapsed download time: 00:00:02 02/06 17:23:27 UpdateVideoname 02/06 17:23:27 Updating: idalarmcra = 384931 02/06 17:23:27 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384931 ORDER BY IDALARMCRA DESC 02/06 17:23:27 Just before Update() 02/06 17:23:27 Next idalarmcra = 384930 02/06 17:23:27 DownloadVideos::DownloadVideoOfAlarm 02/06 17:23:27 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 17:23:27 SAM|14796 02/06 17:23:27 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172318_564.mp4|119167| 02/06 17:23:27 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172318_564.mp4 02/06 17:23:27 Date = 20190602 02/06 17:23:27 Construct from filename date 02/06 17:23:27 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172318_564.mp4 02/06 17:23:27 Destination file not found 02/06 17:23:27 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172318_564.mp4 02/06 17:23:27 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172318_564.mp4 02/06 17:23:28 DownloadFile ok... checking file destination 02/06 17:23:28 URLDownloadToFile ok 02/06 17:23:28 Video .sig downloaded ok! 02/06 17:23:29 Snapshot .sig downloaded ok! 02/06 17:23:29 Elapsed download time: 00:00:02 02/06 17:23:29 UpdateVideoname 02/06 17:23:29 Updating: idalarmcra = 384930 02/06 17:23:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384930 ORDER BY IDALARMCRA DESC 02/06 17:23:29 Just before Update() 02/06 17:23:39 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:23:39 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:23:39 Don't have work. 02/06 17:23:49 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:23:49 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 49) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:23:59 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:23:59 [D] Query(27ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 23 and DATENAME(second,STARTED) > 59) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 23) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:23:59 Alarms with pending videos found! 02/06 17:23:59 Next idalarmcra = 384933 02/06 17:23:59 DownloadVideos::DownloadVideoOfAlarm 02/06 17:23:59 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 17:23:59 SAM|14797 02/06 17:23:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172352_565.mp4|123631| 02/06 17:23:59 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172352_565.mp4 02/06 17:23:59 Date = 20190602 02/06 17:23:59 Construct from filename date 02/06 17:23:59 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172352_565.mp4 02/06 17:23:59 Destination file not found 02/06 17:23:59 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172352_565.mp4 02/06 17:23:59 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172352_565.mp4 02/06 17:24:01 DownloadFile ok... checking file destination 02/06 17:24:01 URLDownloadToFile ok 02/06 17:24:01 Video .sig downloaded ok! 02/06 17:24:01 Snapshot .sig downloaded ok! 02/06 17:24:01 Elapsed download time: 00:00:02 02/06 17:24:01 UpdateVideoname 02/06 17:24:01 Updating: idalarmcra = 384933 02/06 17:24:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384933 ORDER BY IDALARMCRA DESC 02/06 17:24:01 Just before Update() 02/06 17:24:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:24:11 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:24:11 Alarms with pending videos found! 02/06 17:24:11 Next idalarmcra = 384934 02/06 17:24:11 DownloadVideos::DownloadVideoOfAlarm 02/06 17:24:11 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 17:24:11 SAM|23004 02/06 17:24:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_172402_98.mp4|115115| 02/06 17:24:12 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_172402_98.mp4 02/06 17:24:12 Date = 20190602 02/06 17:24:12 Construct from filename date 02/06 17:24:12 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_172402_98.mp4 02/06 17:24:12 Destination file not found 02/06 17:24:12 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_172402_98.mp4 02/06 17:24:12 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_172402_98.mp4 02/06 17:24:13 DownloadFile ok... checking file destination 02/06 17:24:13 URLDownloadToFile ok 02/06 17:24:13 Video .sig downloaded ok! 02/06 17:24:14 Snapshot .sig downloaded ok! 02/06 17:24:14 Elapsed download time: 00:00:03 02/06 17:24:14 UpdateVideoname 02/06 17:24:14 Updating: idalarmcra = 384934 02/06 17:24:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384934 ORDER BY IDALARMCRA DESC 02/06 17:24:14 Just before Update() 02/06 17:24:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:24:24 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:24:24 Don't have work. 02/06 17:24:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:24:34 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:24:34 Alarms with pending videos found! 02/06 17:24:34 Next idalarmcra = 384935 02/06 17:24:34 DownloadVideos::DownloadVideoOfAlarm 02/06 17:24:34 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 16 02/06 17:24:34 SAM|4655 02/06 17:24:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_B_Cam3_Event2_20190602_172425_99.mp4|108127| 02/06 17:24:34 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_B_Cam3_Event2_20190602_172425_99.mp4 02/06 17:24:34 Date = 20190602 02/06 17:24:34 Construct from filename date 02/06 17:24:34 Destination: c:\Davantis\CRAServer\\SITE_16\\20190602\\SiteDGS_VA_ACIPAYAM_B_Cam3_Event2_20190602_172425_99.mp4 02/06 17:24:34 Destination file not found 02/06 17:24:34 http://192.168.19.101:21001/20190602\\SiteDGS_VA_ACIPAYAM_B_Cam3_Event2_20190602_172425_99.mp4 02/06 17:24:34 c:\Davantis\CRAServer\\SITE_16\\20190602\\SiteDGS_VA_ACIPAYAM_B_Cam3_Event2_20190602_172425_99.mp4 02/06 17:24:36 DownloadFile ok... checking file destination 02/06 17:24:36 URLDownloadToFile ok 02/06 17:24:37 Video .sig downloaded ok! 02/06 17:24:37 Snapshot .sig downloaded ok! 02/06 17:24:37 Elapsed download time: 00:00:03 02/06 17:24:37 UpdateVideoname 02/06 17:24:37 Updating: idalarmcra = 384935 02/06 17:24:37 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384935 ORDER BY IDALARMCRA DESC 02/06 17:24:37 Just before Update() 02/06 17:24:47 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:24:47 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 47) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:24:47 Don't have work. 02/06 17:24:57 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:24:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 24 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:25:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:25:07 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:25:07 Alarms with pending videos found! 02/06 17:25:07 Next idalarmcra = 384936 02/06 17:25:07 DownloadVideos::DownloadVideoOfAlarm 02/06 17:25:07 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 10 02/06 17:25:07 SAM|16956 02/06 17:25:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_172458_112.mp4|104678| 02/06 17:25:08 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_172458_112.mp4 02/06 17:25:08 Date = 20190602 02/06 17:25:08 Construct from filename date 02/06 17:25:08 Destination: c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_172458_112.mp4 02/06 17:25:08 Destination file not found 02/06 17:25:08 http://192.168.25.101:21001/20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_172458_112.mp4 02/06 17:25:08 c:\Davantis\CRAServer\\SITE_10\\20190602\\SiteDGS_VA_CIGLI_B_Cam1_Event2_20190602_172458_112.mp4 02/06 17:25:10 DownloadFile ok... checking file destination 02/06 17:25:10 URLDownloadToFile ok 02/06 17:25:10 Video .sig downloaded ok! 02/06 17:25:10 Snapshot .sig downloaded ok! 02/06 17:25:10 Elapsed download time: 00:00:03 02/06 17:25:10 UpdateVideoname 02/06 17:25:10 Updating: idalarmcra = 384936 02/06 17:25:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384936 ORDER BY IDALARMCRA DESC 02/06 17:25:10 Just before Update() 02/06 17:25:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:25:20 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:25:20 Don't have work. 02/06 17:25:30 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:25:31 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:25:31 Alarms with pending videos found! 02/06 17:25:31 Next idalarmcra = 384937 02/06 17:25:31 DownloadVideos::DownloadVideoOfAlarm 02/06 17:25:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 17:25:31 SAM|10926 02/06 17:25:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162521_156.mp4|98210| 02/06 17:25:31 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162521_156.mp4 02/06 17:25:31 Date = 20190602 02/06 17:25:31 Construct from filename date 02/06 17:25:31 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162521_156.mp4 02/06 17:25:31 Destination file not found 02/06 17:25:31 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162521_156.mp4 02/06 17:25:31 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162521_156.mp4 02/06 17:25:33 DownloadFile ok... checking file destination 02/06 17:25:33 URLDownloadToFile ok 02/06 17:25:33 Video .sig downloaded ok! 02/06 17:25:34 Snapshot .sig downloaded ok! 02/06 17:25:34 Elapsed download time: 00:00:03 02/06 17:25:34 UpdateVideoname 02/06 17:25:34 Updating: idalarmcra = 384937 02/06 17:25:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384937 ORDER BY IDALARMCRA DESC 02/06 17:25:34 Just before Update() 02/06 17:25:44 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:25:44 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:25:44 Alarms with pending videos found! 02/06 17:25:44 Next idalarmcra = 384938 02/06 17:25:44 DownloadVideos::DownloadVideoOfAlarm 02/06 17:25:44 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:25:44 SAM|1251 02/06 17:25:44 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172452_97.mp4|112424| 02/06 17:25:44 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172452_97.mp4 02/06 17:25:44 Date = 20190602 02/06 17:25:44 Construct from filename date 02/06 17:25:44 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172452_97.mp4 02/06 17:25:44 Destination file not found 02/06 17:25:44 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172452_97.mp4 02/06 17:25:44 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172452_97.mp4 02/06 17:25:45 DownloadFile ok... checking file destination 02/06 17:25:45 URLDownloadToFile ok 02/06 17:25:45 Video .sig downloaded ok! 02/06 17:25:45 Snapshot .sig downloaded ok! 02/06 17:25:45 Elapsed download time: 00:00:01 02/06 17:25:45 UpdateVideoname 02/06 17:25:45 Updating: idalarmcra = 384938 02/06 17:25:45 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384938 ORDER BY IDALARMCRA DESC 02/06 17:25:45 Just before Update() 02/06 17:25:55 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:25:55 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 25 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:25:55 Don't have work. 02/06 17:26:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:26:06 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:26:06 Alarms with pending videos found! 02/06 17:26:06 Next idalarmcra = 384939 02/06 17:26:06 DownloadVideos::DownloadVideoOfAlarm 02/06 17:26:06 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 12 02/06 17:26:06 SAM|22295 02/06 17:26:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_173038_6.mp4|115102| 02/06 17:26:06 FilenameSrc = 20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_173038_6.mp4 02/06 17:26:06 Date = 20190602 02/06 17:26:06 Construct from filename date 02/06 17:26:06 Destination: c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_173038_6.mp4 02/06 17:26:06 Destination file not found 02/06 17:26:06 http://192.168.16.101:21001/20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_173038_6.mp4 02/06 17:26:06 c:\Davantis\CRAServer\\SITE_12\\20190602\\SiteDGS_VA_AYDIN_B_Cam7_Event2_20190602_173038_6.mp4 02/06 17:26:07 DownloadFile ok... checking file destination 02/06 17:26:07 URLDownloadToFile ok 02/06 17:26:07 Video .sig downloaded ok! 02/06 17:26:07 Snapshot .sig downloaded ok! 02/06 17:26:07 Elapsed download time: 00:00:01 02/06 17:26:08 UpdateVideoname 02/06 17:26:08 Updating: idalarmcra = 384939 02/06 17:26:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384939 ORDER BY IDALARMCRA DESC 02/06 17:26:08 Just before Update() 02/06 17:26:18 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:26:18 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:26:18 Don't have work. 02/06 17:26:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:26:28 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:26:28 Alarms with pending videos found! 02/06 17:26:28 Next idalarmcra = 384942 02/06 17:26:28 DownloadVideos::DownloadVideoOfAlarm 02/06 17:26:28 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:26:28 SAM|1253 02/06 17:26:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172536_98.mp4|110930| 02/06 17:26:28 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172536_98.mp4 02/06 17:26:28 Date = 20190602 02/06 17:26:28 Construct from filename date 02/06 17:26:28 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172536_98.mp4 02/06 17:26:28 Destination file not found 02/06 17:26:28 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172536_98.mp4 02/06 17:26:28 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172536_98.mp4 02/06 17:26:29 DownloadFile ok... checking file destination 02/06 17:26:29 URLDownloadToFile ok 02/06 17:26:29 Video .sig downloaded ok! 02/06 17:26:29 Snapshot .sig downloaded ok! 02/06 17:26:29 Elapsed download time: 00:00:01 02/06 17:26:29 UpdateVideoname 02/06 17:26:29 Updating: idalarmcra = 384942 02/06 17:26:29 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384942 ORDER BY IDALARMCRA DESC 02/06 17:26:29 Just before Update() 02/06 17:26:29 Next idalarmcra = 384941 02/06 17:26:29 DownloadVideos::DownloadVideoOfAlarm 02/06 17:26:29 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:26:29 SAM|1252 02/06 17:26:29 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_172530_470.mp4|109395| 02/06 17:26:29 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_172530_470.mp4 02/06 17:26:29 Date = 20190602 02/06 17:26:29 Construct from filename date 02/06 17:26:29 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_172530_470.mp4 02/06 17:26:29 Destination file not found 02/06 17:26:29 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_172530_470.mp4 02/06 17:26:29 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_172530_470.mp4 02/06 17:26:29 DownloadFile ok... checking file destination 02/06 17:26:29 URLDownloadToFile ok 02/06 17:26:29 Video .sig downloaded ok! 02/06 17:26:30 Snapshot .sig downloaded ok! 02/06 17:26:30 Elapsed download time: 00:00:01 02/06 17:26:30 UpdateVideoname 02/06 17:26:30 Updating: idalarmcra = 384941 02/06 17:26:30 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384941 ORDER BY IDALARMCRA DESC 02/06 17:26:30 Just before Update() 02/06 17:26:30 Next idalarmcra = 384940 02/06 17:26:30 DownloadVideos::DownloadVideoOfAlarm 02/06 17:26:30 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:26:30 SAM|799 02/06 17:26:30 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_172616_150.mp4|107029| 02/06 17:26:30 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_172616_150.mp4 02/06 17:26:30 Date = 20190602 02/06 17:26:30 Construct from filename date 02/06 17:26:30 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_172616_150.mp4 02/06 17:26:30 Destination file not found 02/06 17:26:30 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_172616_150.mp4 02/06 17:26:30 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_172616_150.mp4 02/06 17:26:30 DownloadFile ok... checking file destination 02/06 17:26:30 URLDownloadToFile ok 02/06 17:26:31 Video .sig downloaded ok! 02/06 17:26:31 Snapshot .sig downloaded ok! 02/06 17:26:31 Elapsed download time: 00:00:01 02/06 17:26:31 UpdateVideoname 02/06 17:26:31 Updating: idalarmcra = 384940 02/06 17:26:31 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384940 ORDER BY IDALARMCRA DESC 02/06 17:26:31 Just before Update() 02/06 17:26:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:26:41 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:26:41 Don't have work. 02/06 17:26:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:26:51 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 26 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:26:51 Alarms with pending videos found! 02/06 17:26:51 Next idalarmcra = 384946 02/06 17:26:51 DownloadVideos::DownloadVideoOfAlarm 02/06 17:26:51 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 27 02/06 17:26:51 SAM|27122 02/06 17:26:51 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_A_Cam9_Event2_20190602_172642_2.mp4|79275| 02/06 17:26:52 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_A_Cam9_Event2_20190602_172642_2.mp4 02/06 17:26:52 Date = 20190602 02/06 17:26:52 Construct from filename date 02/06 17:26:52 Destination: c:\Davantis\CRAServer\\SITE_27\\20190602\\SiteDGS_VA_CIVRIL_A_Cam9_Event2_20190602_172642_2.mp4 02/06 17:26:52 Destination file not found 02/06 17:26:52 http://192.168.20.100:21000/20190602\\SiteDGS_VA_CIVRIL_A_Cam9_Event2_20190602_172642_2.mp4 02/06 17:26:52 c:\Davantis\CRAServer\\SITE_27\\20190602\\SiteDGS_VA_CIVRIL_A_Cam9_Event2_20190602_172642_2.mp4 02/06 17:26:54 DownloadFile ok... checking file destination 02/06 17:26:54 URLDownloadToFile ok 02/06 17:26:54 Video .sig downloaded ok! 02/06 17:26:55 Snapshot .sig downloaded ok! 02/06 17:26:55 Elapsed download time: 00:00:04 02/06 17:26:55 UpdateVideoname 02/06 17:26:55 Updating: idalarmcra = 384946 02/06 17:26:55 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384946 ORDER BY IDALARMCRA DESC 02/06 17:26:55 Just before Update() 02/06 17:26:55 Next idalarmcra = 384943 02/06 17:26:55 DownloadVideos::DownloadVideoOfAlarm 02/06 17:26:55 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 17:26:55 SAM|10029 02/06 17:26:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_172636_246.mp4|105620| 02/06 17:26:55 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_172636_246.mp4 02/06 17:26:55 Date = 20190602 02/06 17:26:55 Construct from filename date 02/06 17:26:55 Destination: c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_172636_246.mp4 02/06 17:26:55 Destination file not found 02/06 17:26:55 http://192.168.23.100:21000/20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_172636_246.mp4 02/06 17:26:55 c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_172636_246.mp4 02/06 17:26:58 DownloadFile ok... checking file destination 02/06 17:26:58 URLDownloadToFile ok 02/06 17:26:58 Video .sig downloaded ok! 02/06 17:26:58 Snapshot .sig downloaded ok! 02/06 17:26:58 Elapsed download time: 00:00:03 02/06 17:26:59 UpdateVideoname 02/06 17:26:59 Updating: idalarmcra = 384943 02/06 17:26:59 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384943 ORDER BY IDALARMCRA DESC 02/06 17:26:59 Just before Update() 02/06 17:27:09 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:27:09 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 9) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:27:09 Alarms with pending videos found! 02/06 17:27:09 Next idalarmcra = 384947 02/06 17:27:09 DownloadVideos::DownloadVideoOfAlarm 02/06 17:27:09 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 17:27:09 SAM|10927 02/06 17:27:09 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162648_157.mp4|94447| 02/06 17:27:09 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162648_157.mp4 02/06 17:27:09 Date = 20190602 02/06 17:27:09 Construct from filename date 02/06 17:27:09 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162648_157.mp4 02/06 17:27:09 Destination file not found 02/06 17:27:09 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162648_157.mp4 02/06 17:27:09 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_162648_157.mp4 02/06 17:27:11 DownloadFile ok... checking file destination 02/06 17:27:11 URLDownloadToFile ok 02/06 17:27:14 Video .sig downloaded ok! 02/06 17:27:14 Snapshot .sig downloaded ok! 02/06 17:27:14 Elapsed download time: 00:00:05 02/06 17:27:14 UpdateVideoname 02/06 17:27:14 Updating: idalarmcra = 384947 02/06 17:27:14 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384947 ORDER BY IDALARMCRA DESC 02/06 17:27:14 Just before Update() 02/06 17:27:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:27:24 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:27:24 Don't have work. 02/06 17:27:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:27:34 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:27:34 Alarms with pending videos found! 02/06 17:27:34 Next idalarmcra = 384948 02/06 17:27:34 DownloadVideos::DownloadVideoOfAlarm 02/06 17:27:34 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 17:27:34 SAM|14798 02/06 17:27:34 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:27:35 NOK answer received 02/06 17:27:35 UpdateVideoname 02/06 17:27:35 Updating: idalarmcra = 384948 02/06 17:27:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384948 ORDER BY IDALARMCRA DESC 02/06 17:27:35 Just before Update() 02/06 17:27:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:27:45 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 27 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 27) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:27:45 Alarms with pending videos found! 02/06 17:27:45 Next idalarmcra = 384949 02/06 17:27:45 DownloadVideos::DownloadVideoOfAlarm 02/06 17:27:45 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 21 02/06 17:27:45 SAM|3952 02/06 17:27:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_172735_8.mp4|116609| 02/06 17:27:45 FilenameSrc = 20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_172735_8.mp4 02/06 17:27:45 Date = 20190602 02/06 17:27:45 Construct from filename date 02/06 17:27:45 Destination: c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_172735_8.mp4 02/06 17:27:45 Destination file not found 02/06 17:27:45 http://192.168.29.100:21000/20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_172735_8.mp4 02/06 17:27:45 c:\Davantis\CRAServer\\SITE_21\\20190602\\SiteDGS_VA_TORBALI_A_Cam2_Event2_20190602_172735_8.mp4 02/06 17:27:47 DownloadFile ok... checking file destination 02/06 17:27:47 URLDownloadToFile ok 02/06 17:27:47 Video .sig downloaded ok! 02/06 17:27:47 Snapshot .sig downloaded ok! 02/06 17:27:47 Elapsed download time: 00:00:02 02/06 17:27:47 UpdateVideoname 02/06 17:27:47 Updating: idalarmcra = 384949 02/06 17:27:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384949 ORDER BY IDALARMCRA DESC 02/06 17:27:47 Just before Update() 02/06 17:27:47 Next idalarmcra = 384948 02/06 17:27:47 DownloadVideos::DownloadVideoOfAlarm 02/06 17:27:47 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 9 02/06 17:27:47 SAM|14798 02/06 17:27:47 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172733_566.mp4|112626| 02/06 17:27:48 FilenameSrc = 20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172733_566.mp4 02/06 17:27:48 Date = 20190602 02/06 17:27:48 Construct from filename date 02/06 17:27:48 Destination: c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172733_566.mp4 02/06 17:27:48 Destination file not found 02/06 17:27:48 http://192.168.25.100:21000/20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172733_566.mp4 02/06 17:27:48 c:\Davantis\CRAServer\\SITE_9\\20190602\\SiteDGS_VA_CIGLI_A_Cam3_Event2_20190602_172733_566.mp4 02/06 17:27:49 DownloadFile ok... checking file destination 02/06 17:27:49 URLDownloadToFile ok 02/06 17:27:50 Video .sig downloaded ok! 02/06 17:27:50 Snapshot .sig downloaded ok! 02/06 17:27:50 Elapsed download time: 00:00:03 02/06 17:27:50 UpdateVideoname 02/06 17:27:50 Updating: idalarmcra = 384948 02/06 17:27:50 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384948 ORDER BY IDALARMCRA DESC 02/06 17:27:50 Just before Update() 02/06 17:28:00 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:28:00 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 0) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:28:00 Alarms with pending videos found! 02/06 17:28:00 Next idalarmcra = 384950 02/06 17:28:00 DownloadVideos::DownloadVideoOfAlarm 02/06 17:28:00 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:28:00 SAM|1254 02/06 17:28:01 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_172709_471.mp4|105609| 02/06 17:28:01 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_172709_471.mp4 02/06 17:28:01 Date = 20190602 02/06 17:28:01 Construct from filename date 02/06 17:28:01 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_172709_471.mp4 02/06 17:28:01 Destination file not found 02/06 17:28:01 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_172709_471.mp4 02/06 17:28:01 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_172709_471.mp4 02/06 17:28:01 DownloadFile ok... checking file destination 02/06 17:28:01 URLDownloadToFile ok 02/06 17:28:01 Video .sig downloaded ok! 02/06 17:28:02 Snapshot .sig downloaded ok! 02/06 17:28:02 Elapsed download time: 00:00:02 02/06 17:28:02 UpdateVideoname 02/06 17:28:02 Updating: idalarmcra = 384950 02/06 17:28:02 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384950 ORDER BY IDALARMCRA DESC 02/06 17:28:02 Just before Update() 02/06 17:28:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:28:12 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:28:12 Alarms with pending videos found! 02/06 17:28:12 Next idalarmcra = 384953 02/06 17:28:12 DownloadVideos::DownloadVideoOfAlarm 02/06 17:28:12 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:28:12 SAM|1256 02/06 17:28:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_172718_209.mp4|104112| 02/06 17:28:12 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_172718_209.mp4 02/06 17:28:12 Date = 20190602 02/06 17:28:12 Construct from filename date 02/06 17:28:12 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_172718_209.mp4 02/06 17:28:12 Destination file not found 02/06 17:28:12 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_172718_209.mp4 02/06 17:28:12 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam2_Event2_20190602_172718_209.mp4 02/06 17:28:12 DownloadFile ok... checking file destination 02/06 17:28:12 URLDownloadToFile ok 02/06 17:28:12 Video .sig downloaded ok! 02/06 17:28:13 Snapshot .sig downloaded ok! 02/06 17:28:13 Elapsed download time: 00:00:01 02/06 17:28:13 UpdateVideoname 02/06 17:28:13 Updating: idalarmcra = 384953 02/06 17:28:13 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384953 ORDER BY IDALARMCRA DESC 02/06 17:28:13 Just before Update() 02/06 17:28:13 Next idalarmcra = 384952 02/06 17:28:13 DownloadVideos::DownloadVideoOfAlarm 02/06 17:28:13 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 47 02/06 17:28:13 SAM|800 02/06 17:28:13 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_172756_151.mp4|101412| 02/06 17:28:13 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_172756_151.mp4 02/06 17:28:13 Date = 20190602 02/06 17:28:13 Construct from filename date 02/06 17:28:13 Destination: c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_172756_151.mp4 02/06 17:28:13 Destination file not found 02/06 17:28:13 http://5.26.113.26:21000/20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_172756_151.mp4 02/06 17:28:13 c:\Davantis\CRAServer\\SITE_47\\20190602\\SiteGEDIZ_DGS_VA_A_Cam3_Event2_20190602_172756_151.mp4 02/06 17:28:13 DownloadFile ok... checking file destination 02/06 17:28:13 URLDownloadToFile ok 02/06 17:28:14 Video .sig downloaded ok! 02/06 17:28:14 Snapshot .sig downloaded ok! 02/06 17:28:14 Elapsed download time: 00:00:01 02/06 17:28:14 UpdateVideoname 02/06 17:28:14 Updating: idalarmcra = 384952 02/06 17:28:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384952 ORDER BY IDALARMCRA DESC 02/06 17:28:14 Just before Update() 02/06 17:28:14 Next idalarmcra = 384951 02/06 17:28:14 DownloadVideos::DownloadVideoOfAlarm 02/06 17:28:14 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:28:14 SAM|1255 02/06 17:28:14 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172712_99.mp4|106373| 02/06 17:28:14 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172712_99.mp4 02/06 17:28:14 Date = 20190602 02/06 17:28:14 Construct from filename date 02/06 17:28:14 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172712_99.mp4 02/06 17:28:14 Destination file not found 02/06 17:28:14 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172712_99.mp4 02/06 17:28:14 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172712_99.mp4 02/06 17:28:14 DownloadFile ok... checking file destination 02/06 17:28:14 URLDownloadToFile ok 02/06 17:28:14 Video .sig downloaded ok! 02/06 17:28:14 Snapshot .sig downloaded ok! 02/06 17:28:14 Elapsed download time: 00:00:00 02/06 17:28:14 UpdateVideoname 02/06 17:28:14 Updating: idalarmcra = 384951 02/06 17:28:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384951 ORDER BY IDALARMCRA DESC 02/06 17:28:14 Just before Update() 02/06 17:28:24 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:28:25 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:28:25 Don't have work. 02/06 17:28:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:28:35 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:28:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:28:45 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:28:45 Alarms with pending videos found! 02/06 17:28:45 Next idalarmcra = 384954 02/06 17:28:45 DownloadVideos::DownloadVideoOfAlarm 02/06 17:28:45 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:28:45 SAM|1257 02/06 17:28:45 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172750_100.mp4|104968| 02/06 17:28:45 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172750_100.mp4 02/06 17:28:45 Date = 20190602 02/06 17:28:45 Construct from filename date 02/06 17:28:45 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172750_100.mp4 02/06 17:28:45 Destination file not found 02/06 17:28:45 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172750_100.mp4 02/06 17:28:45 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_172750_100.mp4 02/06 17:28:45 DownloadFile ok... checking file destination 02/06 17:28:45 URLDownloadToFile ok 02/06 17:28:45 Video .sig downloaded ok! 02/06 17:28:46 Snapshot .sig downloaded ok! 02/06 17:28:46 Elapsed download time: 00:00:01 02/06 17:28:46 UpdateVideoname 02/06 17:28:46 Updating: idalarmcra = 384954 02/06 17:28:46 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384954 ORDER BY IDALARMCRA DESC 02/06 17:28:46 Just before Update() 02/06 17:28:56 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:28:56 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 28 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:28:56 Don't have work. 02/06 17:29:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:29:06 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:29:16 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:29:16 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:29:26 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:29:26 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 26) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:29:36 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:29:36 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:29:46 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:29:46 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:29:56 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:29:56 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 29 and DATENAME(second,STARTED) > 56) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:29:56 Alarms with pending videos found! 02/06 17:29:56 Next idalarmcra = 384957 02/06 17:29:56 DownloadVideos::DownloadVideoOfAlarm 02/06 17:29:56 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 40 02/06 17:29:56 SAM|4731 02/06 17:29:56 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_173112_170.mp4|112709| 02/06 17:29:57 FilenameSrc = 20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_173112_170.mp4 02/06 17:29:57 Date = 20190602 02/06 17:29:57 Construct from filename date 02/06 17:29:57 Destination: c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_173112_170.mp4 02/06 17:29:57 Destination file not found 02/06 17:29:57 http://192.168.17.101:21001/20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_173112_170.mp4 02/06 17:29:57 c:\Davantis\CRAServer\\SITE_40\\20190602\\SiteDGS_VA_NAZILLI_B_Cam1_Event2_20190602_173112_170.mp4 02/06 17:30:00 DownloadFile ok... checking file destination 02/06 17:30:00 URLDownloadToFile ok 02/06 17:30:01 Video .sig downloaded ok! 02/06 17:30:01 Snapshot .sig downloaded ok! 02/06 17:30:01 Elapsed download time: 00:00:05 02/06 17:30:01 UpdateVideoname 02/06 17:30:01 Updating: idalarmcra = 384957 02/06 17:30:01 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384957 ORDER BY IDALARMCRA DESC 02/06 17:30:01 Rollback executed. 02/06 17:30:01 RecordSet closed. 02/06 17:30:01 CheckDDBB 02/06 17:30:01 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 17:30:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:30:11 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:30:11 Alarms with pending videos found! 02/06 17:30:11 Next idalarmcra = 384958 02/06 17:30:11 DownloadVideos::DownloadVideoOfAlarm 02/06 17:30:11 [D] Query(10ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 43 02/06 17:30:11 SAM|2079 02/06 17:30:11 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_172955_103.mp4|101156| 02/06 17:30:12 FilenameSrc = 20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_172955_103.mp4 02/06 17:30:12 Date = 20190602 02/06 17:30:12 Construct from filename date 02/06 17:30:12 Destination: c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_172955_103.mp4 02/06 17:30:12 Destination file not found 02/06 17:30:12 http://192.168.32.100:21000/20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_172955_103.mp4 02/06 17:30:12 c:\Davantis\CRAServer\\SITE_43\\20190602\\SiteDGS_VA_DEMIRCI_A_Cam3_Event2_20190602_172955_103.mp4 02/06 17:30:13 DownloadFile ok... checking file destination 02/06 17:30:13 URLDownloadToFile ok 02/06 17:30:14 Video .sig downloaded ok! 02/06 17:30:14 Snapshot .sig downloaded ok! 02/06 17:30:14 Elapsed download time: 00:00:03 02/06 17:30:14 UpdateVideoname 02/06 17:30:14 Updating: idalarmcra = 384958 02/06 17:30:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384958 ORDER BY IDALARMCRA DESC 02/06 17:30:14 Just before Update() 02/06 17:30:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:30:24 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:30:24 Don't have work. 02/06 17:30:34 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:30:34 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:30:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:30:44 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:30:54 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:30:54 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 30 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:31:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:31:04 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 4) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:31:04 Alarms with pending videos found! 02/06 17:31:04 Next idalarmcra = 384959 02/06 17:31:04 DownloadVideos::DownloadVideoOfAlarm 02/06 17:31:05 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 27 02/06 17:31:05 SAM|27123 02/06 17:31:05 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:31:05 NOK answer received 02/06 17:31:05 UpdateVideoname 02/06 17:31:05 Updating: idalarmcra = 384959 02/06 17:31:05 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384959 ORDER BY IDALARMCRA DESC 02/06 17:31:05 Just before Update() 02/06 17:31:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:31:15 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:31:15 Alarms with pending videos found! 02/06 17:31:15 Next idalarmcra = 384959 02/06 17:31:15 DownloadVideos::DownloadVideoOfAlarm 02/06 17:31:15 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 27 02/06 17:31:15 SAM|27123 02/06 17:31:16 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_CIVRIL_A_Cam9_Event2_20190602_173104_3.mp4|86825| 02/06 17:31:17 FilenameSrc = 20190602\\SiteDGS_VA_CIVRIL_A_Cam9_Event2_20190602_173104_3.mp4 02/06 17:31:17 Date = 20190602 02/06 17:31:17 Construct from filename date 02/06 17:31:17 Destination: c:\Davantis\CRAServer\\SITE_27\\20190602\\SiteDGS_VA_CIVRIL_A_Cam9_Event2_20190602_173104_3.mp4 02/06 17:31:17 Destination file not found 02/06 17:31:17 http://192.168.20.100:21000/20190602\\SiteDGS_VA_CIVRIL_A_Cam9_Event2_20190602_173104_3.mp4 02/06 17:31:17 c:\Davantis\CRAServer\\SITE_27\\20190602\\SiteDGS_VA_CIVRIL_A_Cam9_Event2_20190602_173104_3.mp4 02/06 17:31:18 DownloadFile ok... checking file destination 02/06 17:31:18 URLDownloadToFile ok 02/06 17:31:19 Video .sig downloaded ok! 02/06 17:31:19 Snapshot .sig downloaded ok! 02/06 17:31:19 Elapsed download time: 00:00:04 02/06 17:31:19 UpdateVideoname 02/06 17:31:19 Updating: idalarmcra = 384959 02/06 17:31:19 [D] Query(1ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384959 ORDER BY IDALARMCRA DESC 02/06 17:31:19 Rollback executed. 02/06 17:31:19 RecordSet closed. 02/06 17:31:19 CheckDDBB 02/06 17:31:19 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 17:31:29 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:31:29 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 29) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:31:29 Don't have work. 02/06 17:31:39 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:31:39 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:31:49 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:31:50 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 31 and DATENAME(second,STARTED) > 50) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:31:50 Alarms with pending videos found! 02/06 17:31:50 Next idalarmcra = 384961 02/06 17:31:50 DownloadVideos::DownloadVideoOfAlarm 02/06 17:31:50 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:31:50 SAM|1258 02/06 17:31:50 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_173051_101.mp4|107427| 02/06 17:31:50 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_173051_101.mp4 02/06 17:31:50 Date = 20190602 02/06 17:31:50 Construct from filename date 02/06 17:31:50 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_173051_101.mp4 02/06 17:31:50 Destination file not found 02/06 17:31:50 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_173051_101.mp4 02/06 17:31:50 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_173051_101.mp4 02/06 17:31:51 DownloadFile ok... checking file destination 02/06 17:31:51 URLDownloadToFile ok 02/06 17:31:51 Video .sig downloaded ok! 02/06 17:31:51 Snapshot .sig downloaded ok! 02/06 17:31:51 Elapsed download time: 00:00:01 02/06 17:31:52 UpdateVideoname 02/06 17:31:52 Updating: idalarmcra = 384961 02/06 17:31:52 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384961 ORDER BY IDALARMCRA DESC 02/06 17:31:52 Just before Update() 02/06 17:32:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:32:02 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:32:02 Don't have work. 02/06 17:32:12 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:32:12 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 12) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:32:22 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:32:22 [D] Query(22ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 22) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:32:32 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:32:32 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:32:32 Alarms with pending videos found! 02/06 17:32:32 Next idalarmcra = 384965 02/06 17:32:32 DownloadVideos::DownloadVideoOfAlarm 02/06 17:32:32 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 19 02/06 17:32:32 SAM|10928 02/06 17:32:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_163220_158.mp4|101521| 02/06 17:32:33 FilenameSrc = 20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_163220_158.mp4 02/06 17:32:33 Date = 20190602 02/06 17:32:33 Construct from filename date 02/06 17:32:33 Destination: c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_163220_158.mp4 02/06 17:32:33 Destination file not found 02/06 17:32:33 http://192.168.22.100:21000/20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_163220_158.mp4 02/06 17:32:33 c:\Davantis\CRAServer\\SITE_19\\20190602\\SiteDGS_VA_ALIAGA_A_Cam3_Event2_20190602_163220_158.mp4 02/06 17:32:33 DownloadFile ok... checking file destination 02/06 17:32:33 URLDownloadToFile ok 02/06 17:32:34 Video .sig downloaded ok! 02/06 17:32:34 Snapshot .sig downloaded ok! 02/06 17:32:34 Elapsed download time: 00:00:02 02/06 17:32:35 UpdateVideoname 02/06 17:32:35 Updating: idalarmcra = 384965 02/06 17:32:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384965 ORDER BY IDALARMCRA DESC 02/06 17:32:35 Just before Update() 02/06 17:32:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:32:45 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:32:45 Don't have work. 02/06 17:32:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:32:55 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 32 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 32) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:33:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:33:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:33:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:33:15 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:33:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:33:25 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:33:35 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:33:35 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:33:35 Alarms with pending videos found! 02/06 17:33:35 Next idalarmcra = 384966 02/06 17:33:35 DownloadVideos::DownloadVideoOfAlarm 02/06 17:33:35 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:33:35 SAM|1644 02/06 17:33:35 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:33:36 NOK answer received 02/06 17:33:36 UpdateVideoname 02/06 17:33:36 Updating: idalarmcra = 384966 02/06 17:33:36 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384966 ORDER BY IDALARMCRA DESC 02/06 17:33:36 Just before Update() 02/06 17:33:46 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:33:46 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 46) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:33:46 Alarms with pending videos found! 02/06 17:33:46 Next idalarmcra = 384966 02/06 17:33:46 DownloadVideos::DownloadVideoOfAlarm 02/06 17:33:46 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:33:46 SAM|1644 02/06 17:33:46 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_173332_266.mp4|98815| 02/06 17:33:46 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_173332_266.mp4 02/06 17:33:46 Date = 20190602 02/06 17:33:46 Construct from filename date 02/06 17:33:46 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_173332_266.mp4 02/06 17:33:46 Destination file not found 02/06 17:33:46 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_173332_266.mp4 02/06 17:33:46 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_173332_266.mp4 02/06 17:33:47 DownloadFile ok... checking file destination 02/06 17:33:47 URLDownloadToFile ok 02/06 17:33:47 Video .sig downloaded ok! 02/06 17:33:47 Snapshot .sig downloaded ok! 02/06 17:33:47 Elapsed download time: 00:00:01 02/06 17:33:47 UpdateVideoname 02/06 17:33:47 Updating: idalarmcra = 384966 02/06 17:33:47 [D] Query(1ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384966 ORDER BY IDALARMCRA DESC 02/06 17:33:47 Just before Update() 02/06 17:33:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:33:57 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 33 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 33) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:33:57 Don't have work. 02/06 17:34:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:34:07 [D] Query(22ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:34:07 Alarms with pending videos found! 02/06 17:34:07 Next idalarmcra = 384967 02/06 17:34:07 DownloadVideos::DownloadVideoOfAlarm 02/06 17:34:07 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:34:07 SAM|1260 02/06 17:34:07 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_173308_103.mp4|106000| 02/06 17:34:07 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_173308_103.mp4 02/06 17:34:07 Date = 20190602 02/06 17:34:07 Construct from filename date 02/06 17:34:07 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_173308_103.mp4 02/06 17:34:07 Destination file not found 02/06 17:34:07 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_173308_103.mp4 02/06 17:34:07 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_173308_103.mp4 02/06 17:34:08 DownloadFile ok... checking file destination 02/06 17:34:08 URLDownloadToFile ok 02/06 17:34:08 Video .sig downloaded ok! 02/06 17:34:08 Snapshot .sig downloaded ok! 02/06 17:34:08 Elapsed download time: 00:00:01 02/06 17:34:08 UpdateVideoname 02/06 17:34:08 Updating: idalarmcra = 384967 02/06 17:34:08 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384967 ORDER BY IDALARMCRA DESC 02/06 17:34:08 Just before Update() 02/06 17:34:18 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:34:18 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:34:18 Alarms with pending videos found! 02/06 17:34:18 Next idalarmcra = 384969 02/06 17:34:18 DownloadVideos::DownloadVideoOfAlarm 02/06 17:34:18 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 17:34:18 SAM|10030 02/06 17:34:18 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:34:18 NOK answer received 02/06 17:34:19 UpdateVideoname 02/06 17:34:19 Updating: idalarmcra = 384969 02/06 17:34:19 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384969 ORDER BY IDALARMCRA DESC 02/06 17:34:19 Just before Update() 02/06 17:34:19 Next idalarmcra = 384968 02/06 17:34:19 DownloadVideos::DownloadVideoOfAlarm 02/06 17:34:19 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 17:34:19 SAM|23005 02/06 17:34:19 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173408_99.mp4|111271| 02/06 17:34:19 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173408_99.mp4 02/06 17:34:19 Date = 20190602 02/06 17:34:19 Construct from filename date 02/06 17:34:19 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173408_99.mp4 02/06 17:34:19 Destination file not found 02/06 17:34:19 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173408_99.mp4 02/06 17:34:19 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173408_99.mp4 02/06 17:34:20 DownloadFile ok... checking file destination 02/06 17:34:20 URLDownloadToFile ok 02/06 17:34:20 Video .sig downloaded ok! 02/06 17:34:21 Snapshot .sig downloaded ok! 02/06 17:34:21 Elapsed download time: 00:00:02 02/06 17:34:21 UpdateVideoname 02/06 17:34:21 Updating: idalarmcra = 384968 02/06 17:34:21 [D] Query(2ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384968 ORDER BY IDALARMCRA DESC 02/06 17:34:21 Rollback executed. 02/06 17:34:21 RecordSet closed. 02/06 17:34:21 CheckDDBB 02/06 17:34:21 Exception - DownloadVideos::StartDownloading - DavAlarmsOpenDAO::UpdateVideonameAndSize - - - Operation failed, no current record. 02/06 17:34:31 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:34:31 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:34:31 Don't have work. 02/06 17:34:41 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:34:41 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:34:51 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:34:51 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 34 and DATENAME(second,STARTED) > 51) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 34) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:35:01 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:35:01 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 1) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:35:11 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:35:11 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:35:11 Alarms with pending videos found! 02/06 17:35:11 Next idalarmcra = 384970 02/06 17:35:11 DownloadVideos::DownloadVideoOfAlarm 02/06 17:35:11 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 17:35:11 SAM|23006 02/06 17:35:12 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173500_100.mp4|111658| 02/06 17:35:12 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173500_100.mp4 02/06 17:35:12 Date = 20190602 02/06 17:35:12 Construct from filename date 02/06 17:35:12 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173500_100.mp4 02/06 17:35:12 Destination file not found 02/06 17:35:12 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173500_100.mp4 02/06 17:35:12 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173500_100.mp4 02/06 17:35:14 DownloadFile ok... checking file destination 02/06 17:35:14 URLDownloadToFile ok 02/06 17:35:14 Video .sig downloaded ok! 02/06 17:35:14 Snapshot .sig downloaded ok! 02/06 17:35:14 Elapsed download time: 00:00:03 02/06 17:35:14 UpdateVideoname 02/06 17:35:14 Updating: idalarmcra = 384970 02/06 17:35:14 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384970 ORDER BY IDALARMCRA DESC 02/06 17:35:14 Just before Update() 02/06 17:35:24 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:35:24 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 24) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:35:24 Alarms with pending videos found! 02/06 17:35:24 Next idalarmcra = 384971 02/06 17:35:24 DownloadVideos::DownloadVideoOfAlarm 02/06 17:35:25 [D] Query(13ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:35:25 SAM|1261 02/06 17:35:25 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_173430_472.mp4|100258| 02/06 17:35:25 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_173430_472.mp4 02/06 17:35:25 Date = 20190602 02/06 17:35:25 Construct from filename date 02/06 17:35:25 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_173430_472.mp4 02/06 17:35:25 Destination file not found 02/06 17:35:25 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_173430_472.mp4 02/06 17:35:25 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_173430_472.mp4 02/06 17:35:25 DownloadFile ok... checking file destination 02/06 17:35:25 URLDownloadToFile ok 02/06 17:35:25 Video .sig downloaded ok! 02/06 17:35:26 Snapshot .sig downloaded ok! 02/06 17:35:26 Elapsed download time: 00:00:01 02/06 17:35:26 UpdateVideoname 02/06 17:35:26 Updating: idalarmcra = 384971 02/06 17:35:26 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384971 ORDER BY IDALARMCRA DESC 02/06 17:35:26 Just before Update() 02/06 17:35:36 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:35:36 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:35:36 Alarms with pending videos found! 02/06 17:35:36 Next idalarmcra = 384972 02/06 17:35:36 DownloadVideos::DownloadVideoOfAlarm 02/06 17:35:36 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 41 02/06 17:35:36 SAM|3017 02/06 17:35:36 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SOMA_A_Cam3_Event2_20190602_173527_61.mp4|101050| 02/06 17:35:36 FilenameSrc = 20190602\\SiteDGS_VA_SOMA_A_Cam3_Event2_20190602_173527_61.mp4 02/06 17:35:36 Date = 20190602 02/06 17:35:36 Construct from filename date 02/06 17:35:36 Destination: c:\Davantis\CRAServer\\SITE_41\\20190602\\SiteDGS_VA_SOMA_A_Cam3_Event2_20190602_173527_61.mp4 02/06 17:35:36 Destination file not found 02/06 17:35:36 http://192.168.35.100:21000/20190602\\SiteDGS_VA_SOMA_A_Cam3_Event2_20190602_173527_61.mp4 02/06 17:35:36 c:\Davantis\CRAServer\\SITE_41\\20190602\\SiteDGS_VA_SOMA_A_Cam3_Event2_20190602_173527_61.mp4 02/06 17:35:37 DownloadFile ok... checking file destination 02/06 17:35:37 URLDownloadToFile ok 02/06 17:35:38 Video .sig downloaded ok! 02/06 17:35:38 Snapshot .sig downloaded ok! 02/06 17:35:38 Elapsed download time: 00:00:02 02/06 17:35:38 UpdateVideoname 02/06 17:35:38 Updating: idalarmcra = 384972 02/06 17:35:38 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384972 ORDER BY IDALARMCRA DESC 02/06 17:35:38 Just before Update() 02/06 17:35:48 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:35:48 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:35:48 Don't have work. 02/06 17:35:58 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:35:58 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 35 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:35:58 Alarms with pending videos found! 02/06 17:35:58 Next idalarmcra = 384973 02/06 17:35:58 DownloadVideos::DownloadVideoOfAlarm 02/06 17:35:58 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 23 02/06 17:35:58 SAM|10031 02/06 17:35:59 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_173548_248.mp4|103859| 02/06 17:35:59 FilenameSrc = 20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_173548_248.mp4 02/06 17:35:59 Date = 20190602 02/06 17:35:59 Construct from filename date 02/06 17:35:59 Destination: c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_173548_248.mp4 02/06 17:35:59 Destination file not found 02/06 17:35:59 http://192.168.23.100:21000/20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_173548_248.mp4 02/06 17:35:59 c:\Davantis\CRAServer\\SITE_23\\20190602\\SiteDGS_VA_BERGAMA_A_Cam4_Event2_20190602_173548_248.mp4 02/06 17:36:01 DownloadFile ok... checking file destination 02/06 17:36:01 URLDownloadToFile ok 02/06 17:36:01 Video .sig downloaded ok! 02/06 17:36:01 Snapshot .sig downloaded ok! 02/06 17:36:01 Elapsed download time: 00:00:03 02/06 17:36:01 UpdateVideoname 02/06 17:36:01 Updating: idalarmcra = 384973 02/06 17:36:01 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384973 ORDER BY IDALARMCRA DESC 02/06 17:36:01 Just before Update() 02/06 17:36:11 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:36:11 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 11) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:36:11 Don't have work. 02/06 17:36:21 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:36:21 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:36:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:36:31 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:36:31 Alarms with pending videos found! 02/06 17:36:31 Next idalarmcra = 384975 02/06 17:36:31 DownloadVideos::DownloadVideoOfAlarm 02/06 17:36:31 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 17:36:31 SAM|23007 02/06 17:36:32 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173619_101.mp4|109441| 02/06 17:36:32 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173619_101.mp4 02/06 17:36:32 Date = 20190602 02/06 17:36:32 Construct from filename date 02/06 17:36:32 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173619_101.mp4 02/06 17:36:32 Destination file not found 02/06 17:36:32 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173619_101.mp4 02/06 17:36:32 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173619_101.mp4 02/06 17:36:33 DownloadFile ok... checking file destination 02/06 17:36:33 URLDownloadToFile ok 02/06 17:36:34 Video .sig downloaded ok! 02/06 17:36:34 Snapshot .sig downloaded ok! 02/06 17:36:34 Elapsed download time: 00:00:03 02/06 17:36:34 UpdateVideoname 02/06 17:36:34 Updating: idalarmcra = 384975 02/06 17:36:34 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384975 ORDER BY IDALARMCRA DESC 02/06 17:36:34 Just before Update() 02/06 17:36:44 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:36:44 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 44) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:36:44 Don't have work. 02/06 17:36:54 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:36:54 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 36 and DATENAME(second,STARTED) > 54) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 36) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:37:04 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:37:05 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:37:15 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:37:15 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:37:25 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:37:25 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:37:35 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:37:35 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 35) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:37:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:37:45 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:37:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:37:55 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 37 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 37) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:38:05 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:38:05 [D] Query(24ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 5) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:38:15 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:38:15 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 15) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC x02/06 17:38:25 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:38:25 [D] Query(25ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 25) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:38:25 Alarms with pending videos found! 02/06 17:38:25 Next idalarmcra = 384981 02/06 17:38:25 DownloadVideos::DownloadVideoOfAlarm 02/06 17:38:25 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 37 02/06 17:38:25 SAM|2520 02/06 17:38:26 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SALIHLI_A_Cam3_Event2_20190602_173815_12.mp4|112171| 02/06 17:38:26 FilenameSrc = 20190602\\SiteDGS_VA_SALIHLI_A_Cam3_Event2_20190602_173815_12.mp4 02/06 17:38:26 Date = 20190602 02/06 17:38:26 Construct from filename date 02/06 17:38:26 Destination: c:\Davantis\CRAServer\\SITE_37\\20190602\\SiteDGS_VA_SALIHLI_A_Cam3_Event2_20190602_173815_12.mp4 02/06 17:38:26 Destination file not found 02/06 17:38:26 http://192.168.34.100:21000/20190602\\SiteDGS_VA_SALIHLI_A_Cam3_Event2_20190602_173815_12.mp4 02/06 17:38:26 c:\Davantis\CRAServer\\SITE_37\\20190602\\SiteDGS_VA_SALIHLI_A_Cam3_Event2_20190602_173815_12.mp4 02/06 17:38:27 DownloadFile ok... checking file destination 02/06 17:38:27 URLDownloadToFile ok 02/06 17:38:27 Video .sig downloaded ok! 02/06 17:38:27 Snapshot .sig downloaded ok! 02/06 17:38:27 Elapsed download time: 00:00:02 02/06 17:38:28 UpdateVideoname 02/06 17:38:28 Updating: idalarmcra = 384981 02/06 17:38:28 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384981 ORDER BY IDALARMCRA DESC 02/06 17:38:28 Just before Update() 02/06 17:38:38 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:38:38 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:38:38 Don't have work. 02/06 17:38:48 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:38:48 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 48) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:38:58 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:38:58 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 38 and DATENAME(second,STARTED) > 58) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 38) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:39:08 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:39:08 [D] Query(26ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 8) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:39:08 Alarms with pending videos found! 02/06 17:39:08 Next idalarmcra = 384982 02/06 17:39:08 DownloadVideos::DownloadVideoOfAlarm 02/06 17:39:08 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 29 02/06 17:39:08 SAM|163153 02/06 17:39:08 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_175144_18.mp4|109546| 02/06 17:39:08 FilenameSrc = 20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_175144_18.mp4 02/06 17:39:08 Date = 20190602 02/06 17:39:08 Construct from filename date 02/06 17:39:08 Destination: c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_175144_18.mp4 02/06 17:39:08 Destination file not found 02/06 17:39:08 http://192.168.18.100:21000/20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_175144_18.mp4 02/06 17:39:08 c:\Davantis\CRAServer\\SITE_29\\20190602\\SiteDGS_VA_SÖKE_A_Cam4_Event2_20190602_175144_18.mp4 02/06 17:39:10 DownloadFile ok... checking file destination 02/06 17:39:10 URLDownloadToFile ok 02/06 17:39:10 Video .sig downloaded ok! 02/06 17:39:10 Snapshot .sig downloaded ok! 02/06 17:39:10 Elapsed download time: 00:00:02 02/06 17:39:11 UpdateVideoname 02/06 17:39:11 Updating: idalarmcra = 384982 02/06 17:39:11 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384982 ORDER BY IDALARMCRA DESC 02/06 17:39:11 Just before Update() 02/06 17:39:21 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:39:21 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 21) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:39:21 Don't have work. 02/06 17:39:31 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:39:31 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 31) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:39:31 Alarms with pending videos found! 02/06 17:39:31 Next idalarmcra = 384983 02/06 17:39:31 DownloadVideos::DownloadVideoOfAlarm 02/06 17:39:31 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 15 02/06 17:39:31 SAM|23008 02/06 17:39:31 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173919_102.mp4|111594| 02/06 17:39:31 FilenameSrc = 20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173919_102.mp4 02/06 17:39:31 Date = 20190602 02/06 17:39:31 Construct from filename date 02/06 17:39:31 Destination: c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173919_102.mp4 02/06 17:39:31 Destination file not found 02/06 17:39:31 http://192.168.19.100:21000/20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173919_102.mp4 02/06 17:39:31 c:\Davantis\CRAServer\\SITE_15\\20190602\\SiteDGS_VA_ACIPAYAM_A_Cam2_Event2_20190602_173919_102.mp4 02/06 17:39:32 DownloadFile ok... checking file destination 02/06 17:39:32 URLDownloadToFile ok 02/06 17:39:33 Video .sig downloaded ok! 02/06 17:39:33 Snapshot .sig downloaded ok! 02/06 17:39:33 Elapsed download time: 00:00:02 02/06 17:39:33 UpdateVideoname 02/06 17:39:33 Updating: idalarmcra = 384983 02/06 17:39:33 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384983 ORDER BY IDALARMCRA DESC 02/06 17:39:33 Just before Update() 02/06 17:39:43 [D] Query(4ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:39:43 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 43) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:39:43 Alarms with pending videos found! 02/06 17:39:43 Next idalarmcra = 384984 02/06 17:39:43 DownloadVideos::DownloadVideoOfAlarm 02/06 17:39:43 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:39:43 SAM|1262 02/06 17:39:43 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_173847_473.mp4|109086| 02/06 17:39:43 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_173847_473.mp4 02/06 17:39:43 Date = 20190602 02/06 17:39:43 Construct from filename date 02/06 17:39:43 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_173847_473.mp4 02/06 17:39:43 Destination file not found 02/06 17:39:43 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_173847_473.mp4 02/06 17:39:43 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam1_Event2_20190602_173847_473.mp4 02/06 17:39:46 DownloadFile ok... checking file destination 02/06 17:39:46 URLDownloadToFile ok 02/06 17:39:46 Video .sig downloaded ok! 02/06 17:39:47 Snapshot .sig downloaded ok! 02/06 17:39:47 Elapsed download time: 00:00:04 02/06 17:39:47 UpdateVideoname 02/06 17:39:47 Updating: idalarmcra = 384984 02/06 17:39:47 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384984 ORDER BY IDALARMCRA DESC 02/06 17:39:47 Just before Update() 02/06 17:39:57 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:39:57 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 39 and DATENAME(second,STARTED) > 57) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 39) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:39:57 Don't have work. 02/06 17:40:07 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:40:07 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 7) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:40:17 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:40:18 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 18) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:40:28 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:40:28 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 28) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:40:28 Alarms with pending videos found! 02/06 17:40:28 Next idalarmcra = 384988 02/06 17:40:28 DownloadVideos::DownloadVideoOfAlarm 02/06 17:40:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:40:28 SAM|1646 02/06 17:40:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: NOK| 02/06 17:40:28 NOK answer received 02/06 17:40:28 UpdateVideoname 02/06 17:40:28 Updating: idalarmcra = 384988 02/06 17:40:28 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384988 ORDER BY IDALARMCRA DESC 02/06 17:40:28 Just before Update() 02/06 17:40:28 Next idalarmcra = 384987 02/06 17:40:28 DownloadVideos::DownloadVideoOfAlarm 02/06 17:40:28 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:40:28 SAM|1645 02/06 17:40:28 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_174016_246.mp4|107429| 02/06 17:40:28 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_174016_246.mp4 02/06 17:40:28 Date = 20190602 02/06 17:40:28 Construct from filename date 02/06 17:40:28 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_174016_246.mp4 02/06 17:40:28 Destination file not found 02/06 17:40:28 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_174016_246.mp4 02/06 17:40:28 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam1_Event2_20190602_174016_246.mp4 02/06 17:40:35 DownloadFile ok... checking file destination 02/06 17:40:35 URLDownloadToFile ok 02/06 17:40:35 Video .sig downloaded ok! 02/06 17:40:35 Snapshot .sig downloaded ok! 02/06 17:40:35 Elapsed download time: 00:00:07 02/06 17:40:35 UpdateVideoname 02/06 17:40:35 Updating: idalarmcra = 384987 02/06 17:40:35 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384987 ORDER BY IDALARMCRA DESC 02/06 17:40:35 Just before Update() 02/06 17:40:45 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:40:45 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 45) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:40:45 Don't have work. 02/06 17:40:55 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:40:55 [D] Query(23ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 40 and DATENAME(second,STARTED) > 55) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:40:55 Alarms with pending videos found! 02/06 17:40:55 Next idalarmcra = 384990 02/06 17:40:55 DownloadVideos::DownloadVideoOfAlarm 02/06 17:40:55 [D] Query(12ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 46 02/06 17:40:55 SAM|875 02/06 17:40:55 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_174045_4.mp4|110812| 02/06 17:40:55 FilenameSrc = 20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_174045_4.mp4 02/06 17:40:55 Date = 20190602 02/06 17:40:55 Construct from filename date 02/06 17:40:55 Destination: c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_174045_4.mp4 02/06 17:40:55 Destination file not found 02/06 17:40:55 http://5.26.219.116:21001/20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_174045_4.mp4 02/06 17:40:55 c:\Davantis\CRAServer\\SITE_46\\20190602\\SiteUSAK_DGS_VA_B_Cam1_Event2_20190602_174045_4.mp4 02/06 17:40:56 DownloadFile ok... checking file destination 02/06 17:40:56 URLDownloadToFile ok 02/06 17:40:56 Video .sig downloaded ok! 02/06 17:40:56 Snapshot .sig downloaded ok! 02/06 17:40:56 Elapsed download time: 00:00:01 02/06 17:40:56 UpdateVideoname 02/06 17:40:56 Updating: idalarmcra = 384990 02/06 17:40:56 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384990 ORDER BY IDALARMCRA DESC 02/06 17:40:56 Just before Update() 02/06 17:41:06 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:41:06 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 6) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:41:06 Alarms with pending videos found! 02/06 17:41:06 Next idalarmcra = 384991 02/06 17:41:06 DownloadVideos::DownloadVideoOfAlarm 02/06 17:41:06 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 45 02/06 17:41:06 SAM|1647 02/06 17:41:06 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_174052_267.mp4|105595| 02/06 17:41:07 FilenameSrc = 20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_174052_267.mp4 02/06 17:41:07 Date = 20190602 02/06 17:41:07 Construct from filename date 02/06 17:41:07 Destination: c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_174052_267.mp4 02/06 17:41:07 Destination file not found 02/06 17:41:07 http://5.26.219.116:21000/20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_174052_267.mp4 02/06 17:41:07 c:\Davantis\CRAServer\\SITE_45\\20190602\\SiteDgs_Usak_VA_A_Cam4_Event2_20190602_174052_267.mp4 02/06 17:41:10 DownloadFile ok... checking file destination 02/06 17:41:10 URLDownloadToFile ok 02/06 17:41:10 Video .sig downloaded ok! 02/06 17:41:10 Snapshot .sig downloaded ok! 02/06 17:41:10 Elapsed download time: 00:00:04 02/06 17:41:10 UpdateVideoname 02/06 17:41:10 Updating: idalarmcra = 384991 02/06 17:41:10 [D] Query(2ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384991 ORDER BY IDALARMCRA DESC 02/06 17:41:10 Just before Update() 02/06 17:41:20 [D] Query(6ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:41:20 [D] Query(26ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 20) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:41:20 Don't have work. 02/06 17:41:30 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:41:30 [D] Query(25ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 30) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC .02/06 17:41:40 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:41:40 [D] Query(24ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 40) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:41:40 Alarms with pending videos found! 02/06 17:41:40 Next idalarmcra = 384995 02/06 17:41:40 DownloadVideos::DownloadVideoOfAlarm 02/06 17:41:40 [D] Query(11ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE IDSITE = 48 02/06 17:41:40 SAM|1263 02/06 17:41:40 [DAVCOMM] - Sending msg - message sent... waiting answer - message received: OK |20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_174048_104.mp4|109786| 02/06 17:41:41 FilenameSrc = 20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_174048_104.mp4 02/06 17:41:41 Date = 20190602 02/06 17:41:41 Construct from filename date 02/06 17:41:41 Destination: c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_174048_104.mp4 02/06 17:41:41 Destination file not found 02/06 17:41:41 http://5.26.113.26:21001/20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_174048_104.mp4 02/06 17:41:41 c:\Davantis\CRAServer\\SITE_48\\20190602\\SiteGEDIZ_DGS_VA_B_Cam3_Event2_20190602_174048_104.mp4 02/06 17:41:41 DownloadFile ok... checking file destination 02/06 17:41:41 URLDownloadToFile ok 02/06 17:41:41 Video .sig downloaded ok! 02/06 17:41:42 Snapshot .sig downloaded ok! 02/06 17:41:42 Elapsed download time: 00:00:02 02/06 17:41:42 UpdateVideoname 02/06 17:41:42 Updating: idalarmcra = 384995 02/06 17:41:42 [D] Query(3ms)[1 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE idalarmcra = 384995 ORDER BY IDALARMCRA DESC 02/06 17:41:42 Just before Update() 02/06 17:41:52 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1 02/06 17:41:52 [D] Query(23ms)[0 rows] = SELECT "IDALARMCRA","IDDISPOSITION","IDUSER","IDEVENT","IDSITE","IDALARM","IPORIGIN","PORTORIGIN","CAMCODE","DESCRIPTION","STARTED","ENDED","SEVERITY","STATE","VIDEONAME","SNAPSHOT","IDMACHINE","IDRULE","IDCAMERA","ACK","RESOLUTION","DATEOPEN","DATECLOSE","FEATURES","DATECRAOK","VIDEOFILESIZE","TRANSMSEC","BBOX","IDMAIL","VIDEONAMESUP","MACHINENAMESUP","VIDEOFILESIZESUP" FROM "dbo"."ALARMSOPEN" WHERE ((VIDEONAME IS NULL) OR (VIDEONAMESUP = 'YES'))AND IDEVENT <> 0 AND IDSITE IN (3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,54) AND ((year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) = 41 and DATENAME(second,STARTED) > 52) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) = 16 and DATENAME(minute,STARTED) > 41) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) = 2 and DATENAME(hour,STARTED) > 16) or (year(STARTED) = 2019 and month(STARTED) = 6 and day(STARTED) > 2) or (year(STARTED) = 2019 and month(STARTED) > 6) or (year(STARTED) > 2019)) ORDER BY IDALARMCRA DESC 02/06 17:41:52 Don't have work. 02/06 17:42:02 [D] Query(5ms)[1 rows] = SELECT "IDSITE","SITENAME","IP","PORT","MAP","HEARTBEAT","FTPPORT","PASSWORD","MESSAGE","MESSAGESTATE","DATESTART","DATEEND","SITECODE","IDINSTALLER","DNI","ADDRESS","POSTALCODE","CITY","COMMENT","SITESTARTDATE","SITESTOPDATE","LAUNCHEVENT","COMMENTRELE1","COMMENTRELE2","COMMENTRELE3","COMMENTRELE4","EVENTTYPE","COMMENTLIGHT","COMMENTSOUND","COMMENTWATER","COMMENTOTHER","VERSION","VNCPORT","VNCPWD","CONNECTED","EMAIL","WEBLOGIN","WEBPWD","IDSCHEDULER","TYPE","PRODUCT","ENABLE_AGAIN","WNOTARMED","AUDIOPORT","MESSAGEPOPUP","LASTBACKUPTIME","RECORDERHTTP","VIDEOFORMAT","AUTODOWNLOADVIDEOS","UPDATEIP","LASTIPTIME" FROM "dbo"."SITES" WHERE AUTODOWNLOADVIDEOS = 1